diff options
Diffstat (limited to 'kvoctrain/kvoctrain/kva_clip.cpp')
-rw-r--r-- | kvoctrain/kvoctrain/kva_clip.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kvoctrain/kvoctrain/kva_clip.cpp b/kvoctrain/kvoctrain/kva_clip.cpp index d441cc2e..12dbc3da 100644 --- a/kvoctrain/kvoctrain/kva_clip.cpp +++ b/kvoctrain/kvoctrain/kva_clip.cpp @@ -38,12 +38,12 @@ using namespace std; void kvoctrainApp::slotSmartSearchClip() { TQString s; - TQString entries = TQApplication::clipboard()->text(); + TQString entries = TQApplication::tqclipboard()->text(); if (!entries.isEmpty()) { - int pos = entries.find ('\n'); // search for a line end + int pos = entries.tqfind ('\n'); // search for a line end if (pos < 0) - pos = entries.find ('\r'); + pos = entries.tqfind ('\r'); if (pos < 0) // just first "line" s = entries; @@ -148,11 +148,11 @@ void kvoctrainApp::slotEditCopy() } if (!exp.isEmpty()) { #if defined(_WS_X11_) -// disconnect(TQApplication::clipboard(),TQT_SIGNAL(dataChanged()),this,0); +// disconnect(TQApplication::tqclipboard(),TQT_SIGNAL(dataChanged()),this,0); #endif - TQApplication::clipboard()->setText(exp); + TQApplication::tqclipboard()->setText(exp); #if defined(_WS_X11_) -// connect(TQApplication::clipboard(),TQT_SIGNAL(dataChanged()), this,TQT_SLOT(clipboardChanged())); +// connect(TQApplication::tqclipboard(),TQT_SIGNAL(dataChanged()), this,TQT_SLOT(clipboardChanged())); #endif } @@ -167,7 +167,7 @@ void kvoctrainApp::slotEditPaste() TQApplication::setOverrideCursor( waitCursor ); TQString s; - TQString entries = TQApplication::clipboard()->text(); + TQString entries = TQApplication::tqclipboard()->text(); vector <int> csv_order = getCsvOrder(doc); @@ -175,9 +175,9 @@ void kvoctrainApp::slotEditPaste() TQString num; // view->setView(0, langset, gradecols); while (!entries.isEmpty()) { - int pos = entries.find ('\n'); // search for a line end + int pos = entries.tqfind ('\n'); // search for a line end if (pos < 0) { - pos = entries.find ('\r'); // mac style ? + pos = entries.tqfind ('\r'); // mac style ? } if (pos < 0) { |