summaryrefslogtreecommitdiffstats
path: root/khelpcenter/kcmhelpcenter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /khelpcenter/kcmhelpcenter.cpp
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khelpcenter/kcmhelpcenter.cpp')
-rw-r--r--khelpcenter/kcmhelpcenter.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/khelpcenter/kcmhelpcenter.cpp b/khelpcenter/kcmhelpcenter.cpp
index aadce700a..65ce72c80 100644
--- a/khelpcenter/kcmhelpcenter.cpp
+++ b/khelpcenter/kcmhelpcenter.cpp
@@ -101,7 +101,7 @@ IndexProgressDialog::IndexProgressDialog( TQWidget *parent )
topLayout->setSpacing( spacingHint() );
mLabel = new TQLabel( this );
- mLabel->setAlignment( AlignHCenter );
+ mLabel->tqsetAlignment( AlignHCenter );
topLayout->addWidget( mLabel );
mProgressBar = new TQProgressBar( this );
@@ -215,7 +215,7 @@ void IndexProgressDialog::hideDetails()
mLogLabel->hide();
mLogView->hide();
mDetailsButton->setText( i18n("Details >>") );
- layout()->activate();
+ tqlayout()->activate();
adjustSize();
}
@@ -276,7 +276,7 @@ void KCMHelpCenter::setupMainWidget( TQWidget *parent )
mListView = new KListView( parent );
mListView->setFullWidth( true );
mListView->addColumn( i18n("Search Scope") );
- mListView->addColumn( i18n("Status") );
+ mListView->addColumn( i18n("tqStatus") );
mListView->setColumnAlignment( 1, AlignCenter );
topLayout->addWidget( mListView );
connect( mListView, TQT_SIGNAL( clicked( TQListViewItem * ) ),
@@ -337,10 +337,10 @@ void KCMHelpCenter::load()
}
}
- updateStatus();
+ updatetqStatus();
}
-void KCMHelpCenter::updateStatus()
+void KCMHelpCenter::updatetqStatus()
{
TQListViewItemIterator it( mListView );
while ( it.current() != 0 ) {
@@ -417,9 +417,9 @@ bool KCMHelpCenter::buildIndex()
.arg( entry->documentType() ) );
hasError = true;
} else {
- indexer.replace( TQRegExp( "%i" ), entry->identifier() );
- indexer.replace( TQRegExp( "%d" ), Prefs::indexDirectory() );
- indexer.replace( TQRegExp( "%p" ), entry->url() );
+ indexer.tqreplace( TQRegExp( "%i" ), entry->identifier() );
+ indexer.tqreplace( TQRegExp( "%d" ), Prefs::indexDirectory() );
+ indexer.tqreplace( TQRegExp( "%p" ), entry->url() );
kdDebug() << "INDEXER: " << indexer << endl;
*ts << indexer << endl;
@@ -574,7 +574,7 @@ void KCMHelpCenter::slotIndexProgress()
kdDebug() << "KCMHelpCenter::slotIndexProgress()" << endl;
- updateStatus();
+ updatetqStatus();
advanceProgress();
}