diff options
Diffstat (limited to 'src/modules/filetransferwindow/filetransferwindow.cpp')
-rw-r--r-- | src/modules/filetransferwindow/filetransferwindow.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/modules/filetransferwindow/filetransferwindow.cpp b/src/modules/filetransferwindow/filetransferwindow.cpp index f6068378..ab441a47 100644 --- a/src/modules/filetransferwindow/filetransferwindow.cpp +++ b/src/modules/filetransferwindow/filetransferwindow.cpp @@ -46,7 +46,7 @@ #endif #include <tqpainter.h> #include <tqmessagebox.h> -#include <tqclipboard.h> +#include <clipboard.h> #include <tqfileinfo.h> #include <tqfile.h> #include <tqlabel.h> @@ -233,7 +233,7 @@ void KviFileTransferWindow::tipRequest(KviDynamicToolTip * tip,const TQPoint &pn KviFileTransferItem * it = (KviFileTransferItem *)m_pListView->itemAt(pnt); if(!it)return; TQString txt = it->transfer()->tipText(); - tip->tip(m_pListView->tqitemRect(it),txt); + tip->tip(m_pListView->itemRect(it),txt); } void KviFileTransferWindow::fillTransferView() @@ -313,7 +313,7 @@ void KviFileTransferWindow::rightButtonPressed(KviTalListViewItem *it,const TQPo if(fi.exists()) { tmp += "<nobr>"; - tmp += __tr2qs_ctx("Size: %1","filetransferwindow").tqarg(KviTQString::makeSizeReadable(fi.size())); + tmp += __tr2qs_ctx("Size: %1","filetransferwindow").arg(KviTQString::makeSizeReadable(fi.size())); tmp += "</nobr><br>"; } @@ -580,12 +580,12 @@ void KviFileTransferWindow::copyLocalFileToClipboard() TQString tmp = t->localFileName(); if(tmp.isEmpty())return; #ifdef COMPILE_USE_QT4 - TQApplication::tqclipboard()->setText(tmp); + TQApplication::clipboard()->setText(tmp); #else - TQApplication::tqclipboard()->setSelectionMode(false); - TQApplication::tqclipboard()->setText(tmp); - TQApplication::tqclipboard()->setSelectionMode(true); - TQApplication::tqclipboard()->setText(tmp); + TQApplication::clipboard()->setSelectionMode(false); + TQApplication::clipboard()->setText(tmp); + TQApplication::clipboard()->setSelectionMode(true); + TQApplication::clipboard()->setText(tmp); #endif } @@ -701,9 +701,9 @@ void KviFileTransferWindow::resizeEvent(TQResizeEvent *e) m_pInput->setGeometry(0,height() - h,width(),h); } -TQSize KviFileTransferWindow::tqsizeHint() const +TQSize KviFileTransferWindow::sizeHint() const { - return m_pSplitter->tqsizeHint(); + return m_pSplitter->sizeHint(); } void KviFileTransferWindow::fillCaptionBuffers() |