diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 14:59:02 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 14:59:02 -0600 |
commit | 5920e96087707ba892650898521dac63152274f9 (patch) | |
tree | f8c9eba82d742338798e31b9edb7d90aa9c55ce9 /src/gvcore/fileviewcontroller.h | |
parent | 50ccc22eb9b1f32c842956f0207baaf7da8f0f6f (diff) | |
download | gwenview-5920e96087707ba892650898521dac63152274f9.tar.gz gwenview-5920e96087707ba892650898521dac63152274f9.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/gvcore/fileviewcontroller.h')
-rw-r--r-- | src/gvcore/fileviewcontroller.h | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/src/gvcore/fileviewcontroller.h b/src/gvcore/fileviewcontroller.h index f1ae23a..df59110 100644 --- a/src/gvcore/fileviewcontroller.h +++ b/src/gvcore/fileviewcontroller.h @@ -37,13 +37,13 @@ class TQIconViewItem; class TQListViewItem; class TQPopupMenu; -class KAccel; -class KAction; -class KActionCollection; +class TDEAccel; +class TDEAction; +class TDEActionCollection; class TDEConfig; -class KListView; -class KRadioAction; -class KToggleAction; +class TDEListView; +class TDERadioAction; +class TDEToggleAction; namespace Gwenview { class FileViewBase; @@ -62,7 +62,7 @@ public: enum Mode { FILE_LIST, THUMBNAIL}; enum FilterMode { ALL, IMAGES_ONLY, VIDEOS_ONLY }; - FileViewController(TQWidget* parent,KActionCollection*); + FileViewController(TQWidget* parent,TDEActionCollection*); ~FileViewController(); // Properties @@ -79,17 +79,17 @@ public: FileViewBase* currentFileView() const; FileThumbnailView* fileThumbnailView() const { return mFileThumbnailView; } - KAction* selectFirst() const { return mSelectFirst; } - KAction* selectLast() const { return mSelectLast; } - KAction* selectPrevious() const { return mSelectPrevious; } - KAction* selectNext() const { return mSelectNext; } - KAction* selectPreviousDir() const { return mSelectPreviousDir; } - KAction* selectNextDir() const { return mSelectNextDir; } - KAction* selectFirstSubDir() const { return mSelectFirstSubDir; } - KRadioAction* listMode() const { return mListMode; } - KRadioAction* sideThumbnailMode() const { return mSideThumbnailMode; } - KRadioAction* bottomThumbnailMode() const { return mBottomThumbnailMode; } - KToggleAction* showDotFiles() const { return mShowDotFiles; } + TDEAction* selectFirst() const { return mSelectFirst; } + TDEAction* selectLast() const { return mSelectLast; } + TDEAction* selectPrevious() const { return mSelectPrevious; } + TDEAction* selectNext() const { return mSelectNext; } + TDEAction* selectPreviousDir() const { return mSelectPreviousDir; } + TDEAction* selectNextDir() const { return mSelectNextDir; } + TDEAction* selectFirstSubDir() const { return mSelectFirstSubDir; } + TDERadioAction* listMode() const { return mListMode; } + TDERadioAction* sideThumbnailMode() const { return mSideThumbnailMode; } + TDERadioAction* bottomThumbnailMode() const { return mBottomThumbnailMode; } + TDEToggleAction* showDotFiles() const { return mShowDotFiles; } KURL::List selectedURLs() const; KURL::List selectedImageURLs() const; @@ -163,7 +163,7 @@ private slots: // These two methods forward the context menu requests from either view to // openContextMenu(const TQPoint&); - void openContextMenu(KListView*, TQListViewItem*, const TQPoint&); + void openContextMenu(TDEListView*, TQListViewItem*, const TQPoint&); void openContextMenu(TQIconViewItem*,const TQPoint&); // Get called by the thumbnail mode actions @@ -204,21 +204,21 @@ private: ImageLoader* mPrefetch; // Our actions - KAction* mSelectFirst; - KAction* mSelectLast; - KAction* mSelectPrevious; - KAction* mSelectNext; - KAction* mSelectPreviousDir; - KAction* mSelectNextDir; - KAction* mSelectFirstSubDir; + TDEAction* mSelectFirst; + TDEAction* mSelectLast; + TDEAction* mSelectPrevious; + TDEAction* mSelectNext; + TDEAction* mSelectPreviousDir; + TDEAction* mSelectNextDir; + TDEAction* mSelectFirstSubDir; - KRadioAction* mListMode; - KRadioAction* mSideThumbnailMode; - KRadioAction* mBottomThumbnailMode; + TDERadioAction* mListMode; + TDERadioAction* mSideThumbnailMode; + TDERadioAction* mBottomThumbnailMode; TQSlider* mSizeSlider; - KToggleAction* mShowDotFiles; + TDEToggleAction* mShowDotFiles; // Temp data used by the dir lister bool mThumbnailsNeedUpdate; |