diff options
Diffstat (limited to 'kommander/widgets/toolbox.h')
-rw-r--r-- | kommander/widgets/toolbox.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kommander/widgets/toolbox.h b/kommander/widgets/toolbox.h index 9171aa32..12761df0 100644 --- a/kommander/widgets/toolbox.h +++ b/kommander/widgets/toolbox.h @@ -12,31 +12,31 @@ #ifndef TOOLBOX_H #define TOOLBOX_H -#include <qtoolbox.h> +#include <tqtoolbox.h> #include <kommanderwidget.h> /** @author Andras Mantia <amantia@kdewebdev.org> */ -class ToolBox : public QToolBox, public KommanderWidget +class ToolBox : public TQToolBox, 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: - ToolBox(QWidget *parent = 0, const char *name = 0); + ToolBox(TQWidget *parent = 0, const char *name = 0); ~ToolBox(); 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&); public slots: virtual void populate(); @@ -45,9 +45,9 @@ signals: void widgetOpened(); void contextMenuRequested(int xpos, int ypos); protected: - void showEvent(QShowEvent *e); - void contextMenuEvent( QContextMenuEvent * e ); - QString addWidget(const QString& widgetName, const QString &label); + void showEvent(TQShowEvent *e); + void contextMenuEvent( TQContextMenuEvent * e ); + TQString addWidget(const TQString& widgetName, const TQString &label); }; |