From 89856e749bf14e63fed55a8f3436ea9a6f19667a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:23:49 -0600 Subject: Rename obsolete tq methods to standard names --- kwallet/kbetterthankdialogbase.ui | 2 +- kwallet/konfigurator/walletconfigwidget.ui | 2 +- kwallet/kwalleteditor.cpp | 6 +++--- kwallet/kwalleteditor.h | 2 +- kwallet/kwmapeditor.cpp | 2 +- kwallet/walletwidget.ui | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) (limited to 'kwallet') diff --git a/kwallet/kbetterthankdialogbase.ui b/kwallet/kbetterthankdialogbase.ui index fa407c9..65d8b5a 100644 --- a/kwallet/kbetterthankdialogbase.ui +++ b/kwallet/kbetterthankdialogbase.ui @@ -46,7 +46,7 @@ - tqlayout1 + layout1 diff --git a/kwallet/konfigurator/walletconfigwidget.ui b/kwallet/konfigurator/walletconfigwidget.ui index 99bc45a..da3a642 100644 --- a/kwallet/konfigurator/walletconfigwidget.ui +++ b/kwallet/konfigurator/walletconfigwidget.ui @@ -64,7 +64,7 @@ - tqlayout1 + layout1 diff --git a/kwallet/kwalleteditor.cpp b/kwallet/kwalleteditor.cpp index 996f05e..5233047 100644 --- a/kwallet/kwalleteditor.cpp +++ b/kwallet/kwalleteditor.cpp @@ -133,7 +133,7 @@ KWalletEditor::KWalletEditor(const TQString& wallet, bool isPath, TQWidget *pare setCaption(wallet); - TQTimer::singleShot(0, this, TQT_SLOT(tqlayout())); + TQTimer::singleShot(0, this, TQT_SLOT(layout())); } KWalletEditor::~KWalletEditor() { @@ -149,7 +149,7 @@ KWalletEditor::~KWalletEditor() { } } -void KWalletEditor::tqlayout() { +void KWalletEditor::layout() { TQValueList sz = _ww->_splitter->sizes(); int sum = sz[0] + sz[1]; sz[0] = sum/2; @@ -617,7 +617,7 @@ void KWalletEditor::copyPassword() { if (_w && item) { TQString pass; if (_w->readPassword(item->text(0), pass) == 0) { - TQApplication::tqclipboard()->setText(pass); + TQApplication::clipboard()->setText(pass); } } } diff --git a/kwallet/kwalleteditor.h b/kwallet/kwalleteditor.h index 02f1342..d38f4a2 100644 --- a/kwallet/kwalleteditor.h +++ b/kwallet/kwalleteditor.h @@ -52,7 +52,7 @@ class KWalletEditor : public KMainWindow { void deleteFolder(); private slots: - void tqlayout(); + void layout(); void updateFolderList(bool checkEntries = false); void entrySelectionChanged(TQListViewItem *item); void listItemRenamed(TQListViewItem *, int, const TQString&); diff --git a/kwallet/kwmapeditor.cpp b/kwallet/kwmapeditor.cpp index 061c09e..2a9e332 100644 --- a/kwallet/kwmapeditor.cpp +++ b/kwallet/kwmapeditor.cpp @@ -125,7 +125,7 @@ void KWMapEditor::contextMenu(int row, int col, const TQPoint& pos) { void KWMapEditor::copy() { - TQApplication::tqclipboard()->setText(text(_contextRow, 2)); + TQApplication::clipboard()->setText(text(_contextRow, 2)); } diff --git a/kwallet/walletwidget.ui b/kwallet/walletwidget.ui index 2d34c3e..9979097 100644 --- a/kwallet/walletwidget.ui +++ b/kwallet/walletwidget.ui @@ -47,7 +47,7 @@ - tqlayout3 + layout3 @@ -105,7 +105,7 @@ - tqlayout2 + layout2 -- cgit v1.2.1