diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 14:59:02 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 14:59:02 -0600 |
commit | 5920e96087707ba892650898521dac63152274f9 (patch) | |
tree | f8c9eba82d742338798e31b9edb7d90aa9c55ce9 /src/gvcore/imageview.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/imageview.h')
-rw-r--r-- | src/gvcore/imageview.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gvcore/imageview.h b/src/gvcore/imageview.h index 0d9f116..4c1566a 100644 --- a/src/gvcore/imageview.h +++ b/src/gvcore/imageview.h @@ -39,10 +39,10 @@ class TQMouseEvent; class TQPainter; class TQTimer; class TQWheelEvent; -class KAction; -class KActionCollection; -class KToggleAction; -typedef TQValueList<KAction *> KActionPtrList; +class TDEAction; +class TDEActionCollection; +class TDEToggleAction; +typedef TQValueList<TDEAction *> TDEActionPtrList; namespace Gwenview { class Document; @@ -67,7 +67,7 @@ public: enum ZoomMode { ZOOM_FIT, ZOOM_FIT_WIDTH, ZOOM_FIT_HEIGHT, ZOOM_FREE }; typedef TQMap<ToolID,ToolBase*> Tools; - ImageView(TQWidget* parent,Document*,KActionCollection*); + ImageView(TQWidget* parent,Document*,TDEActionCollection*); ~ImageView(); // Properties @@ -148,7 +148,7 @@ private: // Used by the zoom tool TQPoint offset() const; bool canZoom(bool in) const; - KToggleAction* zoomToFit() const; + TDEToggleAction* zoomToFit() const; private slots: void slotLoaded(); |