diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /krdc/hostpreferences.h | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krdc/hostpreferences.h')
-rw-r--r-- | krdc/hostpreferences.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/krdc/hostpreferences.h b/krdc/hostpreferences.h index 09b4abe6..9b74b235 100644 --- a/krdc/hostpreferences.h +++ b/krdc/hostpreferences.h @@ -19,8 +19,8 @@ #ifndef HOSTPREFERENCES_H #define HOSTPREFERENCES_H -#include <qstring.h> -#include <qstringlist.h> +#include <tqstring.h> +#include <tqstringlist.h> #include "smartptr.h" class HostPreferences; @@ -29,11 +29,11 @@ class KConfig; class HostPref { protected: friend class HostPreferences; - QString m_host; - QString m_type; + TQString m_host; + TQString m_type; KConfig *m_config; - HostPref(KConfig *conf, const QString &host, const QString &type); + HostPref(KConfig *conf, const TQString &host, const TQString &type); virtual void load() = 0; virtual void setDefaults() = 0; @@ -42,35 +42,35 @@ protected: public: virtual ~HostPref(); - virtual QString prefDescription() const = 0; - QString host() const; - QString type() const; - QString prefix() const; - static QString prefix(const QString &host, const QString &type); + virtual TQString prefDescription() const = 0; + TQString host() const; + TQString type() const; + TQString prefix() const; + static TQString prefix(const TQString &host, const TQString &type); }; typedef SmartPtr<HostPref> HostPrefPtr; -typedef QValueList<HostPrefPtr> HostPrefPtrList; +typedef TQValueList<HostPrefPtr> HostPrefPtrList; class HostPreferences { public: static HostPreferences *instance(); ~HostPreferences(); - HostPrefPtr getHostPref(const QString &host, const QString &type); - HostPrefPtr createHostPref(const QString &host, const QString &type); + HostPrefPtr getHostPref(const TQString &host, const TQString &type); + HostPrefPtr createHostPref(const TQString &host, const TQString &type); HostPrefPtrList getAllHostPrefs(); HostPrefPtr vncDefaults(); HostPrefPtr rdpDefaults(); void removeHostPref(HostPref *hostPref); void setShowBrowsingPanel( bool b ); - void setServerCompletions( const QStringList &list ); - void setServerHistory( const QStringList &list ); + void setServerCompletions( const TQStringList &list ); + void setServerHistory( const TQStringList &list ); bool showBrowsingPanel(); - QStringList serverCompletions(); - QStringList serverHistory(); + TQStringList serverCompletions(); + TQStringList serverHistory(); void sync(); |