summaryrefslogtreecommitdiffstats
path: root/knode/kngroupmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/kngroupmanager.cpp')
-rw-r--r--knode/kngroupmanager.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/knode/kngroupmanager.cpp b/knode/kngroupmanager.cpp
index 4aa6a9444..dd8b05961 100644
--- a/knode/kngroupmanager.cpp
+++ b/knode/kngroupmanager.cpp
@@ -51,7 +51,7 @@ KNGroupInfo::KNGroupInfo()
}
-KNGroupInfo::KNGroupInfo(const TQString &n_ame, const TQString &d_escription, bool n_ewGroup, bool s_ubscribed, KNGroup::Status s_tatus)
+KNGroupInfo::KNGroupInfo(const TQString &n_ame, const TQString &d_escription, bool n_ewGroup, bool s_ubscribed, KNGroup::tqStatus s_tatus)
: name(n_ame), description(d_escription), newGroup(n_ewGroup), subscribed(s_ubscribed),
status(s_tatus)
{
@@ -101,7 +101,7 @@ bool KNGroupListData::readIn(KNProtocolClient *client)
int sepPos1,sepPos2;
TQString name,description;
bool sub;
- KNGroup::Status status=KNGroup::unknown;
+ KNGroup::tqStatus status=KNGroup::unknown;
TQTime timer;
uint size=f.size()+2;
@@ -435,7 +435,7 @@ void KNGroupManager::subscribeGroup(const KNGroupInfo *gi, KNNntpAccount *a)
grp=new KNGroup(a);
grp->setGroupname(gi->name);
grp->setDescription(gi->description);
- grp->seStatus(gi->status);
+ grp->setqStatus(gi->status);
grp->saveInfo();
mGroupList.append( grp );
emit groupAdded(grp);
@@ -449,7 +449,7 @@ bool KNGroupManager::unsubscribeGroup(KNGroup *g)
if(!g) return false;
if((g->isLocked()) || (g->lockedArticles()>0)) {
- KMessageBox::sorry(knGlobals.topWidget, i18n("The group \"%1\" is being updated currently.\nIt is not possible to unsubscribe from it at the moment.").arg(g->groupname()));
+ KMessageBox::sorry(knGlobals.topWidget, i18n("The group \"%1\" is being updated currently.\nIt is not possible to unsubscribe from it at the moment.").tqarg(g->groupname()));
return false;
}
@@ -596,7 +596,7 @@ void KNGroupManager::processJob(KNJobData *j)
for ( KNGroupInfo* inf = d->groups->first(); inf; inf = d->groups->next() )
if ( inf->name == (*it)->groupname() ) {
(*it)->setDescription( inf->description );
- (*it)->seStatus( inf->status );
+ (*it)->setqStatus( inf->status );
break;
}
}