summaryrefslogtreecommitdiffstats
path: root/src/widgets/qlineedit.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-27 19:25:43 +0900
commitfb401a891f1b426e9419c0cb16403df407138611 (patch)
tree045b51949b3140039e37d898d8b0513016a86bea /src/widgets/qlineedit.cpp
parenta9d178f1000475ba1727ffe123a2c54585488c01 (diff)
downloadtqt3-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.cpp14
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()) );
}
}