summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-17 08:20:48 +0000
commitaa0726b20f398264f0a2abc60215be044b106f9c (patch)
tree070fdbc19a1106cfdd7f651a8ce76bb1b89a513d /src/mainwindow.h
parentd3cf5b3e75aadc3b02d0b56f030d4c3f8c2c749d (diff)
downloadbasket-aa0726b20f398264f0a2abc60215be044b106f9c.tar.gz
basket-aa0726b20f398264f0a2abc60215be044b106f9c.zip
TQt4 port basket
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/basket@1232416 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h43
1 files changed, 22 insertions, 21 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 4ea57a2..532d7be 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -22,27 +22,27 @@
#define CONTAINER_H
#include <kmainwindow.h>
-#include <qtabbar.h>
-#include <qtabwidget.h>
-#include <qlabel.h>
+#include <tqtabbar.h>
+#include <tqtabwidget.h>
+#include <tqlabel.h>
#include <ksystemtray.h>
-#include <qptrlist.h>
-#include <qpoint.h>
-#include <qclipboard.h>
+#include <tqptrlist.h>
+#include <tqpoint.h>
+#include <tqclipboard.h>
#include <kaction.h>
-#include <qpixmap.h>
-#include <qdesktopwidget.h>
-#include <qtimer.h>
-#include <qsplitter.h>
+#include <tqpixmap.h>
+#include <tqdesktopwidget.h>
+#include <tqtimer.h>
+#include <tqsplitter.h>
-class QWidget;
-class QPoint;
+class TQWidget;
+class TQPoint;
class KAction;
class KToggleAction;
-class QPopupMenu;
-class QSignalMapper;
-class QStringList;
-class QToolTipGroup;
+class TQPopupMenu;
+class TQSignalMapper;
+class TQStringList;
+class TQToolTipGroup;
class KPassivePopup;
class Basket;
class DecoratedBasket;
@@ -60,9 +60,10 @@ namespace KSettings { class Dialog; };
class MainWindow : public KMainWindow
{
Q_OBJECT
+ TQ_OBJECT
public:
/** Construtor, initializer and destructor */
- MainWindow(QWidget *parent = 0, const char *name = 0);
+ MainWindow(TQWidget *tqparent = 0, const char *name = 0);
~MainWindow();
private:
void setupActions();
@@ -83,8 +84,8 @@ class MainWindow : public KMainWindow
protected:
bool queryExit();
bool queryClose();
- virtual void resizeEvent(QResizeEvent*);
- virtual void moveEvent(QMoveEvent*);
+ virtual void resizeEvent(TQResizeEvent*);
+ virtual void moveEvent(TQMoveEvent*);
public:
void polish();
@@ -94,10 +95,10 @@ class MainWindow : public KMainWindow
KToggleAction *m_actShowStatusbar;
KAction *actQuit;
KAction *actAppConfig;
- QPtrList<KAction> actBasketsList;
+ TQPtrList<KAction> actBasketsList;
private:
- QVBoxLayout *m_layout;
+ TQVBoxLayout *m_layout;
BNPView *m_baskets;
bool m_startDocked;
KSettings::Dialog *m_settings;