diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 23:25:54 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2018-10-17 23:25:54 +0900 |
commit | 976500c80e99e2e4a9744454c149a20f7074c48e (patch) | |
tree | fa2df365de658bd21c335ce5aecc9d5a2e243b68 | |
parent | c53e509abf1dae6745205a7af5071dbfff033352 (diff) | |
download | kbiff-976500c80e99e2e4a9744454c149a20f7074c48e.tar.gz kbiff-976500c80e99e2e4a9744454c149a20f7074c48e.zip |
Removed obsolete Qt2's TQList/TQListIterator classes and replaced
with TQt3's TQPtrList/TQPtrListIterator ones.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r-- | kbiff/kbiff.cpp | 4 | ||||
-rw-r--r-- | kbiff/kbiff.h | 8 | ||||
-rw-r--r-- | kbiff/kbiffmonitor.h | 4 | ||||
-rw-r--r-- | kbiff/setupdlg.cpp | 8 | ||||
-rw-r--r-- | kbiff/setupdlg.h | 4 | ||||
-rw-r--r-- | kbiff/status.h | 6 |
6 files changed, 17 insertions, 17 deletions
diff --git a/kbiff/kbiff.cpp b/kbiff/kbiff.cpp index 185a8f0..2b4f421 100644 --- a/kbiff/kbiff.cpp +++ b/kbiff/kbiff.cpp @@ -152,9 +152,9 @@ void KBiff::processSetup(const KBiffSetup* setup_, bool run_) delete setup_; } -void KBiff::setMailboxList(const TQList<KBiffMailbox>& mailbox_list, unsigned int poll) +void KBiff::setMailboxList(const TQPtrList<KBiffMailbox>& mailbox_list, unsigned int poll) { - TQList<KBiffMailbox> tmp_list = mailbox_list; + TQPtrList<KBiffMailbox> tmp_list = mailbox_list; myMUTEX = true; if (isRunning()) diff --git a/kbiff/kbiff.h b/kbiff/kbiff.h index d8c2524..dc8c9bb 100644 --- a/kbiff/kbiff.h +++ b/kbiff/kbiff.h @@ -14,7 +14,7 @@ #include <config.h> #endif -#include <ntqlist.h> +#include <ntqptrlist.h> #include <kbiffmonitor.h> #include <setupdlg.h> @@ -45,7 +45,7 @@ public: void processSetup(const KBiffSetup* setup, bool start); void readSessionConfig(); - void setMailboxList(const TQList<KBiffMailbox>& mailbox_list, unsigned int poll = 60); + void setMailboxList(const TQPtrList<KBiffMailbox>& mailbox_list, unsigned int poll = 60); virtual bool process(const TQCString& obj, const TQCString& function, const TQByteArray& data, TQCString& replyType, @@ -96,8 +96,8 @@ private: protected: bool myMUTEX; - TQList<KBiffMonitor> monitorList; - TQList<KBiffNotify> notifyList; + TQPtrList<KBiffMonitor> monitorList; + TQPtrList<KBiffNotify> notifyList; KBiffStatusList statusList; TQStringList proxyList; diff --git a/kbiff/kbiffmonitor.h b/kbiff/kbiffmonitor.h index 52cc1e7..71a9be4 100644 --- a/kbiff/kbiffmonitor.h +++ b/kbiff/kbiffmonitor.h @@ -18,7 +18,7 @@ #include <sys/time.h> #include <ntqobject.h> -#include <ntqlist.h> +#include <ntqptrlist.h> #include <ntqfileinfo.h> #ifdef USE_SSL @@ -32,7 +32,7 @@ class TQString; * @internal * Internal class to store UIDL list */ -class KBiffUidlList : public TQList<TQString> +class KBiffUidlList : public TQPtrList<TQString> { protected: int compareItems(Item s1, Item s2) diff --git a/kbiff/setupdlg.cpp b/kbiff/setupdlg.cpp index 6797513..4ff52db 100644 --- a/kbiff/setupdlg.cpp +++ b/kbiff/setupdlg.cpp @@ -24,7 +24,7 @@ #include <ntqlayout.h> #include <ntqtooltip.h> #include <ntqdict.h> -#include <ntqlist.h> +#include <ntqptrlist.h> #include <ntqwhatsthis.h> #include <ntqstylesheet.h> @@ -201,7 +201,7 @@ const KBiffURL KBiffSetup::getCurrentMailbox() const return mailboxTab->getMailbox(); } -const TQList<KBiffMailbox> KBiffSetup::getMailboxList() const +const TQPtrList<KBiffMailbox> KBiffSetup::getMailboxList() const { return mailboxTab->getMailboxList(); } @@ -1643,9 +1643,9 @@ const KBiffURL KBiffMailboxTab::getMailbox() const return url; } -const TQList<KBiffMailbox> KBiffMailboxTab::getMailboxList() const +const TQPtrList<KBiffMailbox> KBiffMailboxTab::getMailboxList() const { - TQList<KBiffMailbox> mbox_list; + TQPtrList<KBiffMailbox> mbox_list; for (TQListViewItem *item = mailboxes->firstChild(); item; diff --git a/kbiff/setupdlg.h b/kbiff/setupdlg.h index cf30e52..2964adf 100644 --- a/kbiff/setupdlg.h +++ b/kbiff/setupdlg.h @@ -52,7 +52,7 @@ public: const TQString getProfile() const; const KBiffURL getCurrentMailbox() const; - const TQList<KBiffMailbox> getMailboxList() const; + const TQPtrList<KBiffMailbox> getMailboxList() const; const TQString getMailClient() const; const TQString getRunCommandPath() const; @@ -235,7 +235,7 @@ public: void setMailbox(const KBiffURL& url); const KBiffURL getMailbox() const; - const TQList<KBiffMailbox> getMailboxList() const; + const TQPtrList<KBiffMailbox> getMailboxList() const; public slots: void readConfig(const TQString& profile); diff --git a/kbiff/status.h b/kbiff/status.h index af33bc5..d749075 100644 --- a/kbiff/status.h +++ b/kbiff/status.h @@ -15,7 +15,7 @@ #endif #include <ntqframe.h> -#include <ntqlist.h> +#include <ntqptrlist.h> #include <ntqstring.h> class TQListView; @@ -39,8 +39,8 @@ protected: TQString _curMessages; }; -typedef TQList<KBiffStatusItem> KBiffStatusList; -typedef TQListIterator<KBiffStatusItem> KBiffStatusListIterator; +typedef TQPtrList<KBiffStatusItem> KBiffStatusList; +typedef TQPtrListIterator<KBiffStatusItem> KBiffStatusListIterator; class KBiffStatus : public TQFrame { |