summaryrefslogtreecommitdiffstats
path: root/cervisia/progressdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /cervisia/progressdlg.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/progressdlg.cpp')
-rw-r--r--cervisia/progressdlg.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cervisia/progressdlg.cpp b/cervisia/progressdlg.cpp
index a7e34018..d77c25f2 100644
--- a/cervisia/progressdlg.cpp
+++ b/cervisia/progressdlg.cpp
@@ -52,10 +52,10 @@ struct ProgressDialog::Private
};
-ProgressDialog::ProgressDialog(TQWidget* parent, const TQString& heading,
+ProgressDialog::ProgressDialog(TQWidget* tqparent, const TQString& heading,
const DCOPRef& job, const TQString& errorIndicator,
const TQString& caption)
- : KDialogBase(parent, 0, true, caption, Cancel, Cancel, true)
+ : KDialogBase(tqparent, 0, true, caption, Cancel, Cancel, true)
, DCOPObject()
, d(new Private)
{
@@ -90,8 +90,8 @@ void ProgressDialog::setupGui(const TQString& heading)
TQHBoxLayout* hboxLayout = new TQHBoxLayout(headingBox);
TQLabel* textLabel = new TQLabel(heading, headingBox);
- textLabel->setMinimumWidth(textLabel->sizeHint().width());
- textLabel->setFixedHeight(textLabel->sizeHint().height());
+ textLabel->setMinimumWidth(textLabel->tqsizeHint().width());
+ textLabel->setFixedHeight(textLabel->tqsizeHint().height());
hboxLayout->addWidget(textLabel);
hboxLayout->addStretch();
@@ -104,7 +104,7 @@ void ProgressDialog::setupGui(const TQString& heading)
TQFontMetrics fm(d->resultbox->fontMetrics());
d->resultbox->setMinimumSize(fm.width("0")*70, fm.lineSpacing()*8);
- resize(sizeHint());
+ resize(tqsizeHint());
}
@@ -252,7 +252,7 @@ void ProgressDialog::startGuiPart()
void ProgressDialog::processOutput()
{
int pos;
- while( (pos = d->buffer.find('\n')) != -1 )
+ while( (pos = d->buffer.tqfind('\n')) != -1 )
{
TQString item = d->buffer.left(pos);
if( item.startsWith(d->errorId1) ||