diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:46:08 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:46:08 +0900 |
| commit | fb3d13c23bf3cc67b910174f9966581b80638f02 (patch) | |
| tree | 0c04ee9a295c95ebaf871fe5600e42e277ea9548 /src/editor.cpp | |
| parent | d343e30ff1ad7373c9467834485469ca990fe67d (diff) | |
| download | abakus-fb3d13c23bf3cc67b910174f9966581b80638f02.tar.gz abakus-fb3d13c23bf3cc67b910174f9966581b80638f02.zip | |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 { |
