diff options
Diffstat (limited to 'src/editor.cpp')
-rw-r--r-- | src/editor.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/editor.cpp b/src/editor.cpp index ba1336c..fdc26c1 100644 --- a/src/editor.cpp +++ b/src/editor.cpp @@ -233,16 +233,16 @@ Editor::Editor( TQWidget* parent, const char* name ): setTabChangesFocus( true ); setLinkUnderline( false ); - connect( d->completion, TQT_SIGNAL( selectedCompletion( const TQString& ) ), - TQT_SLOT( autoComplete( const TQString& ) ) ); - connect( this, TQT_SIGNAL( textChanged() ), TQT_SLOT( checkAutoComplete() ) ); - connect( d->completionTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( triggerAutoComplete() ) ); - - connect( this, TQT_SIGNAL( textChanged() ), TQT_SLOT( checkMatching() ) ); - connect( d->matchingTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( doMatchingLeft() ) ); - connect( d->matchingTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( doMatchingRight() ) ); - connect( this, TQT_SIGNAL( textChanged() ), TQT_SLOT( checkAutoCalc() ) ); - connect( d->autoCalcTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( autoCalc() ) ); + connect( d->completion, TQ_SIGNAL( selectedCompletion( const TQString& ) ), + TQ_SLOT( autoComplete( const TQString& ) ) ); + connect( this, TQ_SIGNAL( textChanged() ), TQ_SLOT( checkAutoComplete() ) ); + connect( d->completionTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( triggerAutoComplete() ) ); + + connect( this, TQ_SIGNAL( textChanged() ), TQ_SLOT( checkMatching() ) ); + connect( d->matchingTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( doMatchingLeft() ) ); + connect( d->matchingTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( doMatchingRight() ) ); + connect( this, TQ_SIGNAL( textChanged() ), TQ_SLOT( checkAutoCalc() ) ); + connect( d->autoCalcTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( autoCalc() ) ); d->autoCalcLabel = new CalcResultLabel( 0, "autocalc", WStyle_StaysOnTop | WStyle_Customize | WStyle_NoBorder | WStyle_Tool | WX11BypassWM ); d->autoCalcLabel->setFrameStyle( TQFrame::Plain | TQFrame::Box ); @@ -639,7 +639,7 @@ void Editor::autoCalc() d->autoCalcLabel->raise(); // do not show it forever - TQTimer::singleShot( 5000, d->autoCalcLabel, TQT_SLOT( hide()) ); + TQTimer::singleShot( 5000, d->autoCalcLabel, TQ_SLOT( hide()) ); } else { @@ -850,7 +850,7 @@ void EditorCompletion::showCompletion( const TQStringList &choices ) if(!shown) { d->completionPopup->show(); - TQTimer::singleShot ( 0, this, TQT_SLOT(moveCompletionPopup()) ); + TQTimer::singleShot ( 0, this, TQ_SLOT(moveCompletionPopup()) ); } else { |