summaryrefslogtreecommitdiffstats
path: root/libkdepim/kimportdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkdepim/kimportdialog.cpp')
-rw-r--r--libkdepim/kimportdialog.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkdepim/kimportdialog.cpp b/libkdepim/kimportdialog.cpp
index ffccd5008..cb59200a6 100644
--- a/libkdepim/kimportdialog.cpp
+++ b/libkdepim/kimportdialog.cpp
@@ -323,7 +323,7 @@ void KImportDialog::readFile( int rows )
pDialog.setAutoClose(true);
KProgress *progress = pDialog.progressBar();
- progress->setTotalSteps( mFile.contains(mSeparator, false) );
+ progress->setTotalSteps( mFile.tqcontains(mSeparator, false) );
progress->setValue(0);
int progressValue = 0;
@@ -337,7 +337,7 @@ void KImportDialog::readFile( int rows )
if (x == mSeparator)
{
progress->setValue(progressValue++);
- if (progressValue % 15 == 0) // try not to constantly repaint
+ if (progressValue % 15 == 0) // try not to constantly tqrepaint
kapp->processEvents();
}
@@ -550,9 +550,9 @@ void KImportDialog::assignColumn(TQListViewItem *item)
for(int i=selection.leftCol();i<=selection.rightCol();++i) {
if (i >= 0) {
mTable->horizontalHeader()->setLabel(i,colItem->text(0));
- mColumnDict.replace(i,colItem->column());
+ mColumnDict.tqreplace(i,colItem->column());
int format = mFormatCombo->currentItem() + 1;
- mFormats.replace(i,format);
+ mFormats.tqreplace(i,format);
colItem->column()->addColId(i);
}
}
@@ -616,8 +616,8 @@ void KImportDialog::assignTemplate()
continue;
KImportColumn *col = mColumns.at(i);
mTable->horizontalHeader()->setLabel( tableColumn, col->header() );
- mColumnDict.replace( tableColumn, col );
- mFormats.replace( tableColumn, format );
+ mColumnDict.tqreplace( tableColumn, col );
+ mFormats.tqreplace( tableColumn, format );
col->addColId( tableColumn );
}
@@ -698,7 +698,7 @@ void KImportDialog::addColumn(KImportColumn *col)
void KImportDialog::setData( uint row, uint col, const TQString &value )
{
TQString val = value;
- val.replace( "\\n", "\n" );
+ val.tqreplace( "\\n", "\n" );
if ( row >= mData.count() ) {
mData.resize( row + 1 );
@@ -734,7 +734,7 @@ void KImportDialog::saveTemplate()
if ( fileName.isEmpty() )
return;
- if ( !fileName.contains( ".desktop" ) )
+ if ( !fileName.tqcontains( ".desktop" ) )
fileName += ".desktop";
TQString name = KInputDialog::getText( i18n( "Template Name" ), i18n( "Please enter a name for the template:" ) );