summaryrefslogtreecommitdiffstats
path: root/languages/sql/sqlsupport_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/sql/sqlsupport_part.cpp')
-rw-r--r--languages/sql/sqlsupport_part.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/languages/sql/sqlsupport_part.cpp b/languages/sql/sqlsupport_part.cpp
index 96e8ed4f..096d49d9 100644
--- a/languages/sql/sqlsupport_part.cpp
+++ b/languages/sql/sqlsupport_part.cpp
@@ -40,20 +40,20 @@ SQLSupportPart::SQLSupportPart( TQObject *parent, const char *name, const TQStri
setXMLFile( "kdevsqlsupport.rc" );
TDEAction *action;
- action = new TDEAction( i18n( "&Run" ), "application-x-executable", Key_F9, this, TQT_SLOT( slotRun() ), actionCollection(), "build_execute" );
+ action = new TDEAction( i18n( "&Run" ), "application-x-executable", Key_F9, this, TQ_SLOT( slotRun() ), actionCollection(), "build_execute" );
action->setToolTip(i18n("Run"));
action->setWhatsThis(i18n("<b>Run</b><p>Executes a SQL script."));
- dbAction = new SqlListAction( this, i18n( "&Database Connections" ), 0, this, TQT_SLOT(activeConnectionChanged()), actionCollection(), "connection_combo" );
+ dbAction = new SqlListAction( this, i18n( "&Database Connections" ), 0, this, TQ_SLOT(activeConnectionChanged()), actionCollection(), "connection_combo" );
kdDebug( 9000 ) << "Creating SQLSupportPart" << endl;
- connect( core(), TQT_SIGNAL( projectConfigWidget( KDialogBase* ) ),
- this, TQT_SLOT( projectConfigWidget( KDialogBase* ) ) );
- connect( core(), TQT_SIGNAL(projectOpened()), this, TQT_SLOT(projectOpened()) );
- connect( core(), TQT_SIGNAL(projectClosed()), this, TQT_SLOT(projectClosed()) );
- connect( core(), TQT_SIGNAL(languageChanged()), this, TQT_SLOT(projectOpened()) );
- connect( partController(), TQT_SIGNAL( savedFile( const KURL& ) ), this, TQT_SLOT( savedFile( const KURL& ) ) );
+ connect( core(), TQ_SIGNAL( projectConfigWidget( KDialogBase* ) ),
+ this, TQ_SLOT( projectConfigWidget( KDialogBase* ) ) );
+ connect( core(), TQ_SIGNAL(projectOpened()), this, TQ_SLOT(projectOpened()) );
+ connect( core(), TQ_SIGNAL(projectClosed()), this, TQ_SLOT(projectClosed()) );
+ connect( core(), TQ_SIGNAL(languageChanged()), this, TQ_SLOT(projectOpened()) );
+ connect( partController(), TQ_SIGNAL( savedFile( const KURL& ) ), this, TQ_SLOT( savedFile( const KURL& ) ) );
m_widget = new SqlOutputWidget();
mainWindow()->embedOutputView( m_widget, i18n( "SQL" ), i18n( "Output of SQL commands" ) );
@@ -136,22 +136,22 @@ void SQLSupportPart::projectConfigWidget( KDialogBase *dlg )
SqlConfigWidget *w = new SqlConfigWidget( (TQWidget*)vbox, "SQL config widget" );
w->setProjectDom( projectDom() );
w->loadConfig();
- connect( dlg, TQT_SIGNAL(okClicked()), w, TQT_SLOT(accept()) );
- connect( w, TQT_SIGNAL(newConfigSaved()), this, TQT_SLOT(loadConfig()) );
+ connect( dlg, TQ_SIGNAL(okClicked()), w, TQ_SLOT(accept()) );
+ connect( w, TQ_SIGNAL(newConfigSaved()), this, TQ_SLOT(loadConfig()) );
}
void SQLSupportPart::projectOpened()
{
- connect( project(), TQT_SIGNAL( addedFilesToProject( const TQStringList & ) ),
- this, TQT_SLOT( addedFilesToProject( const TQStringList & ) ) );
- connect( project(), TQT_SIGNAL( removedFilesFromProject( const TQStringList & ) ),
- this, TQT_SLOT( removedFilesFromProject( const TQStringList & ) ) );
+ connect( project(), TQ_SIGNAL( addedFilesToProject( const TQStringList & ) ),
+ this, TQ_SLOT( addedFilesToProject( const TQStringList & ) ) );
+ connect( project(), TQ_SIGNAL( removedFilesFromProject( const TQStringList & ) ),
+ this, TQ_SLOT( removedFilesFromProject( const TQStringList & ) ) );
loadConfig();
// We want to parse only after all components have been
// properly initialized
- TQTimer::singleShot( 0, this, TQT_SLOT( parse() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( parse() ) );
}