summaryrefslogtreecommitdiffstats
path: root/parts/filecreate/addglobaldlg.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:56:07 +0000
commitd6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch)
treed109539636691d7b03036ca1c0ed29dbae6577cf /parts/filecreate/addglobaldlg.cpp
parent3331a47a9cad24795c7440ee8107143ce444ef34 (diff)
downloadtdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz
tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/filecreate/addglobaldlg.cpp')
-rw-r--r--parts/filecreate/addglobaldlg.cpp42
1 files changed, 21 insertions, 21 deletions
diff --git a/parts/filecreate/addglobaldlg.cpp b/parts/filecreate/addglobaldlg.cpp
index 0757d220..11a0f2a6 100644
--- a/parts/filecreate/addglobaldlg.cpp
+++ b/parts/filecreate/addglobaldlg.cpp
@@ -10,13 +10,13 @@
#include "addglobaldlg.h"
-#include <qvariant.h>
-#include <qheader.h>
-#include <qlistview.h>
-#include <qpushbutton.h>
-#include <qlayout.h>
-#include <qtooltip.h>
-#include <qwhatsthis.h>
+#include <tqvariant.h>
+#include <tqheader.h>
+#include <tqlistview.h>
+#include <tqpushbutton.h>
+#include <tqlayout.h>
+#include <tqtooltip.h>
+#include <tqwhatsthis.h>
#include <klocale.h>
@@ -27,21 +27,21 @@
* The dialog will by default be modeless, unless you set 'modal' to
* TRUE to construct a modal dialog.
*/
-AddGlobalDlg::AddGlobalDlg( QWidget* parent, const char* name, bool modal, WFlags fl )
- : QDialog( parent, name, modal, fl )
+AddGlobalDlg::AddGlobalDlg( TQWidget* parent, const char* name, bool modal, WFlags fl )
+ : TQDialog( parent, name, modal, fl )
{
if ( !name )
setName( "AddGlobalDlg" );
setSizeGripEnabled( TRUE );
- AddGlobalDlgLayout = new QGridLayout( this, 1, 1, 11, 6, "AddGlobalDlgLayout");
+ AddGlobalDlgLayout = new TQGridLayout( this, 1, 1, 11, 6, "AddGlobalDlgLayout");
- Layout1 = new QHBoxLayout( 0, 0, 6, "Layout1");
+ Layout1 = new TQHBoxLayout( 0, 0, 6, "Layout1");
buttonHelp = new KPushButton( this, "buttonHelp" );
buttonHelp->setAutoDefault( TRUE );
Layout1->addWidget( buttonHelp );
- QSpacerItem* spacer = new QSpacerItem( 20, 20, QSizePolicy::Expanding, QSizePolicy::Minimum );
+ TQSpacerItem* spacer = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum );
Layout1->addItem( spacer );
buttonOk = new KPushButton( this, "buttonOk" );
@@ -55,24 +55,24 @@ AddGlobalDlg::AddGlobalDlg( QWidget* parent, const char* name, bool modal, WFlag
AddGlobalDlgLayout->addLayout( Layout1, 1, 0 );
- fcglobal_view = new QListView( this, "fcglobal_view" );
+ fcglobal_view = new TQListView( this, "fcglobal_view" );
fcglobal_view->addColumn( i18n( "Type Extension" ) );
fcglobal_view->addColumn( i18n( "Type Name" ) );
fcglobal_view->addColumn( i18n( "Template Location" ) );
fcglobal_view->addColumn( i18n( "Icon" ) );
fcglobal_view->addColumn( i18n( "Description" ) );
- fcglobal_view->setResizePolicy( QListView::AutoOne );
+ fcglobal_view->setResizePolicy( TQListView::AutoOne );
fcglobal_view->setAllColumnsShowFocus( TRUE );
fcglobal_view->setRootIsDecorated( TRUE );
- fcglobal_view->setResizeMode( QListView::AllColumns );
+ fcglobal_view->setResizeMode( TQListView::AllColumns );
AddGlobalDlgLayout->addWidget( fcglobal_view, 0, 0 );
languageChange();
- resize( QSize(511, 282).expandedTo(minimumSizeHint()) );
+ resize( TQSize(511, 282).expandedTo(minimumSizeHint()) );
// signals and slots connections
- connect( buttonOk, SIGNAL( clicked() ), this, SLOT( accept() ) );
- connect( buttonCancel, SIGNAL( clicked() ), this, SLOT( reject() ) );
+ connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
+ connect( buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( reject() ) );
}
/*
@@ -91,11 +91,11 @@ void AddGlobalDlg::languageChange()
{
setCaption( i18n( "Select Global File Types" ) );
buttonHelp->setGuiItem( KStdGuiItem::help() );
- buttonHelp->setAccel( QKeySequence( tr2i18n( "F1" ) ) );
+ buttonHelp->setAccel( TQKeySequence( tr2i18n( "F1" ) ) );
buttonOk->setGuiItem( KStdGuiItem::ok() );
- buttonOk->setAccel( QKeySequence( QString::null ) );
+ buttonOk->setAccel( TQKeySequence( TQString::null ) );
buttonCancel->setGuiItem( KStdGuiItem::cancel() );
- buttonCancel->setAccel( QKeySequence( QString::null ) );
+ buttonCancel->setAccel( TQKeySequence( TQString::null ) );
fcglobal_view->header()->setLabel( 0, i18n( "Type extension:" ) );
fcglobal_view->header()->setLabel( 1, i18n( "Type name:" ) );
fcglobal_view->header()->setLabel( 2, i18n( "Template location:" ) );