summaryrefslogtreecommitdiffstats
path: root/src/app/dirviewcontroller.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/app/dirviewcontroller.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/app/dirviewcontroller.h')
-rw-r--r--src/app/dirviewcontroller.h23
1 files changed, 12 insertions, 11 deletions
diff --git a/src/app/dirviewcontroller.h b/src/app/dirviewcontroller.h
index 8bd7596..28fcc80 100644
--- a/src/app/dirviewcontroller.h
+++ b/src/app/dirviewcontroller.h
@@ -1,5 +1,5 @@
// vim: set tabstop=4 shiftwidth=4 noexpandtab:
-// kate: indent-mode csands; indent-width 4; replace-tabs-save off; replace-tabs off; replace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4;
+// kate: indent-mode csands; indent-width 4; tqreplace-tabs-save off; tqreplace-tabs off; tqreplace-trailing-space-save off; space-indent off; tabs-indents on; tab-width 4;
/*
Gwenview - A simple image viewer for KDE
Copyright 2005 Aurelien Gateau
@@ -22,12 +22,12 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#ifndef DIRVIEWCONTROLLER_H
#define DIRVIEWCONTROLLER_H
-// Qt
-#include "qobject.h"
+// TQt
+#include "tqobject.h"
-class QListViewItem;
-class QPoint;
-class QWidget;
+class TQListViewItem;
+class TQPoint;
+class TQWidget;
class KListView;
class KURL;
@@ -37,12 +37,13 @@ class Job;
namespace Gwenview {
-class DirViewController : public QObject {
+class DirViewController : public TQObject {
Q_OBJECT
+ TQ_OBJECT
public:
- DirViewController(QWidget* parent);
+ DirViewController(TQWidget* tqparent);
virtual ~DirViewController();
- QWidget* widget() const;
+ TQWidget* widget() const;
public slots:
void setURL(const KURL&);
@@ -56,8 +57,8 @@ private:
Private* d;
private slots:
- void slotTreeViewSelectionChanged(QListViewItem*);
- void slotTreeViewContextMenu(KListView*, QListViewItem*, const QPoint&);
+ void slotTreeViewSelectionChanged(TQListViewItem*);
+ void slotTreeViewContextMenu(KListView*, TQListViewItem*, const TQPoint&);
void makeDir();
void slotDirMade();