From dacae0242e905268e9df9aed83f84e91b13a1749 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 11:53:10 -0500 Subject: Convert to TDE R14 API --- src/kbsiteinfo.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'src/kbsiteinfo.h') diff --git a/src/kbsiteinfo.h b/src/kbsiteinfo.h index 573ae89..a49a22a 100644 --- a/src/kbsiteinfo.h +++ b/src/kbsiteinfo.h @@ -12,7 +12,7 @@ #ifndef KBSITEINFO_H #define KBSITEINFO_H -#include +#include #include @@ -27,35 +27,35 @@ class KbSiteInfo public: KbSiteInfo(); ~KbSiteInfo(); - QString GetInfo() { return m_info; }; - QString GetUser() { return m_user; }; - QString GetPass() { return m_pass; }; - QString GetName() { return m_name; }; - QString GetDefaultDirectory() { return m_defaultdir; }; + TQString GetInfo() { return m_info; }; + TQString GetUser() { return m_user; }; + TQString GetPass() { return m_pass; }; + TQString GetName() { return m_name; }; + TQString GetDefaultDirectory() { return m_defaultdir; }; int GetAlternativeFxp() { return m_altfxp; }; int GetCorrectPasv() { return m_correctpasv; }; int GetPasv() { return m_pasv; }; int GetTls() { return m_tls; }; void SetPasv(int pasv) { m_pasv = pasv; }; void SetTls(int tls) { m_tls = tls; }; - void SetDefaultDirectory(QString path) { m_defaultdir = path; }; + void SetDefaultDirectory(TQString path) { m_defaultdir = path; }; void SetAlternativeFxp(int i) { m_altfxp = i; }; void SetCorrectPasv(int i) { m_correctpasv = i; }; - void SetUser(QString user) { m_user = user; }; - void SetInfo(QString info) { m_info = info; }; - void SetPass(QString pass) { m_pass = pass; }; - void SetName(QString name) { m_name = name; }; + void SetUser(TQString user) { m_user = user; }; + void SetInfo(TQString info) { m_info = info; }; + void SetPass(TQString pass) { m_pass = pass; }; + void SetName(TQString name) { m_name = name; }; bool IsLegit(); static list ParseBookmarks(); static bool WriteBookmarks(const list bookmarks); void Clear(); private: list goo; - QString m_user; - QString m_info; - QString m_name; - QString m_pass; - QString m_defaultdir; + TQString m_user; + TQString m_info; + TQString m_name; + TQString m_pass; + TQString m_defaultdir; int m_altfxp; int m_correctpasv; int m_pasv; -- cgit v1.2.1