diff options
Diffstat (limited to 'starter/starter.h')
-rw-r--r-- | starter/starter.h | 32 |
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(); |