summaryrefslogtreecommitdiffstats
path: root/bab/bab.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-03-25 20:03:28 +0100
committerSlávek Banko <slavek.banko@axis.cz>2016-03-25 20:03:28 +0100
commit2ee99ab520931c5efe91123c85ba10064a45e95d (patch)
treea367666e410de28d0f258aed77b11e17cafb28e4 /bab/bab.h
parentcfa36e1a95e82492c17225ff376911abb3688f62 (diff)
downloadtde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.tar.gz
tde-style-baghira-2ee99ab520931c5efe91123c85ba10064a45e95d.zip
Initial TQt conversion
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'bab/bab.h')
-rw-r--r--bab/bab.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/bab/bab.h b/bab/bab.h
index cc28882..2727bce 100644
--- a/bab/bab.h
+++ b/bab/bab.h
@@ -26,9 +26,9 @@
#endif
//#include <dcopclient.h>
#include "bab_iface.h"
-#include <qwidget.h>
-#include <qpixmap.h>
-#include <qsettings.h>
+#include <tqwidget.h>
+#include <tqpixmap.h>
+#include <tqsettings.h>
#include <kmainwindow.h>
#include <ksystemtray.h>
@@ -44,32 +44,32 @@ public:
~BabSwitcher();
void toggle();
- void setStyle(QString);
- QString style();
- void setDeco(QString);
- QString deco();
- void start(QString name, QString settings);
+ void setStyle(TQString);
+ TQString style();
+ void setDeco(TQString);
+ TQString deco();
+ void start(TQString name, TQString settings);
void emitStyleChanged();
- static QPoint *globalPos;
+ static TQPoint *globalPos;
protected:
- void mousePressEvent(QMouseEvent *e);
- void paintEvent(QPaintEvent *ev);
+ void mousePressEvent(TQMouseEvent *e);
+ void paintEvent(TQPaintEvent *ev);
private:
int state_;
int decoState_;
- QPixmap JaguarIcon;
- QPixmap PantherIcon;
- QPixmap iTunesIcon;
- QPixmap TigerIcon;
- QPixmap MilkIcon;
+ TQPixmap JaguarIcon;
+ TQPixmap PantherIcon;
+ TQPixmap iTunesIcon;
+ TQPixmap TigerIcon;
+ TQPixmap MilkIcon;
};
-class QComboBox;
-class QCheckBox;
+class TQComboBox;
+class TQCheckBox;
/**
* @short Application Main Window
* @author Thomas Lübking <baghira-style@gmx.net>
@@ -82,12 +82,12 @@ public:
enum TabState {Tab = 0, Clever, Chooser};
bab();
- void showEvent(QShowEvent *e);
- QCheckBox *cornerCheck;
+ void showEvent(TQShowEvent *e);
+ TQCheckBox *cornerCheck;
virtual ~bab();
private:
BabSwitcher* bSwitcher;
- QComboBox *DefStyle;
+ TQComboBox *DefStyle;
private slots:
void saveSettings();
@@ -95,7 +95,7 @@ private slots:
};
-class Corner : public QWidget
+class Corner : public TQWidget
{
Q_OBJECT
public: