diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/kio/policydlg.h | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kio/policydlg.h')
-rw-r--r-- | kcontrol/kio/policydlg.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kcontrol/kio/policydlg.h b/kcontrol/kio/policydlg.h index dcdca5136..815b4d01d 100644 --- a/kcontrol/kio/policydlg.h +++ b/kcontrol/kio/policydlg.h @@ -19,7 +19,7 @@ #ifndef _POLICYDLG_H #define _POLICYDLG_H -#include <qstring.h> +#include <tqstring.h> #include <kdialogbase.h> @@ -47,16 +47,16 @@ public: } } - static KCookieAdvice::Value strToAdvice (const QString& advice) + static KCookieAdvice::Value strToAdvice (const TQString& advice) { if (advice.isEmpty()) return KCookieAdvice::Dunno; - if (advice.find (QString::fromLatin1("accept"), 0, false) == 0) + if (advice.find (TQString::fromLatin1("accept"), 0, false) == 0) return KCookieAdvice::Accept; - else if (advice.find (QString::fromLatin1("reject"), 0, false) == 0) + else if (advice.find (TQString::fromLatin1("reject"), 0, false) == 0) return KCookieAdvice::Reject; - else if (advice.find (QString::fromLatin1("ask"), 0, false) == 0) + else if (advice.find (TQString::fromLatin1("ask"), 0, false) == 0) return KCookieAdvice::Ask; return KCookieAdvice::Dunno; @@ -68,18 +68,18 @@ class PolicyDlg : public KDialogBase Q_OBJECT public: - PolicyDlg (const QString& caption, QWidget *parent = 0, + PolicyDlg (const TQString& caption, TQWidget *parent = 0, const char *name = 0); ~PolicyDlg (){}; int advice() const; - QString domain() const; + TQString domain() const; - void setEnableHostEdit( bool, const QString& host = QString::null ); + void setEnableHostEdit( bool, const TQString& host = TQString::null ); void setPolicy (int policy); protected slots: - void slotTextChanged( const QString& ); + void slotTextChanged( const TQString& ); private: PolicyDlgUI* m_dlgUI; |