diff options
Diffstat (limited to 'kommander/widgets/closebutton.h')
-rw-r--r-- | kommander/widgets/closebutton.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kommander/widgets/closebutton.h b/kommander/widgets/closebutton.h index 8b7aa57a..20c44eac 100644 --- a/kommander/widgets/closebutton.h +++ b/kommander/widgets/closebutton.h @@ -22,7 +22,7 @@ #include <kpushbutton.h> /* QT INCLUDES */ -#include <qobject.h> +#include <tqobject.h> /* OTHER INCLUDES */ #include <kommanderwidget.h> @@ -34,38 +34,38 @@ class KOMMANDER_EXPORT CloseButton : public KPushButton, 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) Q_PROPERTY(bool writeStdout READ writeStdout WRITE setWriteStdout) public: - CloseButton(QWidget* a_parent, const char* a_name); + CloseButton(TQWidget* a_parent, const char* a_name); ~CloseButton(); 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&); bool writeStdout() const; - 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 setWriteStdout(bool); - virtual void setWidgetText(const QString &); + virtual void setWidgetText(const TQString &); virtual void startProcess(); virtual void appendOutput(KProcess*, char*, int); virtual void endProcess(KProcess*); virtual void populate(); signals: void widgetOpened(); - void widgetTextChanged(const QString&); + void widgetTextChanged(const TQString&); protected: bool m_writeStdout; - QString m_output; - void showEvent(QShowEvent* e); + TQString m_output; + void showEvent(TQShowEvent* e); private: }; |