From 2ee99ab520931c5efe91123c85ba10064a45e95d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Fri, 25 Mar 2016 20:03:28 +0100 Subject: Initial TQt conversion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- starter/starter.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'starter/starter.h') 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 -#include -#include -#include -// #include +#include +#include +#include +// #include #include #include #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 ShortcutList; + typedef TQMap ShortcutList; ShortcutList shortcutList; private slots: void addShortcut(const KShortcut&); - void updateShortcutButton(const QString&); + void updateShortcutButton(const TQString&); void configureMenu(); void reloadImages(); void updateSettings(); -- cgit v1.2.1