summaryrefslogtreecommitdiffstats
path: root/systemsettings/mainwindow.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-30 18:02:11 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-30 18:02:11 +0000
commit5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718 (patch)
treea2f76da0912085453b974e590005753ca279457b /systemsettings/mainwindow.h
parent70a90e54dfa3b5ab2133aebda71f310d29d6a680 (diff)
downloadtde-systemsettings-5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718.tar.gz
tde-systemsettings-5ad8fdbf162cf819cf1c48d2ddd8aed9113ab718.zip
TQt4 convert kde-systemsettings
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kde-systemsettings@1234247 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'systemsettings/mainwindow.h')
-rw-r--r--systemsettings/mainwindow.h35
1 files changed, 18 insertions, 17 deletions
diff --git a/systemsettings/mainwindow.h b/systemsettings/mainwindow.h
index da60f1d..30f23ad 100644
--- a/systemsettings/mainwindow.h
+++ b/systemsettings/mainwindow.h
@@ -24,16 +24,16 @@
#include <kmainwindow.h>
#include <kcmoduleinfo.h>
#include <ktabwidget.h>
-#include <qptrdict.h>
-#include <qlabel.h>
+#include <tqptrdict.h>
+#include <tqlabel.h>
#include <kactionclasses.h>
#include <kiconviewsearchline.h>
#include "kcscrollview.h"
#include "kcmodulemenu.h"
-class QWidgetStack;
-class QIconViewItem;
+class TQWidgetStack;
+class TQIconViewItem;
class KCMultiWidget;
class ModulesView;
class KAction;
@@ -44,14 +44,15 @@ class KCModuleProxy;
class MainWindow : public KMainWindow
{
Q_OBJECT
+ TQ_OBJECT
public:
- MainWindow(bool embed=true, const QString &menufile="systemsettings",
- QWidget *parent=0, const char *name=0);
+ MainWindow(bool embed=true, const TQString &menufile="systemsettings",
+ TQWidget *tqparent=0, const char *name=0);
~MainWindow();
private slots:
- void slotItemSelected( QIconViewItem* item );
+ void slotItemSelected( TQIconViewItem* item );
void showAllModules();
void aboutCurrentModule();
void updateModuleHelp( KCModuleProxy * );
@@ -62,25 +63,25 @@ private slots:
void widgetChange();
void timerResize();
void slotTopPage();
- void slotSearchHits(const QString &query, int *hitList, int length);
+ void slotSearchHits(const TQString &query, int *hitList, int length);
private:
KCModuleMenu *menu;
bool embeddedWindows;
- QWidgetStack *windowStack;
+ TQWidgetStack *windowStack;
KTabWidget *moduleTabs;
- QPtrList<ModulesView> modulesViewList;
- QPtrList<QIconView> viewList;
+ TQPtrList<ModulesView> modulesViewList;
+ TQPtrList<TQIconView> viewList;
KCMultiWidget *groupWidget;
KCScrollView *scrollView;
- QPtrDict<KCMultiWidget> moduleItemToWidgetDict;
- QPtrDict<KCScrollView> moduleItemToScrollerDict;
+ TQPtrDict<KCMultiWidget> moduleItemToWidgetDict;
+ TQPtrDict<KCScrollView> moduleItemToScrollerDict;
- QPtrList<KRadioAction> pageActions;
- QPtrList<KCScrollView> overviewPages;
+ TQPtrList<KRadioAction> pageActions;
+ TQPtrList<KCScrollView> overviewPages;
int selectedPage;
KAction *resetModule;
@@ -96,8 +97,8 @@ private:
void buildMainWidget();
void buildActions();
- QLabel *generalHitLabel;
- QLabel *advancedHitLabel;
+ TQLabel *generalHitLabel;
+ TQLabel *advancedHitLabel;
/**
* If someone wants to report a bug