summaryrefslogtreecommitdiffstats
path: root/src/libgui/config_center.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libgui/config_center.h')
-rw-r--r--src/libgui/config_center.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/libgui/config_center.h b/src/libgui/config_center.h
index 1e543b7..9f50056 100644
--- a/src/libgui/config_center.h
+++ b/src/libgui/config_center.h
@@ -10,9 +10,9 @@
#ifndef CONFIG_CENTER_H
#define CONFIG_CENTER_H
-#include <qcheckbox.h>
-#include <qlineedit.h>
-#include <qwidgetstack.h>
+#include <tqcheckbox.h>
+#include <tqlineedit.h>
+#include <tqwidgetstack.h>
#include "common/gui/key_gui.h"
#include "common/gui/dialog.h"
@@ -29,11 +29,12 @@ END_DECLARE_CONFIG_WIDGET
class GlobalConfigWidget : public BaseGlobalConfigWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
GlobalConfigWidget();
- virtual QString title() const { return i18n("General"); }
- virtual QString header() const { return i18n("General Configuration"); }
- virtual QPixmap pixmap() const;
+ virtual TQString title() const { return i18n("General"); }
+ virtual TQString header() const { return i18n("General Configuration"); }
+ virtual TQPixmap pixmap() const;
virtual void loadConfig();
public slots:
@@ -47,12 +48,13 @@ private:
class StandaloneConfigWidget : public ConfigWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
StandaloneConfigWidget();
virtual void loadConfig();
- virtual QString title() const { return i18n("Standalone File"); }
- virtual QString header() const { return i18n("Standalone File Compilation"); }
- virtual QPixmap pixmap() const;
+ virtual TQString title() const { return i18n("Standalone File"); }
+ virtual TQString header() const { return i18n("Standalone File Compilation"); }
+ virtual TQPixmap pixmap() const;
public slots:
virtual void saveConfig();
@@ -66,17 +68,18 @@ private:
class ConfigCenter : public Dialog
{
Q_OBJECT
+ TQ_OBJECT
public:
enum Type { General = 0, ProgSelect, ProgOptions, DebugOptions,
Standalone, Nb_Types };
- ConfigCenter(Type showType, QWidget *parent);
+ ConfigCenter(Type showType, TQWidget *tqparent);
public slots:
virtual void slotOk();
virtual void slotApply();
private:
- QWidget *_pages[Nb_Types];
+ TQWidget *_pages[Nb_Types];
ConfigWidget *_configWidgets[Nb_Types];
static ConfigWidget *factory(Type type);