summaryrefslogtreecommitdiffstats
path: root/src/gvcore/imageviewcontroller.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-26 21:04:57 +0000
commitbf7f88413be3831a9372d323d02fc0335b9f9188 (patch)
tree516fdef9206245b40a14f99b4e3d9ef9289196e0 /src/gvcore/imageviewcontroller.h
parente238aa77b1fb3c2f55aef2ef2c91ce52166d2cc8 (diff)
downloadgwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.tar.gz
gwenview-bf7f88413be3831a9372d323d02fc0335b9f9188.zip
TQt4 port Gwenview
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gvcore/imageviewcontroller.h')
-rw-r--r--src/gvcore/imageviewcontroller.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/gvcore/imageviewcontroller.h b/src/gvcore/imageviewcontroller.h
index 9fe775e..641660b 100644
--- a/src/gvcore/imageviewcontroller.h
+++ b/src/gvcore/imageviewcontroller.h
@@ -21,8 +21,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef IMAGEVIEWCONTROLLER_H
#define IMAGEVIEWCONTROLLER_H
-// Qt
-#include <qobject.h>
+// TQt
+#include <tqobject.h>
// KDE
#include <kaction.h>
@@ -30,8 +30,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// Local
#include "libgwenview_export.h"
-class QPoint;
-class QWidget;
+class TQPoint;
+class TQWidget;
class KToolBar;
@@ -42,13 +42,14 @@ class Document;
class ImageView;
-class LIBGWENVIEW_EXPORT ImageViewController : public QObject {
+class LIBGWENVIEW_EXPORT ImageViewController : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- ImageViewController(QWidget* parent, Document*, KActionCollection*);
+ ImageViewController(TQWidget* tqparent, Document*, KActionCollection*);
~ImageViewController();
- QWidget* widget() const;
+ TQWidget* widget() const;
void setImageViewActions(const KActionPtrList&);
@@ -58,20 +59,20 @@ public:
void setFocus();
protected:
- virtual bool eventFilter(QObject*, QEvent*);
+ virtual bool eventFilter(TQObject*, TQEvent*);
public slots:
void updateFromSettings();
signals:
- void requestHintDisplay(const QString&);
+ void requestHintDisplay(const TQString&);
void selectPrevious();
void selectNext();
void doubleClicked();
private slots:
void slotLoaded();
- void openImageViewContextMenu(const QPoint&);
+ void openImageViewContextMenu(const TQPoint&);
void slotAutoHide();
private: