summaryrefslogtreecommitdiffstats
path: root/tools/designer/editor/editor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /tools/designer/editor/editor.cpp
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-fb401a891f1b426e9419c0cb16403df407138611.tar.gz
tqt3-fb401a891f1b426e9419c0cb16403df407138611.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tools/designer/editor/editor.cpp')
-rw-r--r--tools/designer/editor/editor.cpp12
1 files changed, 6 insertions, 6 deletions
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;
}