summaryrefslogtreecommitdiffstats
path: root/tools/designer/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'tools/designer/plugins')
-rw-r--r--tools/designer/plugins/cppeditor/cppeditor.cpp6
-rw-r--r--tools/designer/plugins/cppeditor/editorinterfaceimpl.cpp12
-rw-r--r--tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp4
-rw-r--r--tools/designer/plugins/cppeditor/projectsettingsinterfaceimpl.cpp4
-rw-r--r--tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp2
-rw-r--r--tools/designer/plugins/wizards/sqlformwizardimpl.cpp2
6 files changed, 15 insertions, 15 deletions
diff --git a/tools/designer/plugins/cppeditor/cppeditor.cpp b/tools/designer/plugins/cppeditor/cppeditor.cpp
index 13069230..8b567ab2 100644
--- a/tools/designer/plugins/cppeditor/cppeditor.cpp
+++ b/tools/designer/plugins/cppeditor/cppeditor.cpp
@@ -108,9 +108,9 @@ TQPopupMenu *CppEditor::createPopupMenu( const TQPoint &p )
{
TQPopupMenu *m = Editor::createPopupMenu( p );
m->insertSeparator();
- int adddeclid = m->insertItem( tr( "Add Include File (in Declaration)..." ), this, SLOT( addInclDecl() ) );
- int addimplid = m->insertItem( tr( "Add Include File (in Implementation)..." ), this, SLOT( addInclImpl() ) );
- int addforid = m->insertItem( tr( "Add Forward Declaration..." ), this, SLOT( addForward() ) );
+ int adddeclid = m->insertItem( tr( "Add Include File (in Declaration)..." ), this, TQ_SLOT( addInclDecl() ) );
+ int addimplid = m->insertItem( tr( "Add Include File (in Implementation)..." ), this, TQ_SLOT( addInclImpl() ) );
+ int addforid = m->insertItem( tr( "Add Forward Declaration..." ), this, TQ_SLOT( addForward() ) );
if ( !dIface->currentForm() ) {
m->setItemEnabled( adddeclid, FALSE );
m->setItemEnabled( addimplid, FALSE );
diff --git a/tools/designer/plugins/cppeditor/editorinterfaceimpl.cpp b/tools/designer/plugins/cppeditor/editorinterfaceimpl.cpp
index 22e51cf4..7b7747f3 100644
--- a/tools/designer/plugins/cppeditor/editorinterfaceimpl.cpp
+++ b/tools/designer/plugins/cppeditor/editorinterfaceimpl.cpp
@@ -45,8 +45,8 @@ EditorInterfaceImpl::EditorInterfaceImpl()
: EditorInterface(), viewManager( 0 ), dIface( 0 )
{
updateTimer = new TQTimer( this );
- connect( updateTimer, SIGNAL( timeout() ),
- this, SLOT( update() ) );
+ connect( updateTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( update() ) );
}
EditorInterfaceImpl::~EditorInterfaceImpl()
@@ -82,7 +82,7 @@ TQWidget *EditorInterfaceImpl::editor( bool readonly,
CppEditor *e = new CppEditor( TQString::null, viewManager, "editor", dIface );
e->setEditable( !readonly );
e->installEventFilter( this );
- connect( e, SIGNAL( intervalChanged() ), this, SLOT( intervalChanged() ) );
+ connect( e, TQ_SIGNAL( intervalChanged() ), this, TQ_SLOT( intervalChanged() ) );
TQApplication::sendPostedEvents( viewManager, TQEvent::ChildInserted );
}
return viewManager->currentView();
@@ -93,10 +93,10 @@ void EditorInterfaceImpl::setText( const TQString &txt )
if ( !viewManager || !viewManager->currentView() )
return;
CppEditor *e = (CppEditor*)viewManager->currentView();
- disconnect( e, SIGNAL( modificationChanged( bool ) ), this, SLOT( modificationChanged( bool ) ) );
+ disconnect( e, TQ_SIGNAL( modificationChanged( bool ) ), this, TQ_SLOT( modificationChanged( bool ) ) );
e->setText( txt );
e->setModified( FALSE );
- connect( e, SIGNAL( modificationChanged( bool ) ), this, SLOT( modificationChanged( bool ) ) );
+ connect( e, TQ_SIGNAL( modificationChanged( bool ) ), this, TQ_SLOT( modificationChanged( bool ) ) );
}
TQString EditorInterfaceImpl::text() const
@@ -334,5 +334,5 @@ void EditorInterfaceImpl::onBreakPointChange( TQObject *receiver, const char *sl
{
if ( !viewManager )
return;
- connect( viewManager, SIGNAL( markersChanged() ), receiver, slot );
+ connect( viewManager, TQ_SIGNAL( markersChanged() ), receiver, slot );
}
diff --git a/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp b/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp
index a0b174b7..96a5d217 100644
--- a/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp
+++ b/tools/designer/plugins/cppeditor/preferenceinterfaceimpl.cpp
@@ -91,8 +91,8 @@ PreferenceInterface::Preference *PreferenceInterfaceImpl::preference()
pf->tab = cppEditorSyntax;
pf->title = "C++ Editor";
pf->receiver = pf->tab;
- pf->init_slot = SLOT( reInit() );
- pf->accept_slot = SLOT( save() );
+ pf->init_slot = TQ_SLOT( reInit() );
+ pf->accept_slot = TQ_SLOT( save() );
return pf;
}
diff --git a/tools/designer/plugins/cppeditor/projectsettingsinterfaceimpl.cpp b/tools/designer/plugins/cppeditor/projectsettingsinterfaceimpl.cpp
index 8f042a71..5bbc9bdc 100644
--- a/tools/designer/plugins/cppeditor/projectsettingsinterfaceimpl.cpp
+++ b/tools/designer/plugins/cppeditor/projectsettingsinterfaceimpl.cpp
@@ -69,8 +69,8 @@ ProjectSettingsInterface::ProjectSettings *ProjectSettingsInterfaceImpl::project
pf->tab = settingsTab;
pf->title = "C++";
pf->receiver = pf->tab;
- pf->init_slot = SLOT( reInit( TQUnknownInterface * ) );
- pf->accept_slot = SLOT( save( TQUnknownInterface * ) );
+ pf->init_slot = TQ_SLOT( reInit( TQUnknownInterface * ) );
+ pf->accept_slot = TQ_SLOT( save( TQUnknownInterface * ) );
return pf;
}
diff --git a/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp b/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp
index a140903f..fbf6f059 100644
--- a/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp
+++ b/tools/designer/plugins/cppeditor/sourcetemplateinterfaceimpl.cpp
@@ -76,7 +76,7 @@ static TQString generateMainCppCode( const TQString &formname, const TQString &i
code += " TQApplication a( argc, argv );\n";
code += " " + formname + " w;\n";
code += " w.show();\n";
- code += " a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );\n";
+ code += " a.connect( &a, TQ_SIGNAL( lastWindowClosed() ), &a, TQ_SLOT( quit() ) );\n";
code += " return a.exec();\n";
code += "}\n";
return code;
diff --git a/tools/designer/plugins/wizards/sqlformwizardimpl.cpp b/tools/designer/plugins/wizards/sqlformwizardimpl.cpp
index 5da841fe..adb283a7 100644
--- a/tools/designer/plugins/wizards/sqlformwizardimpl.cpp
+++ b/tools/designer/plugins/wizards/sqlformwizardimpl.cpp
@@ -91,7 +91,7 @@ SqlFormWizard::SqlFormWizard( TQUnknownInterface *aIface, TQWidget *w,
mode = View;
}
- connect( nextButton(), SIGNAL(clicked()), SLOT(nextPageClicked()) );
+ connect( nextButton(), TQ_SIGNAL(clicked()), TQ_SLOT(nextPageClicked()) );
setupPage1();
}