diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-27 19:25:43 +0900 |
commit | fb401a891f1b426e9419c0cb16403df407138611 (patch) | |
tree | 045b51949b3140039e37d898d8b0513016a86bea /src/widgets/qlineedit.cpp | |
parent | a9d178f1000475ba1727ffe123a2c54585488c01 (diff) | |
download | tqt3-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 'src/widgets/qlineedit.cpp')
-rw-r--r-- | src/widgets/qlineedit.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/widgets/qlineedit.cpp b/src/widgets/qlineedit.cpp index 27f5867c0..41ad01350 100644 --- a/src/widgets/qlineedit.cpp +++ b/src/widgets/qlineedit.cpp @@ -669,12 +669,12 @@ const TQValidator * TQLineEdit::validator() const void TQLineEdit::setValidator( const TQValidator *v ) { if ( d->validator ) - disconnect( (TQObject*)d->validator, SIGNAL( destroyed() ), - this, SLOT( clearValidator() ) ); + disconnect( (TQObject*)d->validator, TQ_SIGNAL( destroyed() ), + this, TQ_SLOT( clearValidator() ) ); d->validator = v; if ( d->validator ) - connect( (TQObject*)d->validator, SIGNAL( destroyed() ), - this, SLOT( clearValidator() ) ); + connect( (TQObject*)d->validator, TQ_SIGNAL( destroyed() ), + this, TQ_SLOT( clearValidator() ) ); } @@ -1349,10 +1349,10 @@ void TQLineEditPrivate::copy( bool clipboard ) const { TQString t = q->selectedText(); if ( !t.isEmpty() && echoMode == TQLineEdit::Normal ) { - q->disconnect( TQApplication::clipboard(), SIGNAL(selectionChanged()), q, 0); + q->disconnect( TQApplication::clipboard(), TQ_SIGNAL(selectionChanged()), q, 0); TQApplication::clipboard()->setText( t, clipboard ? TQClipboard::Clipboard : TQClipboard::Selection ); - q->connect( TQApplication::clipboard(), SIGNAL(selectionChanged()), - q, SLOT(clipboardChanged()) ); + q->connect( TQApplication::clipboard(), TQ_SIGNAL(selectionChanged()), + q, TQ_SLOT(clipboardChanged()) ); } } |