diff options
Diffstat (limited to 'kommander/widgets/scriptobject.h')
-rw-r--r-- | kommander/widgets/scriptobject.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kommander/widgets/scriptobject.h b/kommander/widgets/scriptobject.h index 3906d5e4..325903cc 100644 --- a/kommander/widgets/scriptobject.h +++ b/kommander/widgets/scriptobject.h @@ -20,39 +20,39 @@ /* KDE INCLUDES */ /* QT INCLUDES */ -#include <qlabel.h> +#include <tqlabel.h> /* OTHER INCLUDES */ #include <kommanderwidget.h> #include <kommander_export.h> -class KOMMANDER_EXPORT ScriptObject : public QLabel, public KommanderWidget +class KOMMANDER_EXPORT ScriptObject : 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: - ScriptObject(QWidget *a_parent, const char *a_name); + ScriptObject(TQWidget *a_parent, const char *a_name); ~ScriptObject(); virtual bool isKommanderWidget() const; - virtual void setAssociatedText(const QStringList&); - virtual QStringList associatedText() const; - virtual QString currentState() const; - virtual QString populationText() const; - virtual void setPopulationText(const QString&); + virtual void setAssociatedText(const TQStringList&); + virtual TQStringList associatedText() const; + virtual TQString currentState() const; + virtual TQString populationText() const; + virtual void setPopulationText(const TQString&); - virtual QString handleDCOP(int function, const QStringList& args); + virtual TQString handleDCOP(int function, const TQStringList& args); virtual bool isFunctionSupported(int function); public slots: - virtual void setWidgetText(const QString &); + virtual void setWidgetText(const TQString &); virtual void populate(); virtual void execute(); - virtual void execute(const QString&); - virtual void execute(const QString&, const QString&); + virtual void execute(const TQString&); + virtual void execute(const TQString&, const TQString&); virtual void execute(int); virtual void execute(int, int); virtual void execute(bool); @@ -60,9 +60,9 @@ signals: void widgetOpened(); protected: - virtual QString executeProcess(bool blocking); + virtual TQString executeProcess(bool blocking); private: - QStringList m_params; + TQStringList m_params; }; #endif |