[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/fileview
From:       Stephan Binner <binner () kde ! org>
Date:       2004-05-16 8:09:28
Message-ID: 20040516080928.AD8BC900E () office ! kde ! org
[Download RAW message or body]

CVS commit by binner: 

setCheckedState++


  M +6 -2      filegroupswidget.cpp   1.28
  M +8 -4      filetreeviewwidgetimpl.cpp   1.3
  M +4 -0      vcsfiletreewidgetimpl.cpp   1.7


--- kdevelop/parts/fileview/filegroupswidget.cpp  #1.27:1.28
@@ -25,4 +25,5 @@
 #include <kpopupmenu.h>
 #include <kaction.h>
+#include <kdeversion.h>
 
 #include "kdevcore.h"
@@ -177,4 +178,7 @@ FileGroupsWidget::FileGroupsWidget(FileG
     m_actionToggleShowNonProjectFiles = new KToggleAction( i18n("Show Non Project \
                Files"), KShortcut(),
         this, SLOT(slotToggleShowNonProjectFiles()), this, \
"actiontoggleshowshownonprojectfiles" ); +#if KDE_IS_VERSION(3,2,90)
+    m_actionToggleShowNonProjectFiles->setCheckedState(i18n("Hide Non Project \
Files")); +#endif
     m_actionToggleShowNonProjectFiles->setWhatsThis(i18n("<b>Show non project \
files</b><p>Shows files that do not belong to a project in a file tree."));  

--- kdevelop/parts/fileview/filetreeviewwidgetimpl.cpp  #1.2:1.3
@@ -14,4 +14,5 @@
 #include <kaction.h>
 #include <klocale.h>
+#include <kdeversion.h>
 
 #include <kdevproject.h>
@@ -38,4 +39,7 @@ FileTreeViewWidgetImpl::FileTreeViewWidg
     m_actionToggleShowNonProjectFiles = new KToggleAction( i18n("Show Non Project \
                Files"), KShortcut(),
         this, SLOT(slotToggleShowNonProjectFiles()), this, \
"actiontoggleshowshownonprojectfiles" ); +#if KDE_IS_VERSION(3,2,90)
+    m_actionToggleShowNonProjectFiles->setCheckedState(i18n("Hide Non Project \
Files")); +#endif
     m_actionToggleShowNonProjectFiles->setWhatsThis(i18n("<b>Show non project \
files</b><p>Shows files that do not belong to a project in a file tree."));  

--- kdevelop/parts/fileview/vcsfiletreewidgetimpl.cpp  #1.6:1.7
@@ -16,4 +16,5 @@
 #include <klocale.h>
 #include <kdebug.h>
+#include <kdeversion.h>
 
 #include <kdevvcsfileinfoprovider.h>
@@ -205,4 +206,7 @@ VCSFileTreeWidgetImpl::VCSFileTreeWidget
     m_actionToggleShowVCSFields = new KToggleAction( i18n("Show VCS Fields"), \
KShortcut(),  this, "actiontoggleshowvcsfieldstoggleaction" );
+#if KDE_IS_VERSION(3,2,90)
+    m_actionToggleShowVCSFields->setCheckedState(i18n("Hide VCS Fields"));
+#endif
     QString aboutAction = i18n("<b>Show VCS fields</b><p>Shows <b>Revision</b> and \
<b>Timestamp</b> for each file contained in VCS repository.");  \
m_actionToggleShowVCSFields->setWhatsThis( aboutAction );


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic