summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/addtranslationdlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /buildtools/autotools/addtranslationdlg.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'buildtools/autotools/addtranslationdlg.cpp')
-rw-r--r--buildtools/autotools/addtranslationdlg.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/buildtools/autotools/addtranslationdlg.cpp b/buildtools/autotools/addtranslationdlg.cpp
index 559e1369..6057bb65 100644
--- a/buildtools/autotools/addtranslationdlg.cpp
+++ b/buildtools/autotools/addtranslationdlg.cpp
@@ -31,8 +31,8 @@
#include "autoprojectpart.h"
-AddTranslationDialog::AddTranslationDialog(AutoProjectPart *part, TQWidget *parent, const char *name)
- : TQDialog(parent, name, true)
+AddTranslationDialog::AddTranslationDialog(AutoProjectPart *part, TQWidget *tqparent, const char *name)
+ : TQDialog(tqparent, name, true)
{
setCaption(i18n("Add Translation"));
@@ -42,12 +42,12 @@ AddTranslationDialog::AddTranslationDialog(AutoProjectPart *part, TQWidget *pare
(void) new TQLabel(i18n("Language:"), hbox);
lang_combo = new TQComboBox(hbox);
- TQVBoxLayout *layout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
- layout->addWidget(hbox);
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(this, KDialog::marginHint(), KDialog::spacingHint());
+ tqlayout->addWidget(hbox);
TQFrame *frame = new TQFrame(this);
frame->setFrameStyle(TQFrame::HLine | TQFrame::Sunken);
- layout->addWidget(frame, 0);
+ tqlayout->addWidget(frame, 0);
KButtonBox *buttonbox = new KButtonBox(this);
buttonbox->addStretch();
@@ -56,8 +56,8 @@ AddTranslationDialog::AddTranslationDialog(AutoProjectPart *part, TQWidget *pare
ok_button->setDefault(true);
connect( ok_button, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept()) );
connect( cancel_button, TQT_SIGNAL(clicked()), this, TQT_SLOT(reject()) );
- buttonbox->layout();
- layout->addWidget(buttonbox, 0);
+ buttonbox->tqlayout();
+ tqlayout->addWidget(buttonbox, 0);
TQStringList rawlist, list;
rawlist << "af" << "ar" << "bg" << "bo" << "br" << "bs" << "ca" << "cs" << "cy" << "da"
@@ -101,7 +101,7 @@ void AddTranslationDialog::accept()
f.close();
dir = m_part->buildDirectory() + "/po";
- m_part->startMakeCommand(dir, TQString::fromLatin1("force-reedit"));
+ m_part->startMakeCommand(dir, TQString::tqfromLatin1("force-reedit"));
TQDialog::accept();
}