diff options
Diffstat (limited to 'knode/knfolder.cpp')
-rw-r--r-- | knode/knfolder.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/knode/knfolder.cpp b/knode/knfolder.cpp index 58ac7d0fc..5be7535c2 100644 --- a/knode/knfolder.cpp +++ b/knode/knfolder.cpp @@ -44,7 +44,7 @@ KNFolder::KNFolder() KNFolder::KNFolder(int id, const TQString &name, KNFolder *parent) : KNArticleCollection(parent), i_d(id), i_ndexDirty(false), w_asOpen(true) { - TQString fname=path()+TQString("custom_%1").tqarg(i_d); + TQString fname=path()+TQString("custom_%1").arg(i_d); n_ame = name; m_boxFile.setName(fname+".mbox"); @@ -63,7 +63,7 @@ KNFolder::KNFolder(int id, const TQString &name, KNFolder *parent) KNFolder::KNFolder(int id, const TQString &name, const TQString &prefix, KNFolder *parent) : KNArticleCollection(parent), i_d(id), i_ndexDirty(false), w_asOpen(true) { - TQString fname=path()+TQString("%1_%2").tqarg(prefix).tqarg(i_d); + TQString fname=path()+TQString("%1_%2").arg(prefix).arg(i_d); n_ame = name; m_boxFile.setName(fname+".mbox"); @@ -193,7 +193,7 @@ bool KNFolder::loadHdrs() int pos1=0, pos2=0, cnt=0, byteCount; knGlobals.top->setCursorBusy(true); - knGlobals.seStatusMsg(i18n(" Loading folder...")); + knGlobals.setStatusMsg(i18n(" Loading folder...")); knGlobals.top->secureProcessEvents(); while(!i_ndexFile.atEnd()) { @@ -284,7 +284,7 @@ bool KNFolder::loadHdrs() clear(); closeFiles(); - knGlobals.seStatusMsg(TQString()); + knGlobals.setStatusMsg(TQString()); knGlobals.top->setCursorBusy(false); return false; } @@ -297,7 +297,7 @@ bool KNFolder::loadHdrs() c_ount=cnt; updateListItem(); - knGlobals.seStatusMsg(TQString()); + knGlobals.setStatusMsg(TQString()); knGlobals.top->setCursorBusy(false); return true; @@ -356,7 +356,7 @@ bool KNFolder::loadArticle(KNLocalArticle *a) } //set content - buff.tqat(readBytes)='\0'; //terminate string + buff.at(readBytes)='\0'; //terminate string a->setContent(buff); a->parse(); |