summaryrefslogtreecommitdiffstats
path: root/kommander/widgets/dialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/widgets/dialog.h')
-rw-r--r--kommander/widgets/dialog.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kommander/widgets/dialog.h b/kommander/widgets/dialog.h
index 091ff890..794e5dbc 100644
--- a/kommander/widgets/dialog.h
+++ b/kommander/widgets/dialog.h
@@ -20,46 +20,46 @@
/* KDE INCLUDES */
/* QT INCLUDES */
-#include <qdialog.h>
+#include <tqdialog.h>
/* OTHER INCLUDES */
#include <kommanderwindow.h>
#include <kommander_export.h>
class QShowEvent;
-class KOMMANDER_EXPORT Dialog : public QDialog, public KommanderWindow
+class KOMMANDER_EXPORT Dialog : public TQDialog, public KommanderWindow
{
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 useInternalParser READ useInternalParser WRITE setUseInternalParser)
Q_PROPERTY(bool useShebang READ useShebang WRITE setUseShebang DESIGNABLE true)
- Q_PROPERTY(QString shebang READ Shebang WRITE setShebang DESIGNABLE true)
+ Q_PROPERTY(TQString shebang READ Shebang WRITE setShebang DESIGNABLE true)
Q_OVERRIDE(bool modal DESIGNABLE false)
public:
- Dialog(QWidget *, const char *, bool = true, int=0);
+ Dialog(TQWidget *, const char *, bool = true, int=0);
~Dialog();
virtual bool isKommanderWidget() const;
virtual bool useInternalParser() const;
virtual void setUseInternalParser(bool b);
- 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 void show();
bool useShebang() const { return m_useShebang; }
void setUseShebang(bool useit) { m_useShebang = useit; }
- QString Shebang() const { return m_shebang; }
- void setShebang(const QString &text) { m_shebang = text; }
+ TQString Shebang() const { return m_shebang; }
+ void setShebang(const TQString &text) { m_shebang = text; }
- 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 exec();
virtual void populate();
virtual void done(int r);
@@ -69,19 +69,19 @@ protected slots:
signals:
void widgetOpened();
- void widgetTextChanged(const QString&);
+ void widgetTextChanged(const TQString&);
void finished();
void contextMenuRequested(int xpos, int ypos);
protected:
- void showEvent( QShowEvent *e );
- void keyPressEvent( QKeyEvent * );
- void contextMenuEvent( QContextMenuEvent * e );
+ void showEvent( TQShowEvent *e );
+ void keyPressEvent( TQKeyEvent * );
+ void contextMenuEvent( TQContextMenuEvent * e );
private:
- QString m_fileName;
+ TQString m_fileName;
bool m_useInternalParser;
bool m_useShebang; //add m_shebang at the beginning of the dialog code or not
bool m_firstShow; //tells if the show method was called before or not
- QString m_shebang; //#!/usr/bin/kmdr-executor or similar
+ TQString m_shebang; //#!/usr/bin/kmdr-executor or similar
};
#endif