summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/execbutton.h
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets/execbutton.h')
-rw-r--r--kommander/widgets/execbutton.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kommander/widgets/execbutton.h b/kommander/widgets/execbutton.h
index 2e2ea60a..925fa498 100644
--- a/kommander/widgets/execbutton.h
+++ b/kommander/widgets/execbutton.h
@@ -22,7 +22,7 @@
#include <kpushbutton.h>
/* QT INCLUDES */
-#include <qobject.h>
+#include <tqobject.h>
/* OTHER INCLUDES */
#include <kommanderwidget.h>
@@ -38,23 +38,23 @@ class KOMMANDER_EXPORT ExecButton : public KPushButton, public KommanderWidget
Q_OBJECT
Q_ENUMS(Blocking)
- 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)
Q_PROPERTY(Blocking blockGUI READ blockGUI WRITE setBlockGUI)
public:
- ExecButton(QWidget *a_parent, const char *a_name);
+ ExecButton(TQWidget *a_parent, const char *a_name);
~ExecButton();
virtual bool isKommanderWidget() const;
- virtual void setAssociatedText(const QStringList&);
- virtual QStringList associatedText() const;
- virtual QString currentState() const;
+ virtual void setAssociatedText(const TQStringList&);
+ virtual TQStringList associatedText() const;
+ virtual TQString currentState() const;
- virtual QString populationText() const;
- virtual void setPopulationText(const QString&);
+ virtual TQString populationText() const;
+ virtual void setPopulationText(const TQString&);
// Handle stdout setting
virtual void setWriteStdout(bool);
@@ -64,11 +64,11 @@ public:
virtual void setBlockGUI(Blocking a_enable);
Blocking blockGUI() 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 populate();
- virtual void setWidgetText(const QString &);
+ virtual void setWidgetText(const TQString &);
// Execute script from associastedText
virtual void startProcess();
@@ -76,18 +76,18 @@ public slots:
virtual void processExited(MyProcess* p);
signals:
void widgetOpened();
- void widgetTextChanged(const QString&);
+ void widgetTextChanged(const TQString&);
void contextMenuRequested(int xpos, int ypos);
protected:
- void contextMenuEvent( QContextMenuEvent * e );
+ void contextMenuEvent( TQContextMenuEvent * e );
// Whether output from process should be put in real stdout
bool m_writeStdout;
// Whether pressing execubtton should block GUI until process ends
Blocking m_blockGUI;
// Output from process
- QString m_output;
- void showEvent( QShowEvent *e );
+ TQString m_output;
+ void showEvent( TQShowEvent *e );
private:
};