diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-26 22:11:13 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-26 22:11:13 +0000 |
commit | d0f4d15131676239a89a65ad97f9d7daf5b057f7 (patch) | |
tree | a980f02081de6a9ef352c21d15b5a0550b9275eb /kdesudo/kdesudo.h | |
parent | b166c693b4466d83d64475e0980904bc15de55e1 (diff) | |
download | tdesudo-d0f4d15131676239a89a65ad97f9d7daf5b057f7.tar.gz tdesudo-d0f4d15131676239a89a65ad97f9d7daf5b057f7.zip |
TQt4 port kdesudo
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kdesudo@1238441 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesudo/kdesudo.h')
-rw-r--r-- | kdesudo/kdesudo.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kdesudo/kdesudo.h b/kdesudo/kdesudo.h index 0c59047..2fa278f 100644 --- a/kdesudo/kdesudo.h +++ b/kdesudo/kdesudo.h @@ -26,10 +26,10 @@ #endif #include <kapp.h> -#include <qwidget.h> +#include <tqwidget.h> #include <kpassdlg.h> -#include <qstring.h> -#include <qtextcodec.h> +#include <tqstring.h> +#include <tqtextcodec.h> #include <kprocess.h> class KCookie; @@ -45,12 +45,12 @@ class KCookie; class KdeSudo : public KPasswordDialog { - Q_OBJECT + TQ_OBJECT public: /* * Default construtor */ - KdeSudo(QWidget* parent=0, const char *name=0, const QString& icon=QString(), const QString& generic=QString(), bool withIgnoreButton=false); + KdeSudo(TQWidget* tqparent=0, const char *name=0, const TQString& icon=TQString(), const TQString& generic=TQString(), bool withIgnoreButton=false); /* * Default destructor @@ -73,7 +73,7 @@ public slots: // Public slots */ void slotOk(); void slotUser1(); - QString validArg(QString arg); + TQString validArg(TQString arg); private: // Private attributes KProcess * p; @@ -84,10 +84,10 @@ private: // Private attributes bool useTerm; bool noExec; bool unCleaned; - QString m_tmpname; - QString iceauthorityFile; - QString dcopServer; - QString kdeSycoca; + TQString m_tmpname; + TQString iceauthorityFile; + TQString dcopServer; + TQString kdeSycoca; KCookie* m_pCookie; void blockSigChild(); void unblockSigChild(); |