summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/editorwindow.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:49 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-21 14:23:49 -0600
commit89856e749bf14e63fed55a8f3436ea9a6f19667a (patch)
tree4aafeedd270ea6358ae47dbe41758758e7a3c780 /kregexpeditor/editorwindow.cpp
parent7ea89afa119615e547323a7a482ea7fef8e67029 (diff)
downloadtdeutils-89856e749bf14e63fed55a8f3436ea9a6f19667a.tar.gz
tdeutils-89856e749bf14e63fed55a8f3436ea9a6f19667a.zip
Rename obsolete tq methods to standard names
Diffstat (limited to 'kregexpeditor/editorwindow.cpp')
-rw-r--r--kregexpeditor/editorwindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kregexpeditor/editorwindow.cpp b/kregexpeditor/editorwindow.cpp
index 6f7173f..26b2559 100644
--- a/kregexpeditor/editorwindow.cpp
+++ b/kregexpeditor/editorwindow.cpp
@@ -289,7 +289,7 @@ void RegExpEditorWindow::cutCopyAux( TQPoint pos )
RegExpWidgetDrag *clipboardData = new RegExpWidgetDrag( regexp, this );
delete regexp;
- TQClipboard* clipboard = tqApp->tqclipboard();
+ TQClipboard* clipboard = tqApp->clipboard();
clipboard->setData( clipboardData );
emit anythingOnClipboard( true );
emit canSave( _top->hasAnyChildren() );
@@ -298,7 +298,7 @@ void RegExpEditorWindow::cutCopyAux( TQPoint pos )
void RegExpEditorWindow::slotStartPasteAction()
{
- TQByteArray data = tqApp->tqclipboard()->data()->encodedData( "KRegExpEditor/widgetdrag" );
+ TQByteArray data = tqApp->clipboard()->data()->encodedData( "KRegExpEditor/widgetdrag" );
TQTextStream stream( data, IO_ReadOnly );
TQString str = stream.read();
@@ -335,7 +335,7 @@ void RegExpEditorWindow::showRMBMenu( bool enableCutCopy )
_menu->setItemEnabled( CUT, enableCutCopy );
_menu->setItemEnabled( COPY, enableCutCopy );
- if ( ! tqApp->tqclipboard()->data()->provides( "KRegExpEditor/widgetdrag" ) )
+ if ( ! tqApp->clipboard()->data()->provides( "KRegExpEditor/widgetdrag" ) )
_menu->setItemEnabled( PASTE, false );
else
_menu->setItemEnabled( PASTE, true );