summaryrefslogtreecommitdiffstats
path: root/parts/filecreate/addglobaldlg.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 /parts/filecreate/addglobaldlg.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 'parts/filecreate/addglobaldlg.cpp')
-rw-r--r--parts/filecreate/addglobaldlg.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/parts/filecreate/addglobaldlg.cpp b/parts/filecreate/addglobaldlg.cpp
index 11a0f2a6..ca31669f 100644
--- a/parts/filecreate/addglobaldlg.cpp
+++ b/parts/filecreate/addglobaldlg.cpp
@@ -21,14 +21,14 @@
#include <klocale.h>
/*
- * Constructs a AddGlobalDlg as a child of 'parent', with the
+ * Constructs a AddGlobalDlg as a child of 'tqparent', with the
* name 'name' and widget flags set to 'f'.
*
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
-AddGlobalDlg::AddGlobalDlg( TQWidget* parent, const char* name, bool modal, WFlags fl )
- : TQDialog( parent, name, modal, fl )
+AddGlobalDlg::AddGlobalDlg( TQWidget* tqparent, const char* name, bool modal, WFlags fl )
+ : TQDialog( tqparent, name, modal, fl )
{
if ( !name )
@@ -68,7 +68,7 @@ AddGlobalDlg::AddGlobalDlg( TQWidget* parent, const char* name, bool modal, WFla
AddGlobalDlgLayout->addWidget( fcglobal_view, 0, 0 );
languageChange();
- resize( TQSize(511, 282).expandedTo(minimumSizeHint()) );
+ resize( TQSize(511, 282).expandedTo(tqminimumSizeHint()) );
// signals and slots connections
connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
@@ -80,7 +80,7 @@ AddGlobalDlg::AddGlobalDlg( TQWidget* parent, const char* name, bool modal, WFla
*/
AddGlobalDlg::~AddGlobalDlg()
{
- // no need to delete child widgets, Qt does it all for us
+ // no need to delete child widgets, TQt does it all for us
}
/*
@@ -93,9 +93,9 @@ void AddGlobalDlg::languageChange()
buttonHelp->setGuiItem( KStdGuiItem::help() );
buttonHelp->setAccel( TQKeySequence( tr2i18n( "F1" ) ) );
buttonOk->setGuiItem( KStdGuiItem::ok() );
- buttonOk->setAccel( TQKeySequence( TQString::null ) );
+ buttonOk->setAccel( TQKeySequence( TQString() ) );
buttonCancel->setGuiItem( KStdGuiItem::cancel() );
- buttonCancel->setAccel( TQKeySequence( TQString::null ) );
+ buttonCancel->setAccel( TQKeySequence( TQString() ) );
fcglobal_view->header()->setLabel( 0, i18n( "Type extension:" ) );
fcglobal_view->header()->setLabel( 1, i18n( "Type name:" ) );
fcglobal_view->header()->setLabel( 2, i18n( "Template location:" ) );