diff options
Diffstat (limited to 'kommander/widgets/popupmenu.h')
-rw-r--r-- | kommander/widgets/popupmenu.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kommander/widgets/popupmenu.h b/kommander/widgets/popupmenu.h index f2db18a6..dff28a86 100644 --- a/kommander/widgets/popupmenu.h +++ b/kommander/widgets/popupmenu.h @@ -12,8 +12,8 @@ #ifndef POPUPMENU_H #define POPUPMENU_H -#include <qlabel.h> -#include <qmap.h> +#include <tqlabel.h> +#include <tqmap.h> #include <kommanderwidget.h> @@ -22,28 +22,28 @@ class KPopupMenu; /** @author Andras Mantia <amantia@kdewebdev.org> */ -class PopupMenu : public QLabel, public KommanderWidget +class PopupMenu : public TQLabel, public KommanderWidget { Q_OBJECT - Q_PROPERTY(QString populationText READ populationText WRITE setPopulationText DESIGNABLE false) - Q_PROPERTY(QStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false) + Q_PROPERTY(TQString populationText READ populationText WRITE setPopulationText DESIGNABLE false) + Q_PROPERTY(TQStringList associations READ associatedText WRITE setAssociatedText DESIGNABLE false) Q_PROPERTY(bool KommanderWidget READ isKommanderWidget) public: - PopupMenu(QWidget *parent = 0, const char *name = 0); + PopupMenu(TQWidget *parent = 0, const char *name = 0); ~PopupMenu(); virtual bool isKommanderWidget() const; - virtual QString currentState() const; + virtual TQString currentState() const; virtual bool isFunctionSupported(int function); - virtual QString handleDCOP(int function, const QStringList& args); - virtual QStringList associatedText() const; - virtual void setAssociatedText(const QStringList&); - virtual QString populationText() const; - virtual void setPopulationText(const QString&); + virtual TQString handleDCOP(int function, const TQStringList& args); + virtual TQStringList associatedText() const; + virtual void setAssociatedText(const TQStringList&); + virtual TQString populationText() const; + virtual void setPopulationText(const TQString&); KPopupMenu *menu() {return m_menu;} public slots: - virtual void setWidgetText(const QString &); + virtual void setWidgetText(const TQString &); virtual void populate(); void popup(int x, int y); @@ -51,11 +51,11 @@ private slots: void slotMenuItemActivated(int id); private: - QString insertSubmenu(const QString& title, const QString &menuWidget, int index, const QString& icon); + TQString insertSubmenu(const TQString& title, const TQString &menuWidget, int index, const TQString& icon); KPopupMenu *m_menu; - QMap<int, QString> m_associations; - QStringList m_params; + TQMap<int, TQString> m_associations; + TQStringList m_params; }; #endif |