diff options
Diffstat (limited to 'kdeui/klineedit.cpp')
-rw-r--r-- | kdeui/klineedit.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdeui/klineedit.cpp b/kdeui/klineedit.cpp index d3d50795c..48861d38c 100644 --- a/kdeui/klineedit.cpp +++ b/kdeui/klineedit.cpp @@ -420,9 +420,9 @@ 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); - TQApplication::clipboard()->setText( t, clipboard ? QClipboard::Clipboard : QClipboard::Selection ); - connect( TQApplication::clipboard(), TQT_SIGNAL(selectionChanged()), this, + disconnect( TQApplication::tqclipboard(), TQT_SIGNAL(selectionChanged()), this, 0); + TQApplication::tqclipboard()->setText( t, clipboard ? TQClipboard::Clipboard : TQClipboard::Selection ); + connect( TQApplication::tqclipboard(), TQT_SIGNAL(selectionChanged()), this, TQT_SLOT(clipboardChanged()) ); return true; } @@ -453,7 +453,7 @@ void KLineEdit::keyPressEvent( TQKeyEvent *e ) } else if ( KStdAccel::pasteSelection().contains( key ) ) { - TQString text = TQApplication::clipboard()->text( QClipboard::Selection); + TQString text = TQApplication::tqclipboard()->text( TQClipboard::Selection); insert( text ); deselect(); return; @@ -840,7 +840,7 @@ void KLineEdit::mousePressEvent( TQMouseEvent* e ) void KLineEdit::mouseReleaseEvent( TQMouseEvent* e ) { TQLineEdit::mouseReleaseEvent( e ); - if (TQApplication::clipboard()->supportsSelection() ) { + if (TQApplication::tqclipboard()->supportsSelection() ) { if ( e->button() == Qt::LeftButton ) { // Fix copying of squeezed text if needed copySqueezedText( false ); |