summaryrefslogtreecommitdiffstats
path: root/src/modules/filetransferwindow
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/filetransferwindow')
-rw-r--r--src/modules/filetransferwindow/filetransferwindow.cpp20
-rw-r--r--src/modules/filetransferwindow/filetransferwindow.h2
2 files changed, 11 insertions, 11 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()
diff --git a/src/modules/filetransferwindow/filetransferwindow.h b/src/modules/filetransferwindow/filetransferwindow.h
index 963c12e0..b213f6be 100644
--- a/src/modules/filetransferwindow/filetransferwindow.h
+++ b/src/modules/filetransferwindow/filetransferwindow.h
@@ -88,7 +88,7 @@ protected:
virtual void fontChange(const TQFont &oldFont);
bool eventFilter( TQObject *obj, TQEvent *ev );
public:
- virtual TQSize tqsizeHint() const;
+ virtual TQSize sizeHint() const;
int lineSpacing(){ return m_iLineSpacing; };
protected slots:
void transferRegistered(KviFileTransfer *t);