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/kcookiesmanagement.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/kcookiesmanagement.h')
-rw-r--r-- | kcontrol/kio/kcookiesmanagement.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/kcontrol/kio/kcookiesmanagement.h b/kcontrol/kio/kcookiesmanagement.h index 636be0ed3..cd7f4c62a 100644 --- a/kcontrol/kio/kcookiesmanagement.h +++ b/kcontrol/kio/kcookiesmanagement.h @@ -24,9 +24,9 @@ #ifndef __KCOOKIESMANAGEMENT_H #define __KCOOKIESMANAGEMENT_H -#include <qdict.h> -#include <qstringlist.h> -#include <qlistview.h> +#include <tqdict.h> +#include <tqstringlist.h> +#include <tqlistview.h> #include <kcmodule.h> @@ -39,23 +39,23 @@ struct CookieProp; class CookieListViewItem : public QListViewItem { public: - CookieListViewItem(QListView *parent, QString dom); - CookieListViewItem(QListViewItem *parent, CookieProp *cookie); + CookieListViewItem(TQListView *parent, TQString dom); + CookieListViewItem(TQListViewItem *parent, CookieProp *cookie); ~CookieListViewItem(); - QString domain() const { return mDomain; } + TQString domain() const { return mDomain; } CookieProp* cookie() const { return mCookie; } CookieProp* leaveCookie(); void setCookiesLoaded() { mCookiesLoaded = true; } bool cookiesLoaded() const { return mCookiesLoaded; } - virtual QString text(int f) const; + virtual TQString text(int f) const; private: void init( CookieProp* cookie, - QString domain = QString::null, + TQString domain = TQString::null, bool cookieLoaded=false ); CookieProp *mCookie; - QString mDomain; + TQString mDomain; bool mCookiesLoaded; }; @@ -64,25 +64,25 @@ class KCookiesManagement : public KCModule Q_OBJECT public: - KCookiesManagement(QWidget *parent = 0 ); + KCookiesManagement(TQWidget *parent = 0 ); ~KCookiesManagement(); virtual void load(); virtual void save(); virtual void defaults(); - virtual QString quickHelp() const; + virtual TQString quickHelp() const; private slots: void deleteCookie(); void deleteAllCookies(); void getDomains(); - void getCookies(QListViewItem*); - void showCookieDetails(QListViewItem*); + void getCookies(TQListViewItem*); + void showCookieDetails(TQListViewItem*); void doPolicy(); private: void reset (); - void deleteCookie(QListViewItem*); + void deleteCookie(TQListViewItem*); bool cookieDetails(CookieProp *cookie); void clearCookieDetails(); bool policyenabled(); @@ -90,12 +90,12 @@ private: private: bool m_bDeleteAll; - QWidget* mainWidget; + TQWidget* mainWidget; KCookiesManagementDlgUI* dlg; - QStringList deletedDomains; - typedef QPtrList<CookieProp> CookiePropList; - QDict<CookiePropList> deletedCookies; + TQStringList deletedDomains; + typedef TQPtrList<CookieProp> CookiePropList; + TQDict<CookiePropList> deletedCookies; }; #endif // __KCOOKIESMANAGEMENT_H |