From fb401a891f1b426e9419c0cb16403df407138611 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 27 Dec 2023 19:25:43 +0900 Subject: Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT Signed-off-by: Michele Calgaro --- tools/designer/editor/editor.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tools/designer/editor/editor.cpp') diff --git a/tools/designer/editor/editor.cpp b/tools/designer/editor/editor.cpp index cba812362..58b5ed90d 100644 --- a/tools/designer/editor/editor.cpp +++ b/tools/designer/editor/editor.cpp @@ -50,8 +50,8 @@ Editor::Editor( const TQString &fn, TQWidget *parent, const char *name ) setVScrollBarMode( TQScrollView::AlwaysOn ); document()->setUseFormatCollection( FALSE ); parenMatcher = new ParenMatcher; - connect( this, SIGNAL( cursorPositionChanged( TQTextCursor * ) ), - this, SLOT( cursorPosChanged( TQTextCursor * ) ) ); + connect( this, TQ_SIGNAL( cursorPositionChanged( TQTextCursor * ) ), + this, TQ_SLOT( cursorPosChanged( TQTextCursor * ) ) ); cfg = new Config; document()->addSelection( Error ); document()->addSelection( Step ); @@ -68,10 +68,10 @@ Editor::Editor( const TQString &fn, TQWidget *parent, const char *name ) accelComment = new TQAccel( this ); accelComment->connectItem( accelComment->insertItem( ALT + Key_C ), - this, SLOT( commentSelection() ) ); + this, TQ_SLOT( commentSelection() ) ); accelUncomment = new TQAccel( this ); accelUncomment->connectItem( accelUncomment->insertItem( ALT + Key_U ), - this, SLOT( uncommentSelection() ) ); + this, TQ_SLOT( uncommentSelection() ) ); editable = TRUE; } @@ -202,8 +202,8 @@ TQPopupMenu *Editor::createPopupMenu( const TQPoint &p ) { TQPopupMenu *menu = TQTextEdit::createPopupMenu( p ); menu->insertSeparator(); - menu->insertItem( tr( "C&omment Code\tAlt+C" ), this, SLOT( commentSelection() ) ); - menu->insertItem( tr( "Unco&mment Code\tAlt+U" ), this, SLOT( uncommentSelection() ) ); + menu->insertItem( tr( "C&omment Code\tAlt+C" ), this, TQ_SLOT( commentSelection() ) ); + menu->insertItem( tr( "Unco&mment Code\tAlt+U" ), this, TQ_SLOT( uncommentSelection() ) ); return menu; } -- cgit v1.2.1