Browse Source

Bump required KDE version to 4.0.0.
Update some more icon names:
* view-tree -> view-list-tree
* edit-add -> list-add
* fileview-text -> view-list-text


git-svn-id: file:///var/svn/tigccpp/trunk@1240 9552661e-59e3-4036-b4f2-dbe53926924f

kevinkofler 16 years ago
parent
commit
4f5551a778
5 changed files with 20 additions and 16 deletions
  1. 3 2
      ktigcc/INSTALL
  2. 2 2
      ktigcc/NEWS
  3. 5 2
      ktigcc/fedora/ktigcc.spec
  4. 6 6
      ktigcc/mainform.cpp
  5. 4 4
      ktigcc/srcfilewin.cpp

+ 3 - 2
ktigcc/INSTALL

@@ -15,7 +15,8 @@ WARNING: This section is ONLY for Fedora 7 (and possibly later versions, though
         qt4-doc (for the Qt Assistant help file viewer)
         ctags (to locate C functions/prototypes)
         kdelibs4 (obviously) and kdebase4 (required for some features), as well
-        as kdepimlibs (required by kdebase4), version 3.96.2
+        as kdepimlibs and kdebase-runtime (required by kdebase4), version 4.0.0
+        or higher
         These can be installed with:
         yum install kdebase4 qt4-doc ctags
    1.2. The following RPMs packaged by me are required:
@@ -41,7 +42,7 @@ B. Installing KTIGCC from source
 1. Obtain and install the required prerequisites:
    glib2 (*)
    Qt 4 (*) (NOT Qt 3)
-   kdelibs from KDE 4, version 3.96.2 (*) (NOT KDE 3)
+   kdelibs from KDE 4, version 4.0.0 or higher (*) (NOT KDE 3)
    kdebase from KDE 4 (should be the same version as kdelibs)
    Qt 4 Assistant (often included in qt4, qt4-doc or qt4-devel packages)
    pkg-config

+ 2 - 2
ktigcc/NEWS

@@ -1,11 +1,11 @@
 This is a summary of the changes in KTIGCC since the first alpha release:
 
-CVS HEAD (2007-12-03):
+CVS HEAD (2008-01-15):
 
 * Added a full changelog (generated from CVS logs).
 * Fixed stray indentation at the end of the line when autoclosing a curly brace
   as ENTER is pressed.
-* Ported to KDE 3.96.2.
+* Ported to KDE 4.0.0.
 * Fixed highlighting update when moving a file to Header Files from another
   editable category. (The first character was read from the wrong buffer.)
 * Fixed extra newline incorrectly added each time a file is saved.

+ 5 - 2
ktigcc/fedora/ktigcc.spec

@@ -6,8 +6,8 @@ Packager: Kevin Kofler <Kevin@tigcc.ticalc.org>
 Source: %{name}-%{version}.tar.bz2
 Group: Development/Tools
 License: GPLv2+
-BuildRequires: qt4-devel >= 4.2.0 kdelibs4-devel >= 3.96.2 glib2-devel >= 2.10.0 libticonv-devel >= 20060723 libticables2-devel >= 20060723 libtifiles2-devel >= 20060723 libticalcs2-devel >= 20060723 desktop-file-utils >= 0.10
-Requires: kdelibs4 >= 3.96.2 kdebase4 >= 3.96.2 tigcc >= 1:0.96b07r1 ktigcc-completion-data >= 0.96b07r1 qt4-doc ctags
+BuildRequires: qt4-devel >= 4.2.0 kdelibs4-devel >= 4.0.0 glib2-devel >= 2.10.0 libticonv-devel >= 20060723 libticables2-devel >= 20060723 libtifiles2-devel >= 20060723 libticalcs2-devel >= 20060723 desktop-file-utils >= 0.10
+Requires: kdelibs4 >= 4.0.0 kdebase4 >= 4.0.0 tigcc >= 1:0.96b07r1 ktigcc-completion-data >= 0.96b07r1 qt4-doc ctags
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Summary: KTIGCC is an IDE for TIGCC using KDE
 %description
@@ -116,6 +116,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc %{_datadir}/doc/ktigcc
 
 %changelog
+* Tue Jan 15 2007 Kevin Kofler <Kevin@tigcc.ticalc.org>
+Require kdelibs >= 4.0.0.
+
 * Mon Dec 3 2007 Kevin Kofler <Kevin@tigcc.ticalc.org>
 Require kdelibs >= 3.96.2.
 

+ 6 - 6
ktigcc/mainform.cpp

@@ -1208,7 +1208,7 @@ MainForm::MainForm(QWidget* parent, const char* name, Qt::WindowFlags fl)
     editCutAction->setIcon(KIcon("edit-cut"));
     editCopyAction->setIcon(KIcon("edit-copy"));
     editPasteAction->setIcon(KIcon("edit-paste"));
-    projectAddFilesAction->setIcon(KIcon("edit-add"));
+    projectAddFilesAction->setIcon(KIcon("list-add"));
     projectCompileAction->setIcon(KIcon("run-build-file"));
     projectMakeAction->setIcon(KIcon("run-build"));
     projectBuildAction->setIcon(KIcon("view-refresh"));
@@ -1217,10 +1217,10 @@ MainForm::MainForm(QWidget* parent, const char* name, Qt::WindowFlags fl)
     helpSearchAction->setIcon(KIcon("system-search"));
     findFindAction->setIcon(KIcon("edit-find"));
     findReplaceAction->setIcon(KIcon("edit-find-replace"));
-    helpIndexAction->setIcon(KIcon("fileview-text"));
+    helpIndexAction->setIcon(KIcon("view-list-text"));
     editUndoAction->setIcon(KIcon("edit-undo"));
     editRedoAction->setIcon(KIcon("edit-redo"));
-    findFunctionsAction->setIcon(KIcon("view-tree"));
+    findFunctionsAction->setIcon(KIcon("view-list-tree"));
     editIncreaseIndentAction->setIcon(KIcon("format-indent-more"));
     editDecreaseIndentAction->setIcon(KIcon("format-indent-less"));
     projectStopCompilationAction->setIcon(KIcon("process-stop"));
@@ -2693,7 +2693,7 @@ void MainForm::filePreferences()
       editCutAction->setIcon(KIcon("edit-cut"));
       editCopyAction->setIcon(KIcon("edit-copy"));
       editPasteAction->setIcon(KIcon("edit-paste"));
-      projectAddFilesAction->setIcon(KIcon("edit-add"));
+      projectAddFilesAction->setIcon(KIcon("list-add"));
       projectCompileAction->setIcon(KIcon("run-build-file"));
       projectMakeAction->setIcon(KIcon("run-build"));
       projectBuildAction->setIcon(KIcon("view-refresh"));
@@ -2702,10 +2702,10 @@ void MainForm::filePreferences()
       helpSearchAction->setIcon(KIcon("system-search"));
       findFindAction->setIcon(KIcon("edit-find"));
       findReplaceAction->setIcon(KIcon("edit-find-replace"));
-      helpIndexAction->setIcon(KIcon("fileview-text"));
+      helpIndexAction->setIcon(KIcon("view-list-text"));
       editUndoAction->setIcon(KIcon("edit-undo"));
       editRedoAction->setIcon(KIcon("edit-redo"));
-      findFunctionsAction->setIcon(KIcon("view-tree"));
+      findFunctionsAction->setIcon(KIcon("view-list-tree"));
       editIncreaseIndentAction->setIcon(KIcon("format-indent-more"));
       editDecreaseIndentAction->setIcon(KIcon("format-indent-less"));
       projectStopCompilationAction->setIcon(KIcon("process-stop"));

+ 4 - 4
ktigcc/srcfilewin.cpp

@@ -277,7 +277,7 @@ SourceFileWindow::SourceFileWindow(MainForm *mainfrm, const QString &fn,
     int toolbarIconSize=KIconLoader().currentSize(KIconLoader::MainToolbar);
     setIconSize(QSize(toolbarIconSize,toolbarIconSize));
     fileSaveAction->setIcon(KIcon("document-save"));
-    fileAddToProjectAction->setIcon(KIcon("edit-add"));
+    fileAddToProjectAction->setIcon(KIcon("list-add"));
     fileCompileAction->setIcon(KIcon("run-build-file"));
     filePrintAction->setIcon(KIcon("document-print"));
     filePrintQuicklyAction->setIcon(KIcon("document-print"));
@@ -289,7 +289,7 @@ SourceFileWindow::SourceFileWindow(MainForm *mainfrm, const QString &fn,
     findReplaceAction->setIcon(KIcon("edit-find-replace"));
     editUndoAction->setIcon(KIcon("edit-undo"));
     editRedoAction->setIcon(KIcon("edit-redo"));
-    findFunctionsAction->setIcon(KIcon("view-tree"));
+    findFunctionsAction->setIcon(KIcon("view-list-tree"));
     editIncreaseIndentAction->setIcon(KIcon("format-indent-more"));
     editDecreaseIndentAction->setIcon(KIcon("format-indent-less"));
   }
@@ -672,7 +672,7 @@ void SourceFileWindow::applyPreferences()
     int toolbarIconSize=KIconLoader().currentSize(KIconLoader::MainToolbar);
     setIconSize(QSize(toolbarIconSize,toolbarIconSize));
     fileSaveAction->setIcon(KIcon("document-save"));
-    fileAddToProjectAction->setIcon(KIcon("edit-add"));
+    fileAddToProjectAction->setIcon(KIcon("list-add"));
     fileCompileAction->setIcon(KIcon("run-build-file"));
     filePrintAction->setIcon(KIcon("document-print"));
     filePrintQuicklyAction->setIcon(KIcon("document-print"));
@@ -684,7 +684,7 @@ void SourceFileWindow::applyPreferences()
     findReplaceAction->setIcon(KIcon("edit-find-replace"));
     editUndoAction->setIcon(KIcon("edit-undo"));
     editRedoAction->setIcon(KIcon("edit-redo"));
-    findFunctionsAction->setIcon(KIcon("view-tree"));
+    findFunctionsAction->setIcon(KIcon("view-list-tree"));
     editIncreaseIndentAction->setIcon(KIcon("format-indent-more"));
     editDecreaseIndentAction->setIcon(KIcon("format-indent-less"));
   } else {