summaryrefslogtreecommitdiffstats
path: root/tdeui/klineedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/klineedit.cpp')
-rw-r--r--tdeui/klineedit.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/tdeui/klineedit.cpp b/tdeui/klineedit.cpp
index ac3722a7a..c1fc7d8f0 100644
--- a/tdeui/klineedit.cpp
+++ b/tdeui/klineedit.cpp
@@ -136,7 +136,7 @@ void KLineEdit::init()
d->autoSuggest = (mode == TDEGlobalSettings::CompletionMan ||
mode == TDEGlobalSettings::CompletionPopupAuto ||
mode == TDEGlobalSettings::CompletionAuto);
- connect( this, TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(slotRestoreSelectionColors()));
+ connect( this, TQ_SIGNAL(selectionChanged()), this, TQ_SLOT(slotRestoreSelectionColors()));
TQPalette p = palette();
if ( !d->previousHighlightedTextColor.isValid() )
@@ -420,10 +420,10 @@ bool KLineEdit::copySqueezedText(bool clipboard) const
return false;
TQString t = d->squeezedText;
t = t.mid(start, end - start);
- disconnect( TQApplication::clipboard(), TQT_SIGNAL(selectionChanged()), this, 0);
+ disconnect( TQApplication::clipboard(), TQ_SIGNAL(selectionChanged()), this, 0);
TQApplication::clipboard()->setText( t, clipboard ? TQClipboard::Clipboard : TQClipboard::Selection );
- connect( TQApplication::clipboard(), TQT_SIGNAL(selectionChanged()), this,
- TQT_SLOT(clipboardChanged()) );
+ connect( TQApplication::clipboard(), TQ_SIGNAL(selectionChanged()), this,
+ TQ_SLOT(clipboardChanged()) );
return true;
}
return false;
@@ -821,7 +821,7 @@ void KLineEdit::mouseDoubleClickEvent( TQMouseEvent* e )
{
possibleTripleClick=true;
TQTimer::singleShot( TQApplication::doubleClickInterval(),this,
- TQT_SLOT(tripleClickTimeout()) );
+ TQ_SLOT(tripleClickTimeout()) );
}
TQLineEdit::mouseDoubleClickEvent( e );
}
@@ -879,8 +879,8 @@ TQPopupMenu *KLineEdit::createPopupMenu()
if ( compObj() && !isReadOnly() && kapp->authorize("lineedit_text_completion") )
{
TQPopupMenu *subMenu = new TQPopupMenu( popup );
- connect( subMenu, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( completionMenuActivated( int ) ) );
+ connect( subMenu, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( completionMenuActivated( int ) ) );
popup->insertSeparator();
popup->insertItem( SmallIconSet("completion"), i18n("Text Completion"),
@@ -1088,12 +1088,12 @@ void KLineEdit::setCompletionBox( TDECompletionBox *box )
d->completionBox = box;
if ( handleSignals() )
{
- connect( d->completionBox, TQT_SIGNAL(highlighted( const TQString& )),
- TQT_SLOT(setTextWorkaround( const TQString& )) );
- connect( d->completionBox, TQT_SIGNAL(userCancelled( const TQString& )),
- TQT_SLOT(userCancelled( const TQString& )) );
- connect( d->completionBox, TQT_SIGNAL( activated( const TQString& )),
- TQT_SIGNAL(completionBoxActivated( const TQString& )) );
+ connect( d->completionBox, TQ_SIGNAL(highlighted( const TQString& )),
+ TQ_SLOT(setTextWorkaround( const TQString& )) );
+ connect( d->completionBox, TQ_SIGNAL(userCancelled( const TQString& )),
+ TQ_SLOT(userCancelled( const TQString& )) );
+ connect( d->completionBox, TQ_SIGNAL( activated( const TQString& )),
+ TQ_SIGNAL(completionBoxActivated( const TQString& )) );
}
}
@@ -1271,12 +1271,12 @@ void KLineEdit::setCompletionObject( TDECompletion* comp, bool hsig )
{
TDECompletion *oldComp = compObj();
if ( oldComp && handleSignals() )
- disconnect( oldComp, TQT_SIGNAL( matches( const TQStringList& )),
- this, TQT_SLOT( setCompletedItems( const TQStringList& )));
+ disconnect( oldComp, TQ_SIGNAL( matches( const TQStringList& )),
+ this, TQ_SLOT( setCompletedItems( const TQStringList& )));
if ( comp && hsig )
- connect( comp, TQT_SIGNAL( matches( const TQStringList& )),
- this, TQT_SLOT( setCompletedItems( const TQStringList& )));
+ connect( comp, TQ_SIGNAL( matches( const TQStringList& )),
+ this, TQ_SLOT( setCompletedItems( const TQStringList& )));
TDECompletionBase::setCompletionObject( comp, hsig );
}