diff options
Diffstat (limited to 'knode/kngroupmanager.cpp')
-rw-r--r-- | knode/kngroupmanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/knode/kngroupmanager.cpp b/knode/kngroupmanager.cpp index b429bd6c8..188a8e1b1 100644 --- a/knode/kngroupmanager.cpp +++ b/knode/kngroupmanager.cpp @@ -81,7 +81,7 @@ bool KNGroupInfo::operator< (const KNGroupInfo &gi2) KNGroupListData::KNGroupListData() : codecForDescriptions(0) { - groups = new TQSortedList<KNGroupInfo>; + groups = new TQPtrList<KNGroupInfo>; groups->setAutoDelete(true); } @@ -196,7 +196,7 @@ bool KNGroupListData::writeOut() // merge in new groups, we want to preserve the "subscribed"-flag // of the loaded groups and the "new"-flag of the new groups. -void KNGroupListData::merge(TQSortedList<KNGroupInfo>* newGroups) +void KNGroupListData::merge(TQPtrList<KNGroupInfo>* newGroups) { bool subscribed; @@ -213,9 +213,9 @@ void KNGroupListData::merge(TQSortedList<KNGroupInfo>* newGroups) } -TQSortedList<KNGroupInfo>* KNGroupListData::extractList() +TQPtrList<KNGroupInfo>* KNGroupListData::extractList() { - TQSortedList<KNGroupInfo>* temp = groups; + TQPtrList<KNGroupInfo>* temp = groups; groups = 0; return temp; } @@ -417,7 +417,7 @@ void KNGroupManager::showGroupDialog(KNNntpAccount *a, TQWidget *parent) } } - TQSortedList<KNGroupInfo> lst2; + TQPtrList<KNGroupInfo> lst2; gDialog->toSubscribe(&lst2); for(KNGroupInfo *var=lst2.first(); var; var=lst2.next()) { subscribeGroup(var, a); |