diff options
Diffstat (limited to 'cervisia/updatedlg.cpp')
-rw-r--r-- | cervisia/updatedlg.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cervisia/updatedlg.cpp b/cervisia/updatedlg.cpp index 1b49493e..4cd4367c 100644 --- a/cervisia/updatedlg.cpp +++ b/cervisia/updatedlg.cpp @@ -40,15 +40,15 @@ UpdateDialog::UpdateDialog(CvsService_stub* service, cvsService(service) { int const iComboBoxMinWidth(40 * fontMetrics().width('0')); - int const iWidgetIndent(tqstyle().pixelMetric(TQStyle::PM_ExclusiveIndicatorWidth, 0) + 6); + int const iWidgetIndent(style().pixelMetric(TQStyle::PM_ExclusiveIndicatorWidth, 0) + 6); TQFrame* mainWidget = makeMainWidget(); - TQBoxLayout *tqlayout = new TQVBoxLayout(mainWidget, 0, spacingHint()); + TQBoxLayout *layout = new TQVBoxLayout(mainWidget, 0, spacingHint()); bybranch_button = new TQRadioButton(i18n("Update to &branch: "), mainWidget); bybranch_button->setChecked(true); - tqlayout->addWidget(bybranch_button); + layout->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(tqlayout); + TQBoxLayout *branchedit_layout = new TQHBoxLayout(layout); branchedit_layout->addSpacing(iWidgetIndent); branchedit_layout->addWidget(branch_combo); branchedit_layout->addWidget(branch_button); bytag_button = new TQRadioButton(i18n("Update to &tag: "), mainWidget); - tqlayout->addWidget(bytag_button); + layout->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(tqlayout); + TQBoxLayout *tagedit_layout = new TQHBoxLayout(layout); 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); - tqlayout->addWidget(bydate_button); + layout->addWidget(bydate_button); date_edit = new KLineEdit(mainWidget); - TQBoxLayout *dateedit_layout = new TQHBoxLayout(tqlayout); + TQBoxLayout *dateedit_layout = new TQHBoxLayout(layout); dateedit_layout->addSpacing(iWidgetIndent); dateedit_layout->addWidget(date_edit); |