summaryrefslogtreecommitdiffstats
path: root/starter/starter.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 /starter/starter.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 'starter/starter.h')
-rw-r--r--starter/starter.h32
1 files changed, 16 insertions, 16 deletions
diff --git a/starter/starter.h b/starter/starter.h
index 39c72b9..0175ea4 100644
--- a/starter/starter.h
+++ b/starter/starter.h
@@ -7,17 +7,17 @@
#endif
#include <kpanelapplet.h>
-#include <qmap.h>
-#include <qstring.h>
-#include <qpixmap.h>
-// #include <qpainter.h>
+#include <tqmap.h>
+#include <tqstring.h>
+#include <tqpixmap.h>
+// #include <tqpainter.h>
#include <kconfig.h>
#include <kshortcut.h>
#include "starteriface.h"
#include "mykey.h"
class DCOPClient;
-class QLabel;
+class TQLabel;
class KPopupMenu;
class StartMenu;
class StarterConfig;
@@ -27,8 +27,8 @@ class starter : public KPanelApplet, virtual public StarterIface
Q_OBJECT
public:
- starter(const QString& configFile, Type t = Normal, int actions = 0,
- QWidget *parent = 0, const char *name = 0);
+ starter(const TQString& configFile, Type t = Normal, int actions = 0,
+ TQWidget *parent = 0, const char *name = 0);
~starter();
virtual int widthForHeight(int height) const;
@@ -37,29 +37,29 @@ public:
void popupMenu();
void showMenu();
protected:
- virtual void resizeEvent ( QResizeEvent * );
+ virtual void resizeEvent ( TQResizeEvent * );
private:
enum State {Default, Hover, Down};
State state;
int _iconSize;
- bool eventFilter( QObject *o, QEvent *e );
+ bool eventFilter( TQObject *o, TQEvent *e );
bool popupBlocked;
// bool isDialog_;
- QLabel *mainView;
-// QPainter m_painter;
+ TQLabel *mainView;
+// TQPainter m_painter;
DCOPClient *client;
KPopupMenu *configPopup;
StartMenu *startMenu;
- QPixmap pixmap;
- QPixmap hoverPixmap;
- QPixmap downPixmap;
+ TQPixmap pixmap;
+ TQPixmap hoverPixmap;
+ TQPixmap downPixmap;
StarterConfig *configDialog;
- typedef QMap<MyKey,QString> ShortcutList;
+ typedef TQMap<MyKey,TQString> ShortcutList;
ShortcutList shortcutList;
private slots:
void addShortcut(const KShortcut&);
- void updateShortcutButton(const QString&);
+ void updateShortcutButton(const TQString&);
void configureMenu();
void reloadImages();
void updateSettings();