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 --- kdelirc/kcmlirc/addactionbase.ui | 44 +++++++++++++++++++-------------------- kdelirc/kcmlirc/editactionbase.ui | 26 +++++++++++------------ kdelirc/kcmlirc/editmodebase.ui | 8 +++---- kdelirc/kcmlirc/kcmlirc.cpp | 14 ++++++------- kdelirc/kcmlirc/kcmlirc.h | 4 ++-- kdelirc/kcmlirc/kcmlircbase.ui | 4 ++-- kdelirc/kcmlirc/newmode.ui | 2 +- kdelirc/kcmlirc/selectprofile.ui | 2 +- 8 files changed, 52 insertions(+), 52 deletions(-) (limited to 'kdelirc/kcmlirc') diff --git a/kdelirc/kcmlirc/addactionbase.ui b/kdelirc/kcmlirc/addactionbase.ui index c9a4559..e4ed1f0 100644 --- a/kdelirc/kcmlirc/addactionbase.ui +++ b/kdelirc/kcmlirc/addactionbase.ui @@ -81,7 +81,7 @@ Expanding - + 81 31 @@ -125,7 +125,7 @@ Expanding - + 101 31 @@ -144,7 +144,7 @@ Expanding - + 311 20 @@ -169,7 +169,7 @@ Expanding - + 321 21 @@ -194,7 +194,7 @@ Expanding - + 21 20 @@ -245,7 +245,7 @@ Expanding - + 110 41 @@ -289,7 +289,7 @@ Expanding - + 110 31 @@ -528,7 +528,7 @@ Expanding - + 61 21 @@ -604,7 +604,7 @@ Expanding - + 21 81 @@ -701,7 +701,7 @@ Expanding - + 21 111 @@ -739,7 +739,7 @@ Expanding - + 146 21 @@ -785,7 +785,7 @@ Expanding - + 21 61 @@ -826,7 +826,7 @@ Expanding - + 21 61 @@ -870,7 +870,7 @@ Expanding - + 20 61 @@ -908,7 +908,7 @@ Expanding - + 21 51 @@ -957,7 +957,7 @@ Expanding - + 147 21 @@ -1035,7 +1035,7 @@ Expanding - + 670 20 @@ -1171,7 +1171,7 @@ Expanding - + 20 170 @@ -1234,7 +1234,7 @@ Expanding - + 131 31 @@ -1278,7 +1278,7 @@ Expanding - + 131 31 @@ -1308,7 +1308,7 @@ Expanding - + 551 20 @@ -1366,7 +1366,7 @@ Expanding - + 21 30 diff --git a/kdelirc/kcmlirc/editactionbase.ui b/kdelirc/kcmlirc/editactionbase.ui index d94cfc2..acd9f94 100644 --- a/kdelirc/kcmlirc/editactionbase.ui +++ b/kdelirc/kcmlirc/editactionbase.ui @@ -295,7 +295,7 @@ Expanding - + 20 91 @@ -339,7 +339,7 @@ Expanding - + 20 101 @@ -377,7 +377,7 @@ Expanding - + 21 101 @@ -415,7 +415,7 @@ Expanding - + 20 101 @@ -467,7 +467,7 @@ Expanding - + 21 111 @@ -486,7 +486,7 @@ 0 - + 106 0 @@ -503,7 +503,7 @@ Expanding - + 20 101 @@ -533,7 +533,7 @@ Expanding - + 481 20 @@ -584,7 +584,7 @@ Expanding - + 21 30 @@ -654,7 +654,7 @@ Expanding - + 491 20 @@ -718,7 +718,7 @@ Expanding - + 670 20 @@ -854,7 +854,7 @@ Expanding - + 20 150 @@ -902,7 +902,7 @@ Expanding - + 20 20 diff --git a/kdelirc/kcmlirc/editmodebase.ui b/kdelirc/kcmlirc/editmodebase.ui index 829a35d..2f991ac 100644 --- a/kdelirc/kcmlirc/editmodebase.ui +++ b/kdelirc/kcmlirc/editmodebase.ui @@ -78,7 +78,7 @@ Expanding - + 110 21 @@ -145,7 +145,7 @@ Expanding - + 410 20 @@ -192,7 +192,7 @@ Expanding - + 20 90 @@ -231,7 +231,7 @@ Expanding - + 231 20 diff --git a/kdelirc/kcmlirc/kcmlirc.cpp b/kdelirc/kcmlirc/kcmlirc.cpp index 8ec4fff..8d4de53 100644 --- a/kdelirc/kcmlirc/kcmlirc.cpp +++ b/kdelirc/kcmlirc/kcmlirc.cpp @@ -74,8 +74,8 @@ KCMLirc::KCMLirc(TQWidget *parent, const char *name, TQStringList /*args*/) : DC (new TQHBoxLayout(this))->setAutoAdd(true); theKCMLircBase = new KCMLircBase(this); connect(theKCMLircBase->theModes, TQT_SIGNAL( selectionChanged(TQListViewItem *) ), this, TQT_SLOT( updateActions() )); - connect(theKCMLircBase->theModes, TQT_SIGNAL( selectionChanged(TQListViewItem *) ), this, TQT_SLOT( updateModestqStatus(TQListViewItem *) )); - connect(theKCMLircBase->theActions, TQT_SIGNAL( currentChanged(TQListViewItem *) ), this, TQT_SLOT( updateActionstqStatus(TQListViewItem *) )); + connect(theKCMLircBase->theModes, TQT_SIGNAL( selectionChanged(TQListViewItem *) ), this, TQT_SLOT( updateModesStatus(TQListViewItem *) )); + connect(theKCMLircBase->theActions, TQT_SIGNAL( currentChanged(TQListViewItem *) ), this, TQT_SLOT( updateActionsStatus(TQListViewItem *) )); connect(theKCMLircBase->theExtensions, TQT_SIGNAL( selectionChanged(TQListViewItem *) ), this, TQT_SLOT( updateInformation() )); connect(theKCMLircBase->theModes, TQT_SIGNAL( itemRenamed(TQListViewItem *) ), this, TQT_SLOT( slotRenamed(TQListViewItem *) )); connect(theKCMLircBase->theModes, TQT_SIGNAL(dropped(KListView*, TQDropEvent*, TQListViewItem*, TQListViewItem*)), this, TQT_SLOT(slotDrop(KListView*, TQDropEvent*, TQListViewItem*, TQListViewItem*))); @@ -94,7 +94,7 @@ KCMLirc::~KCMLirc() { } -void KCMLirc::updateModestqStatus(TQListViewItem *item) +void KCMLirc::updateModesStatus(TQListViewItem *item) { theKCMLircBase->theModes->setItemsRenameable(item && item->parent()); theKCMLircBase->theAddActions->setEnabled(ProfileServer::profileServer()->profiles().count() && theKCMLircBase->theModes->selectedItem() && RemoteServer::remoteServer()->remotes()[modeMap[theKCMLircBase->theModes->selectedItem()].remote()]); @@ -104,7 +104,7 @@ void KCMLirc::updateModestqStatus(TQListViewItem *item) theKCMLircBase->theEditMode->setEnabled(item); } -void KCMLirc::updateActionstqStatus(TQListViewItem *item) +void KCMLirc::updateActionsStatus(TQListViewItem *item) { theKCMLircBase->theRemoveAction->setEnabled(item); theKCMLircBase->theEditAction->setEnabled(item); @@ -374,7 +374,7 @@ void KCMLirc::updateActions() theKCMLircBase->theActions->clear(); actionMap.clear(); - if(!theKCMLircBase->theModes->selectedItem()) { updateActionstqStatus(0); return; } + if(!theKCMLircBase->theModes->selectedItem()) { updateActionsStatus(0); return; } Mode m = modeMap[theKCMLircBase->theModes->selectedItem()]; theKCMLircBase->theModeLabel->setText(m.remoteName() + ": " + (m.name().isEmpty() ? i18n("Actions always available") : i18n("Actions available only in mode %1").tqarg(m.name()))); @@ -387,7 +387,7 @@ void KCMLirc::updateActions() if(theKCMLircBase->theActions->currentItem()) theKCMLircBase->theActions->currentItem()->setSelected(true); - updateActionstqStatus(theKCMLircBase->theActions->currentItem()); + updateActionsStatus(theKCMLircBase->theActions->currentItem()); } void KCMLirc::gotButton(TQString remote, TQString button) @@ -429,7 +429,7 @@ void KCMLirc::updateModes() } if(theKCMLircBase->theModes->currentItem()) theKCMLircBase->theModes->currentItem()->setSelected(true); - updateModestqStatus(theKCMLircBase->theModes->currentItem()); + updateModesStatus(theKCMLircBase->theModes->currentItem()); updateActions(); } diff --git a/kdelirc/kcmlirc/kcmlirc.h b/kdelirc/kcmlirc/kcmlirc.h index b4ea329..6d65fe8 100644 --- a/kdelirc/kcmlirc/kcmlirc.h +++ b/kdelirc/kcmlirc/kcmlirc.h @@ -46,8 +46,8 @@ private: public slots: void updateActions(); - void updateModestqStatus(TQListViewItem *); - void updateActionstqStatus(TQListViewItem *); + void updateModesStatus(TQListViewItem *); + void updateActionsStatus(TQListViewItem *); void updateModes(); void updateExtensions(); void updateInformation(); diff --git a/kdelirc/kcmlirc/kcmlircbase.ui b/kdelirc/kcmlirc/kcmlircbase.ui index 625b3a0..dfd2897 100644 --- a/kdelirc/kcmlirc/kcmlircbase.ui +++ b/kdelirc/kcmlirc/kcmlircbase.ui @@ -158,7 +158,7 @@ Expanding - + 17 20 @@ -316,7 +316,7 @@ Expanding - + 240 21 diff --git a/kdelirc/kcmlirc/newmode.ui b/kdelirc/kcmlirc/newmode.ui index 5726eba..571863b 100644 --- a/kdelirc/kcmlirc/newmode.ui +++ b/kdelirc/kcmlirc/newmode.ui @@ -93,7 +93,7 @@ Expanding - + 61 21 diff --git a/kdelirc/kcmlirc/selectprofile.ui b/kdelirc/kcmlirc/selectprofile.ui index 5e15af9..7da2f25 100644 --- a/kdelirc/kcmlirc/selectprofile.ui +++ b/kdelirc/kcmlirc/selectprofile.ui @@ -70,7 +70,7 @@ Expanding - + 40 20 -- cgit v1.2.1