diff options
Diffstat (limited to 'parts/fileview')
-rw-r--r-- | parts/fileview/filegroupswidget.cpp | 14 | ||||
-rw-r--r-- | parts/fileview/filegroupswidget.h | 8 | ||||
-rw-r--r-- | parts/fileview/filetreeviewwidgetimpl.cpp | 2 | ||||
-rw-r--r-- | parts/fileview/filetreeviewwidgetimpl.h | 4 | ||||
-rw-r--r-- | parts/fileview/filetreewidget.cpp | 8 | ||||
-rw-r--r-- | parts/fileview/filetreewidget.h | 2 | ||||
-rw-r--r-- | parts/fileview/vcsfiletreewidgetimpl.cpp | 4 | ||||
-rw-r--r-- | parts/fileview/vcsfiletreewidgetimpl.h | 8 |
8 files changed, 25 insertions, 25 deletions
diff --git a/parts/fileview/filegroupswidget.cpp b/parts/fileview/filegroupswidget.cpp index e0222eb5..d1629d1e 100644 --- a/parts/fileview/filegroupswidget.cpp +++ b/parts/fileview/filegroupswidget.cpp @@ -152,7 +152,7 @@ FileGroupsFileItem::FileGroupsFileItem(TQListViewItem *parent, const TQString &f } FileGroupsWidget::FileGroupsWidget(FileGroupsPart *part) - : KListView(0, "file view widget"), + : TDEListView(0, "file view widget"), m_actionToggleShowNonProjectFiles( 0 ), m_actionToggleDisplayLocation( 0 ) { /* @@ -175,15 +175,15 @@ FileGroupsWidget::FileGroupsWidget(FileGroupsPart *part) this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) ); connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)), this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) ); - connect( this, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)), - this, TQT_SLOT(slotContextMenu(KListView*, TQListViewItem*, const TQPoint&)) ); + connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)), + this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) ); - m_actionToggleShowNonProjectFiles = new KToggleAction( i18n("Show Non Project Files"), KShortcut(), + m_actionToggleShowNonProjectFiles = new TDEToggleAction( i18n("Show Non Project Files"), TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotToggleShowNonProjectFiles()), TQT_TQOBJECT(this), "actiontoggleshowshownonprojectfiles" ); m_actionToggleShowNonProjectFiles->setCheckedState(i18n("Hide Non Project Files")); m_actionToggleShowNonProjectFiles->setWhatsThis(i18n("<b>Show non project files</b><p>Shows files that do not belong to a project in a file tree.")); - m_actionToggleDisplayLocation = new KToggleAction( i18n("Display Location Column"), KShortcut(), + m_actionToggleDisplayLocation = new TDEToggleAction( i18n("Display Location Column"), TDEShortcut(), TQT_TQOBJECT(this), TQT_SLOT(slotToggleDisplayLocation()), TQT_TQOBJECT(this), "actiontoggleshowlocation" ); m_actionToggleDisplayLocation->setWhatsThis(i18n("<b>Display the Location Column</b><p>Displays a column with the location of the files.")); @@ -222,9 +222,9 @@ void FileGroupsWidget::slotItemExecuted(TQListViewItem *item) } -void FileGroupsWidget::slotContextMenu(KListView *, TQListViewItem *item, const TQPoint &p) +void FileGroupsWidget::slotContextMenu(TDEListView *, TQListViewItem *item, const TQPoint &p) { - KPopupMenu popup(this); + TDEPopupMenu popup(this); popup.insertTitle(i18n("File Groups")); /// @todo Add, remove groups int customizeId = popup.insertItem(i18n("Customize...")); diff --git a/parts/fileview/filegroupswidget.h b/parts/fileview/filegroupswidget.h index 7e0a4204..355c9662 100644 --- a/parts/fileview/filegroupswidget.h +++ b/parts/fileview/filegroupswidget.h @@ -18,7 +18,7 @@ class FileGroupsPart; class KDevProject; -class FileGroupsWidget : public KListView +class FileGroupsWidget : public TDEListView { Q_OBJECT @@ -34,7 +34,7 @@ public slots: private slots: void slotItemExecuted(TQListViewItem *item); - void slotContextMenu(KListView *, TQListViewItem *item, const TQPoint &p); + void slotContextMenu(TDEListView *, TQListViewItem *item, const TQPoint &p); void slotToggleShowNonProjectFiles(); void slotToggleDisplayLocation(); @@ -46,8 +46,8 @@ private: TQStringList allFilesRecursively( TQString const & ); FileGroupsPart *m_part; - class KToggleAction *m_actionToggleShowNonProjectFiles; - class KToggleAction *m_actionToggleDisplayLocation; + class TDEToggleAction *m_actionToggleShowNonProjectFiles; + class TDEToggleAction *m_actionToggleDisplayLocation; int LocationID; }; diff --git a/parts/fileview/filetreeviewwidgetimpl.cpp b/parts/fileview/filetreeviewwidgetimpl.cpp index f1b557f2..044055cb 100644 --- a/parts/fileview/filetreeviewwidgetimpl.cpp +++ b/parts/fileview/filetreeviewwidgetimpl.cpp @@ -37,7 +37,7 @@ FileTreeViewWidgetImpl::FileTreeViewWidgetImpl( FileTreeWidget *parent, const ch kdDebug(9017) << "FileTreeViewWidgetImpl::FileTreeViewWidgetImpl()" << endl; // Actions - m_actionToggleShowNonProjectFiles = new KToggleAction( i18n("Show Non Project Files"), KShortcut(), + m_actionToggleShowNonProjectFiles = new TDEToggleAction( i18n("Show Non Project Files"), TDEShortcut(), this, TQT_SLOT(slotToggleShowNonProjectFiles()), this, "actiontoggleshowshownonprojectfiles" ); m_actionToggleShowNonProjectFiles->setCheckedState(i18n("Hide Non Project Files")); m_actionToggleShowNonProjectFiles->setWhatsThis(i18n("<b>Show non project files</b><p>Shows files that do not belong to a project in a file tree.")); diff --git a/parts/fileview/filetreeviewwidgetimpl.h b/parts/fileview/filetreeviewwidgetimpl.h index 6cee53f8..bca8b1cd 100644 --- a/parts/fileview/filetreeviewwidgetimpl.h +++ b/parts/fileview/filetreeviewwidgetimpl.h @@ -28,7 +28,7 @@ namespace filetreeview } class FileViewPart; class TQHeader; -class KToggleAction; +class TDEToggleAction; class TQPopupMenu; /** @@ -100,7 +100,7 @@ private: bool m_isReloadingTree; - KToggleAction *m_actionToggleShowNonProjectFiles; + TDEToggleAction *m_actionToggleShowNonProjectFiles; }; #endif diff --git a/parts/fileview/filetreewidget.cpp b/parts/fileview/filetreewidget.cpp index 904f3710..caa43466 100644 --- a/parts/fileview/filetreewidget.cpp +++ b/parts/fileview/filetreewidget.cpp @@ -72,8 +72,8 @@ FileTreeWidget::FileTreeWidget( FileViewPart *part, TQWidget *parent, KDevVCSFil // Slot connections connect( this, TQT_SIGNAL(executed(TQListViewItem*)), this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) ); connect( this, TQT_SIGNAL(returnPressed(TQListViewItem*)), this, TQT_SLOT(slotItemExecuted(TQListViewItem*)) ); - connect( this, TQT_SIGNAL(contextMenu(KListView*, TQListViewItem*, const TQPoint&)), - this, TQT_SLOT(slotContextMenu(KListView*, TQListViewItem*, const TQPoint&)) ); + connect( this, TQT_SIGNAL(contextMenu(TDEListView*, TQListViewItem*, const TQPoint&)), + this, TQT_SLOT(slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&)) ); // Intercepts KDevelop core signals and VCS notifications (if available) connect( m_part->project(), TQT_SIGNAL( activeDirectoryChanged( const TQString&, const TQString& ) ), this, TQT_SLOT( changeActiveDirectory( const TQString&, const TQString& ) ) ); @@ -199,11 +199,11 @@ void FileTreeWidget::slotItemExecuted( TQListViewItem* item ) /////////////////////////////////////////////////////////////////////////////// -void FileTreeWidget::slotContextMenu( KListView *, TQListViewItem* item, const TQPoint &p ) +void FileTreeWidget::slotContextMenu( TDEListView *, TQListViewItem* item, const TQPoint &p ) { kdDebug(9017) << "FileTreeWidget::slotContextMenu(...)" << endl; - KPopupMenu popup( this ); + TDEPopupMenu popup( this ); popup.insertTitle( i18n("File Tree") ); // If an item is selected, fill the file context with selected files' list diff --git a/parts/fileview/filetreewidget.h b/parts/fileview/filetreewidget.h index 5d844aa5..d43da13f 100644 --- a/parts/fileview/filetreewidget.h +++ b/parts/fileview/filetreewidget.h @@ -72,7 +72,7 @@ public slots: private slots: void slotItemExecuted(TQListViewItem *item); - void slotContextMenu(KListView *, TQListViewItem *item, const TQPoint &p); + void slotContextMenu(TDEListView *, TQListViewItem *item, const TQPoint &p); void changeActiveDirectory( const TQString&, const TQString& ); void finishPopulate(KFileTreeViewItem* item); diff --git a/parts/fileview/vcsfiletreewidgetimpl.cpp b/parts/fileview/vcsfiletreewidgetimpl.cpp index 780ccf9f..a644c9d1 100644 --- a/parts/fileview/vcsfiletreewidgetimpl.cpp +++ b/parts/fileview/vcsfiletreewidgetimpl.cpp @@ -203,14 +203,14 @@ VCSFileTreeWidgetImpl::VCSFileTreeWidgetImpl( FileTreeWidget *parent, KDevVCSFil // Harakiri itself if the infoProvider object is destroyed since we cannot work anymore :-( connect( m_vcsInfoProvider, TQT_SIGNAL(destroyed()), TQT_SIGNAL(implementationInvalidated()) ); - m_actionToggleShowVCSFields = new KToggleAction( i18n("Show VCS Fields"), KShortcut(), + m_actionToggleShowVCSFields = new TDEToggleAction( i18n("Show VCS Fields"), TDEShortcut(), this, "actiontoggleshowvcsfieldstoggleaction" ); m_actionToggleShowVCSFields->setCheckedState(i18n("Hide VCS Fields")); TQString 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 ); connect( m_actionToggleShowVCSFields, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(slotToggleShowVCSFields(bool)) ); - m_actionSyncWithRepository = new KAction( i18n( "Sync with Repository"), KShortcut(), + m_actionSyncWithRepository = new TDEAction( i18n( "Sync with Repository"), TDEShortcut(), this, TQT_SLOT(slotSyncWithRepository()), this, "actionsyncwithrepository" ); aboutAction = i18n("<b>Sync with repository</b><p>Synchronize file status with remote repository."); m_actionSyncWithRepository->setWhatsThis( aboutAction ); diff --git a/parts/fileview/vcsfiletreewidgetimpl.h b/parts/fileview/vcsfiletreewidgetimpl.h index ac8a9d54..00a38b32 100644 --- a/parts/fileview/vcsfiletreewidgetimpl.h +++ b/parts/fileview/vcsfiletreewidgetimpl.h @@ -15,8 +15,8 @@ #include "filetreeviewwidgetimpl.h" class KDevVCSFileInfoProvider; -class KAction; -class KToggleAction; +class TDEAction; +class TDEToggleAction; /** * @author Mario Scalas @@ -56,8 +56,8 @@ private slots: private: bool showVCSFields() const; - KToggleAction *m_actionToggleShowVCSFields; - KAction *m_actionSyncWithRepository; + TDEToggleAction *m_actionToggleShowVCSFields; + TDEAction *m_actionSyncWithRepository; KDevVCSFileInfoProvider *m_vcsInfoProvider; //! We use this guard to avoid enabling the "reload tree" action when performing //! syncing with remote repositories. |