summaryrefslogtreecommitdiffstats
path: root/knode/knconvert.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knode/knconvert.cpp')
-rw-r--r--knode/knconvert.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/knode/knconvert.cpp b/knode/knconvert.cpp
index aa730ab7..70d44703 100644
--- a/knode/knconvert.cpp
+++ b/knode/knconvert.cpp
@@ -12,7 +12,7 @@
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, US
*/
-#include <layout.h>
+#include <tqlayout.h>
#include <tqwidgetstack.h>
#include <tqlabel.h>
#include <tqcheckbox.h>
@@ -73,7 +73,7 @@ KNConvert::KNConvert(const TQString &version)
Unfortunately this version uses a different format for some data-files, so \
in order to keep your existing data it is necessary to convert it first. This is \
now done automatically by KNode. If you want to, a backup of your existing data \
-will be created before the conversion starts.").arg(KNODE_VERSION), w_1);
+will be created before the conversion starts.").tqarg(KNODE_VERSION), w_1);
w1L->addMultiCellWidget(l1, 0,0, 0,2);
c_reateBkup=new TQCheckBox(i18n("Create backup of old data"), w_1);
@@ -96,7 +96,7 @@ will be created before the conversion starts.").arg(KNODE_VERSION), w_1);
w_2=new TQLabel(s_tack);
w_2->setText(i18n("<b>Converting, please wait...</b>"));
- w_2->setAlignment(AlignCenter);
+ w_2->tqsetAlignment(AlignCenter);
s_tack->addWidget(w_2, 2);
w_3=new TQWidget(s_tack);
@@ -224,7 +224,7 @@ void KNConvert::slotTarExited(KProcess *proc)
delete t_ar;
t_ar = 0;
if(success)
- l_og.append(i18n("created backup of the old data-files in %1").arg(b_ackupPath->text()));
+ l_og.append(i18n("created backup of the old data-files in %1").tqarg(b_ackupPath->text()));
else
l_og.append(i18n("backup failed."));
@@ -402,7 +402,7 @@ int KNConvert::Converter04::convertFolder(TQString srcPrefix, TQString dstPrefix
TQCString buff(size+10);
srcMBox.at(oldIdx.so);
int readBytes=srcMBox.readBlock(buff.data(), size);
- buff.at(readBytes)='\0'; //terminate string;
+ buff.tqat(readBytes)='\0'; //terminate string;
//remove "X-KNode-Overview"
int pos=buff.find('\n');