summaryrefslogtreecommitdiffstats
path: root/cervisia/updatedlg.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/updatedlg.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/updatedlg.cpp')
-rw-r--r--cervisia/updatedlg.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/cervisia/updatedlg.cpp b/cervisia/updatedlg.cpp
index 4cd4367c..71e88ebe 100644
--- a/cervisia/updatedlg.cpp
+++ b/cervisia/updatedlg.cpp
@@ -34,21 +34,21 @@
UpdateDialog::UpdateDialog(CvsService_stub* service,
- TQWidget *parent, const char *name)
- : KDialogBase(parent, name, true, i18n("CVS Update"),
+ TQWidget *tqparent, const char *name)
+ : KDialogBase(tqparent, name, true, i18n("CVS Update"),
Ok | Cancel, Ok, true),
cvsService(service)
{
int const iComboBoxMinWidth(40 * fontMetrics().width('0'));
- int const iWidgetIndent(style().pixelMetric(TQStyle::PM_ExclusiveIndicatorWidth, 0) + 6);
+ int const iWidgetIndent(tqstyle().tqpixelMetric(TQStyle::PM_ExclusiveIndicatorWidth, 0) + 6);
TQFrame* mainWidget = makeMainWidget();
- TQBoxLayout *layout = new TQVBoxLayout(mainWidget, 0, spacingHint());
+ TQBoxLayout *tqlayout = new TQVBoxLayout(mainWidget, 0, spacingHint());
bybranch_button = new TQRadioButton(i18n("Update to &branch: "), mainWidget);
bybranch_button->setChecked(true);
- layout->addWidget(bybranch_button);
+ tqlayout->addWidget(bybranch_button);
branch_combo = new TQComboBox(true, mainWidget);
branch_combo->setMinimumWidth(iComboBoxMinWidth);
@@ -57,13 +57,13 @@ UpdateDialog::UpdateDialog(CvsService_stub* service,
connect( branch_button, TQT_SIGNAL(clicked()),
this, TQT_SLOT(branchButtonClicked()) );
- TQBoxLayout *branchedit_layout = new TQHBoxLayout(layout);
+ TQBoxLayout *branchedit_layout = new TQHBoxLayout(tqlayout);
branchedit_layout->addSpacing(iWidgetIndent);
branchedit_layout->addWidget(branch_combo);
branchedit_layout->addWidget(branch_button);
bytag_button = new TQRadioButton(i18n("Update to &tag: "), mainWidget);
- layout->addWidget(bytag_button);
+ tqlayout->addWidget(bytag_button);
tag_combo = new TQComboBox(true, mainWidget);
tag_combo->setMinimumWidth(iComboBoxMinWidth);
@@ -72,17 +72,17 @@ UpdateDialog::UpdateDialog(CvsService_stub* service,
connect( tag_button, TQT_SIGNAL(clicked()),
this, TQT_SLOT(tagButtonClicked()) );
- TQBoxLayout *tagedit_layout = new TQHBoxLayout(layout);
+ TQBoxLayout *tagedit_layout = new TQHBoxLayout(tqlayout);
tagedit_layout->addSpacing(iWidgetIndent);
tagedit_layout->addWidget(tag_combo);
tagedit_layout->addWidget(tag_button);
bydate_button = new TQRadioButton(i18n("Update to &date ('yyyy-mm-dd'):"), mainWidget);
- layout->addWidget(bydate_button);
+ tqlayout->addWidget(bydate_button);
date_edit = new KLineEdit(mainWidget);
- TQBoxLayout *dateedit_layout = new TQHBoxLayout(layout);
+ TQBoxLayout *dateedit_layout = new TQHBoxLayout(tqlayout);
dateedit_layout->addSpacing(iWidgetIndent);
dateedit_layout->addWidget(date_edit);