diff options
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(); |