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-31 22:16:03 +0900
commitecca365daf06c711cf30f93f4c773dabf5642790 (patch)
tree0b2f6780f60fd7eb35c84cc899e7d51db189d67d /tools/designer/editor/editor.cpp
parent1c30858477bcf3a4c74866d9a3d26f57753dd36a (diff)
downloadtqt-ecca365d.tar.gz
tqt-ecca365d.zip
Rename METHOD, SIGNAL, SLOT to TQ_METHOD, TQ_SIGNAL, TQ_SLOT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit fb401a891f1b426e9419c0cb16403df407138611)
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;
}