diff options
Diffstat (limited to 'tools/designer/editor')
-rw-r--r-- | tools/designer/editor/arghintwidget.cpp | 4 | ||||
-rw-r--r-- | tools/designer/editor/completion.cpp | 2 | ||||
-rw-r--r-- | tools/designer/editor/editor.cpp | 12 | ||||
-rw-r--r-- | tools/designer/editor/viewmanager.cpp | 50 |
4 files changed, 34 insertions, 34 deletions
diff --git a/tools/designer/editor/arghintwidget.cpp b/tools/designer/editor/arghintwidget.cpp index c49066c0c..90bf4a8dd 100644 --- a/tools/designer/editor/arghintwidget.cpp +++ b/tools/designer/editor/arghintwidget.cpp @@ -180,8 +180,8 @@ ArgHintWidget::ArgHintWidget( TQWidget *parent, const char*name ) hbox->addWidget( ( next = new ArrowButton( this, "editor_right_btn", ArrowButton::Right ) ) ); funcLabel->setBackgroundColor( white ); funcLabel->setAlignment( AlignCenter ); - connect( prev, SIGNAL( clicked() ), this, SLOT( gotoPrev() ) ); - connect( next, SIGNAL( clicked() ), this, SLOT( gotoNext() ) ); + connect( prev, TQ_SIGNAL( clicked() ), this, TQ_SLOT( gotoPrev() ) ); + connect( next, TQ_SIGNAL( clicked() ), this, TQ_SLOT( gotoNext() ) ); updateState(); setFocusPolicy( NoFocus ); prev->setFocusPolicy( NoFocus ); diff --git a/tools/designer/editor/completion.cpp b/tools/designer/editor/completion.cpp index 77499c8d2..fb7365058 100644 --- a/tools/designer/editor/completion.cpp +++ b/tools/designer/editor/completion.cpp @@ -670,7 +670,7 @@ bool EditorCompletion::doArgumentHint( bool useIndex ) functionLabel->show(); curEditor->setFocus(); } - TQTimer::singleShot( 0, functionLabel, SLOT( relayout() ) ); + TQTimer::singleShot( 0, functionLabel, TQ_SLOT( relayout() ) ); return TRUE; } 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; } diff --git a/tools/designer/editor/viewmanager.cpp b/tools/designer/editor/viewmanager.cpp index 96c106f03..e3627bf5e 100644 --- a/tools/designer/editor/viewmanager.cpp +++ b/tools/designer/editor/viewmanager.cpp @@ -46,24 +46,24 @@ ViewManager::ViewManager( TQWidget *parent, const char *name ) { TQHBoxLayout *l = new TQHBoxLayout( this ); markerWidget = new MarkerWidget( this, "editor_markerwidget" ); - connect( markerWidget, SIGNAL( markersChanged() ), - this, SIGNAL( markersChanged() ) ); - connect( markerWidget, SIGNAL( collapseFunction( TQTextParagraph * ) ), - this, SIGNAL( collapseFunction( TQTextParagraph * ) ) ); - connect( markerWidget, SIGNAL( expandFunction( TQTextParagraph * ) ), - this, SIGNAL( expandFunction( TQTextParagraph * ) ) ); - connect( markerWidget, SIGNAL( collapse( bool ) ), - this, SIGNAL( collapse( bool ) ) ); - connect( markerWidget, SIGNAL( expand( bool ) ), - this, SIGNAL( expand( bool ) ) ); - connect( markerWidget, SIGNAL( editBreakPoints() ), - this, SIGNAL( editBreakPoints() ) ); - connect( markerWidget, SIGNAL( isBreakpointPossible( bool&, const TQString &, int ) ), - this, SIGNAL( isBreakpointPossible( bool&, const TQString &, int ) ) ); - connect( markerWidget, SIGNAL( showMessage( const TQString & ) ), - this, SLOT( showMessage( const TQString & ) ) ); + connect( markerWidget, TQ_SIGNAL( markersChanged() ), + this, TQ_SIGNAL( markersChanged() ) ); + connect( markerWidget, TQ_SIGNAL( collapseFunction( TQTextParagraph * ) ), + this, TQ_SIGNAL( collapseFunction( TQTextParagraph * ) ) ); + connect( markerWidget, TQ_SIGNAL( expandFunction( TQTextParagraph * ) ), + this, TQ_SIGNAL( expandFunction( TQTextParagraph * ) ) ); + connect( markerWidget, TQ_SIGNAL( collapse( bool ) ), + this, TQ_SIGNAL( collapse( bool ) ) ); + connect( markerWidget, TQ_SIGNAL( expand( bool ) ), + this, TQ_SIGNAL( expand( bool ) ) ); + connect( markerWidget, TQ_SIGNAL( editBreakPoints() ), + this, TQ_SIGNAL( editBreakPoints() ) ); + connect( markerWidget, TQ_SIGNAL( isBreakpointPossible( bool&, const TQString &, int ) ), + this, TQ_SIGNAL( isBreakpointPossible( bool&, const TQString &, int ) ) ); + connect( markerWidget, TQ_SIGNAL( showMessage( const TQString & ) ), + this, TQ_SLOT( showMessage( const TQString & ) ) ); messageTimer = new TQTimer( this ); - connect( messageTimer, SIGNAL( timeout() ), this, SLOT( clearStatusBar() ) ); + connect( messageTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( clearStatusBar() ) ); markerWidget->setFixedWidth( fontMetrics().width( "0000" ) + 20 ); l->addWidget( markerWidget ); layout = new TQVBoxLayout( l ); @@ -73,12 +73,12 @@ void ViewManager::addView( TQWidget *view ) { layout->addWidget( view ); curView = view; - connect( ( (Editor*)curView )->verticalScrollBar(), SIGNAL( valueChanged( int ) ), - markerWidget, SLOT( doRepaint() ) ); - connect( (Editor*)curView, SIGNAL( textChanged() ), - markerWidget, SLOT( doRepaint() ) ); - connect( (Editor*)curView, SIGNAL( clearErrorMarker() ), - this, SLOT( clearErrorMarker() ) ); + connect( ( (Editor*)curView )->verticalScrollBar(), TQ_SIGNAL( valueChanged( int ) ), + markerWidget, TQ_SLOT( doRepaint() ) ); + connect( (Editor*)curView, TQ_SIGNAL( textChanged() ), + markerWidget, TQ_SLOT( doRepaint() ) ); + connect( (Editor*)curView, TQ_SIGNAL( clearErrorMarker() ), + this, TQ_SLOT( clearErrorMarker() ) ); posLabel = new TQLabel( this, "editor_poslabel" ); posLabel->setAlignment( TQt::AlignVCenter | TQt::AlignRight ); posLabel->setText( " Line: 1 Col: 1" ); @@ -86,8 +86,8 @@ void ViewManager::addView( TQWidget *view ) posLabel->setLineWidth( 1 ); posLabel->setFixedHeight( posLabel->fontMetrics().height() ); layout->addWidget( posLabel ); - connect( curView, SIGNAL( cursorPositionChanged( int, int ) ), - this, SLOT( cursorPositionChanged( int, int ) ) ); + connect( curView, TQ_SIGNAL( cursorPositionChanged( int, int ) ), + this, TQ_SLOT( cursorPositionChanged( int, int ) ) ); } TQWidget *ViewManager::currentView() const |