diff options
author | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /tools/designer/plugins/cppeditor/editorinterfaceimpl.cpp | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip |
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tools/designer/plugins/cppeditor/editorinterfaceimpl.cpp')
-rw-r--r-- | tools/designer/plugins/cppeditor/editorinterfaceimpl.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/designer/plugins/cppeditor/editorinterfaceimpl.cpp b/tools/designer/plugins/cppeditor/editorinterfaceimpl.cpp index 22e51cf49..7b7747f3b 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 ); } |