diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:01:17 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:01:17 -0600 |
commit | 2a411f53a04f815770074b633e026a141f6fa875 (patch) | |
tree | 0408d7c0976f54b4b6d13e8fbf5d91a82cb4ff92 /src/bnpview.cpp | |
parent | ae6cafee5339716bd01aa6c66aa4f366bdc5d43b (diff) | |
download | basket-2a411f53a04f815770074b633e026a141f6fa875.tar.gz basket-2a411f53a04f815770074b633e026a141f6fa875.zip |
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'src/bnpview.cpp')
-rw-r--r-- | src/bnpview.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/bnpview.cpp b/src/bnpview.cpp index 1d7488c..50e7811 100644 --- a/src/bnpview.cpp +++ b/src/bnpview.cpp @@ -1342,18 +1342,18 @@ void BNPView::notesStateChanged() // Update statusbar message : if (currentBasket()->isLocked()) - setSelectiontqStatus(i18n("Locked")); + setSelectionStatus(i18n("Locked")); else if (!basket->isLoaded()) - setSelectiontqStatus(i18n("Loading...")); + setSelectionStatus(i18n("Loading...")); else if (basket->count() == 0) - setSelectiontqStatus(i18n("No notes")); + setSelectionStatus(i18n("No notes")); else { TQString count = i18n("%n note", "%n notes", basket->count() ); TQString selecteds = i18n("%n selected", "%n selected", basket->countSelecteds()); TQString showns = (currentDecoratedBasket()->filterData().isFiltering ? i18n("all matches") : i18n("no filter")); if (basket->countFounds() != basket->count()) showns = i18n("%n match", "%n matches", basket->countFounds()); - setSelectiontqStatus( + setSelectionStatus( i18n("e.g. '18 notes, 10 matches, 5 selected'", "%1, %2, %3").tqarg(count, showns, selecteds) ); } @@ -1870,7 +1870,7 @@ void BNPView::isLockedChanged() { bool isLocked = currentBasket()->isLocked(); - setLocktqStatus(isLocked); + setLockStatus(isLocked); // m_actLockBasket->setChecked(isLocked); m_actPropBasket->setEnabled(!isLocked); @@ -2044,14 +2044,14 @@ void BNPView::updateStatusBarHint() m_statusbar->updateStatusBarHint(); } -void BNPView::setSelectiontqStatus(TQString s) +void BNPView::setSelectionStatus(TQString s) { - m_statusbar->setSelectiontqStatus(s); + m_statusbar->setSelectionStatus(s); } -void BNPView::setLocktqStatus(bool isLocked) +void BNPView::setLockStatus(bool isLocked) { - m_statusbar->setLocktqStatus(isLocked); + m_statusbar->setLockStatus(isLocked); } void BNPView::postStatusbarMessage(const TQString& msg) @@ -2064,9 +2064,9 @@ void BNPView::setStatusBarHint(const TQString &hint) m_statusbar->setStatusBarHint(hint); } -void BNPView::setUnsavedtqStatus(bool isUnsaved) +void BNPView::setUnsavedStatus(bool isUnsaved) { - m_statusbar->setUnsavedtqStatus(isUnsaved); + m_statusbar->setUnsavedStatus(isUnsaved); } void BNPView::setActive(bool active) @@ -2299,7 +2299,7 @@ void BNPView::populateTagsMenu(KPopupMenu &menu, Note *referenceNote) sequence = currentTag->shortcut().operator TQKeySequence(); menu.insertItem(StateMenuItem::checkBoxIconSet( (referenceNote ? referenceNote->hasTag(currentTag) : false), - menu.tqcolorGroup()), + menu.colorGroup()), new StateMenuItem(currentState, sequence, true), i ); |