From bcc684e28ad6f9ebeeae5d334a4dc297cef3e816 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:35:27 -0600 Subject: Rename old tq methods that no longer need a unique name --- kwallet/allyourbase.cpp | 12 ++++++------ kwallet/kbetterthankdialogbase.ui | 4 ++-- kwallet/konfigurator/walletconfigwidget.ui | 10 +++++----- kwallet/kwmapeditor.cpp | 2 +- kwallet/walletwidget.ui | 16 ++++++++-------- 5 files changed, 22 insertions(+), 22 deletions(-) (limited to 'kwallet') diff --git a/kwallet/allyourbase.cpp b/kwallet/allyourbase.cpp index c031b35..328e0d5 100644 --- a/kwallet/allyourbase.cpp +++ b/kwallet/allyourbase.cpp @@ -263,7 +263,7 @@ void KWalletItem::dropped(TQDropEvent *e, const TQValueList& lst TQDataStream *ds = 0L; if (e->provides("application/x-kwallet-folder")) { - TQByteArray edata = e->tqencodedData("application/x-kwallet-folder"); + TQByteArray edata = e->encodedData("application/x-kwallet-folder"); if (!edata.isEmpty()) { ds = new TQDataStream(edata, IO_ReadOnly); } @@ -407,7 +407,7 @@ void KWalletEntryList::itemDropped(TQDropEvent *e, TQListViewItem *item) { return; } isEntry = true; - TQByteArray data = e->tqencodedData("application/x-kwallet-entry"); + TQByteArray data = e->encodedData("application/x-kwallet-entry"); if (data.isEmpty()) { e->ignore(); return; @@ -420,7 +420,7 @@ void KWalletEntryList::itemDropped(TQDropEvent *e, TQListViewItem *item) { return; } isEntry = false; - TQByteArray data = e->tqencodedData("application/x-kwallet-folder"); + TQByteArray data = e->encodedData("application/x-kwallet-folder"); if (data.isEmpty()) { e->ignore(); return; @@ -589,11 +589,11 @@ class KWalletIconDrag : public TQIconDrag { return 0L; } - TQByteArray tqencodedData(const char *mime) const { + TQByteArray encodedData(const char *mime) const { TQByteArray a; TQCString mimetype(mime); if (mimetype == "application/x-qiconlist") { - return TQIconDrag::tqencodedData(mime); + return TQIconDrag::encodedData(mime); } else if (mimetype == "text/uri-list") { TQCString s = _urls.join("\r\n").latin1(); if (_urls.count() > 0) { @@ -638,7 +638,7 @@ void KWalletIconView::slotDropped(TQDropEvent *e, const TQValueListtqencodedData("text/uri-list"); + TQByteArray edata = e->encodedData("text/uri-list"); TQCString urls = edata.data(); TQStringList ul = TQStringList::split("\r\n", urls); diff --git a/kwallet/kbetterthankdialogbase.ui b/kwallet/kbetterthankdialogbase.ui index 0b421c7..fa407c9 100644 --- a/kwallet/kbetterthankdialogbase.ui +++ b/kwallet/kbetterthankdialogbase.ui @@ -37,7 +37,7 @@ Expanding - + 41 21 @@ -99,7 +99,7 @@ Expanding - + 61 21 diff --git a/kwallet/konfigurator/walletconfigwidget.ui b/kwallet/konfigurator/walletconfigwidget.ui index eaf5cf2..99bc45a 100644 --- a/kwallet/konfigurator/walletconfigwidget.ui +++ b/kwallet/konfigurator/walletconfigwidget.ui @@ -133,7 +133,7 @@ Expanding - + 20 20 @@ -187,7 +187,7 @@ Expanding - + 20 20 @@ -281,7 +281,7 @@ Fixed - + 20 20 @@ -319,7 +319,7 @@ Expanding - + 31 16 @@ -415,7 +415,7 @@ Expanding - + 369 21 diff --git a/kwallet/kwmapeditor.cpp b/kwallet/kwmapeditor.cpp index d5a9722..061c09e 100644 --- a/kwallet/kwmapeditor.cpp +++ b/kwallet/kwmapeditor.cpp @@ -142,7 +142,7 @@ class InlineEditor : public TQTextEdit { protected: virtual void focusOutEvent(TQFocusEvent* fe) { if (fe->reason() == TQFocusEvent::Popup) { - TQWidget *focusW = tqApp->tqfocusWidget(); + TQWidget *focusW = tqApp->focusWidget(); if (focusW && focusW == popup) { return; } diff --git a/kwallet/walletwidget.ui b/kwallet/walletwidget.ui index dbe761e..fad3875 100644 --- a/kwallet/walletwidget.ui +++ b/kwallet/walletwidget.ui @@ -82,7 +82,7 @@ Expanding - + 227 21 @@ -222,7 +222,7 @@ Expanding - + 271 20 @@ -282,7 +282,7 @@ Expanding - + 31 41 @@ -299,7 +299,7 @@ Expanding - + 31 41 @@ -316,7 +316,7 @@ Expanding - + 61 41 @@ -333,7 +333,7 @@ Expanding - + 41 21 @@ -366,7 +366,7 @@ Expanding - + 236 21 @@ -383,7 +383,7 @@ Expanding - + 31 358 -- cgit v1.2.1