summaryrefslogtreecommitdiffstats
path: root/cervisia/tagdlg.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/tagdlg.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/tagdlg.cpp')
-rw-r--r--cervisia/tagdlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/cervisia/tagdlg.cpp b/cervisia/tagdlg.cpp
index 7dc3df0c..3563c381 100644
--- a/cervisia/tagdlg.cpp
+++ b/cervisia/tagdlg.cpp
@@ -35,8 +35,8 @@
using Cervisia::TagDialog;
TagDialog::TagDialog(ActionType action, CvsService_stub* service,
- TQWidget *parent, const char *name)
- : KDialogBase(parent, name, true, TQString::null,
+ TQWidget *tqparent, const char *name)
+ : KDialogBase(tqparent, name, true, TQString(),
Ok | Cancel | Help, Ok, true),
act(action),
cvsService(service),
@@ -47,7 +47,7 @@ TagDialog::TagDialog(ActionType action, CvsService_stub* service,
TQFrame* mainWidget = makeMainWidget();
- TQBoxLayout *layout = new TQVBoxLayout(mainWidget, 0, spacingHint());
+ TQBoxLayout *tqlayout = new TQVBoxLayout(mainWidget, 0, spacingHint());
if (action == Delete)
{
@@ -61,7 +61,7 @@ TagDialog::TagDialog(ActionType action, 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->addWidget(tag_label);
tagedit_layout->addWidget(tag_combo);
tagedit_layout->addWidget(tag_button);
@@ -74,15 +74,15 @@ TagDialog::TagDialog(ActionType action, CvsService_stub* service,
TQLabel *tag_label = new TQLabel(tag_edit, i18n("&Name of tag:"), mainWidget);
- TQBoxLayout *tagedit_layout = new TQHBoxLayout(layout);
+ TQBoxLayout *tagedit_layout = new TQHBoxLayout(tqlayout);
tagedit_layout->addWidget(tag_label);
tagedit_layout->addWidget(tag_edit);
branchtag_button = new TQCheckBox(i18n("Create &branch with this tag"), mainWidget);
- layout->addWidget(branchtag_button);
+ tqlayout->addWidget(branchtag_button);
forcetag_button = new TQCheckBox(i18n("&Force tag creation even if tag already exists"), mainWidget);
- layout->addWidget(forcetag_button);
+ tqlayout->addWidget(forcetag_button);
}
setHelp("taggingbranching");