From c663b6440964f6ac48027143ac9e63298991f9d0 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:33:34 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- khelpcenter/htmlsearch/progressdialog.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'khelpcenter/htmlsearch/progressdialog.cpp') diff --git a/khelpcenter/htmlsearch/progressdialog.cpp b/khelpcenter/htmlsearch/progressdialog.cpp index 497c90324..e7eafedb1 100644 --- a/khelpcenter/htmlsearch/progressdialog.cpp +++ b/khelpcenter/htmlsearch/progressdialog.cpp @@ -1,5 +1,5 @@ -#include -#include +#include +#include #include @@ -10,35 +10,35 @@ #include "progressdialog.moc" -ProgressDialog::ProgressDialog(QWidget *parent, const char *name) +ProgressDialog::ProgressDialog(TQWidget *parent, const char *name) : KDialogBase(KDialogBase::Plain, i18n("Generating Index"), Cancel, Cancel, parent, name, false) { - QGridLayout *grid = new QGridLayout(plainPage(), 5,3, spacingHint()); + TQGridLayout *grid = new TQGridLayout(plainPage(), 5,3, spacingHint()); - QLabel *l = new QLabel(i18n("Scanning for files"), plainPage()); + TQLabel *l = new TQLabel(i18n("Scanning for files"), plainPage()); grid->addMultiCellWidget(l, 0,0, 1,2); - filesScanned = new QLabel(plainPage()); + filesScanned = new TQLabel(plainPage()); grid->addWidget(filesScanned, 1,2); setFilesScanned(0); - check1 = new QLabel(plainPage()); + check1 = new TQLabel(plainPage()); grid->addWidget(check1, 0,0); - l = new QLabel(i18n("Extracting search terms"), plainPage()); + l = new TQLabel(i18n("Extracting search terms"), plainPage()); grid->addMultiCellWidget(l, 2,2, 1,2); bar = new KProgress(plainPage()); grid->addWidget(bar, 3,2); - check2 = new QLabel(plainPage()); + check2 = new TQLabel(plainPage()); grid->addWidget(check2, 2,0); - l = new QLabel(i18n("Generating index..."), plainPage()); + l = new TQLabel(i18n("Generating index..."), plainPage()); grid->addMultiCellWidget(l, 4,4, 1,2); - check3 = new QLabel(plainPage()); + check3 = new TQLabel(plainPage()); grid->addWidget(check3, 4,0); setState(0); @@ -67,8 +67,8 @@ void ProgressDialog::setFilesDigged(int n) void ProgressDialog::setState(int n) { - QPixmap unchecked = QPixmap(locate("data", "khelpcenter/pics/unchecked.xpm")); - QPixmap checked = QPixmap(locate("data", "khelpcenter/pics/checked.xpm")); + TQPixmap unchecked = TQPixmap(locate("data", "khelpcenter/pics/unchecked.xpm")); + TQPixmap checked = TQPixmap(locate("data", "khelpcenter/pics/checked.xpm")); check1->setPixmap( n > 0 ? checked : unchecked); check2->setPixmap( n > 1 ? checked : unchecked); -- cgit v1.2.1