diff options
author | Timothy Pearson <[email protected]> | 2011-12-19 12:01:04 -0600 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2012-06-19 19:42:53 +0200 |
commit | 39356ff58b6a5a76b0ee7fa85c538598ededdeff (patch) | |
tree | a1b23858695a8eb832455abc977da3a9160a661b /kommander/widgets/popupmenu.cpp | |
parent | a177b05ccc4f6a94c52944e4015831d766058b0e (diff) | |
download | tdewebdev-39356ff58b6a5a76b0ee7fa85c538598ededdeff.tar.gz tdewebdev-39356ff58b6a5a76b0ee7fa85c538598ededdeff.zip |
Remove additional unneeded tq method conversions
(cherry picked from commit 84c989c19db5daab602a67f47ca0f5fd7a2b53d2)
Diffstat (limited to 'kommander/widgets/popupmenu.cpp')
-rw-r--r-- | kommander/widgets/popupmenu.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/widgets/popupmenu.cpp b/kommander/widgets/popupmenu.cpp index 7bf77c27..740ad092 100644 --- a/kommander/widgets/popupmenu.cpp +++ b/kommander/widgets/popupmenu.cpp @@ -114,7 +114,7 @@ void PopupMenu::popup(int x, int y) void PopupMenu::slotMenuItemActivated(int id) { TQString widget = m_associations[id]; - KommanderWidget::evalAssociatedText(TQString("#!kommander\n%1.execute(%2)").tqarg(widget).tqarg(id)); + KommanderWidget::evalAssociatedText(TQString("#!kommander\n%1.execute(%2)").arg(widget).arg(id)); } void PopupMenu::populate() @@ -138,7 +138,7 @@ TQString PopupMenu::insertSubmenu(const TQString& title, const TQString &menuWid bool PopupMenu::isFunctionSupported(int f) { - return f == DCOP::clear || f == DCOP::execute || f == DCOP::item || (f >= INSERTMENUITEM && f <= LAST_FUNCTION) || f == DCOP::count || f == DCOP::tqgeometry; + return f == DCOP::clear || f == DCOP::execute || f == DCOP::item || (f >= INSERTMENUITEM && f <= LAST_FUNCTION) || f == DCOP::count || f == DCOP::geometry; } TQString PopupMenu::handleDCOP(int function, const TQStringList& args) @@ -229,7 +229,7 @@ TQString PopupMenu::handleDCOP(int function, const TQStringList& args) case DCOP::count: return TQString::number(m_menu->count()); break; - case DCOP::tqgeometry: + case DCOP::geometry: { TQString geo = TQString::number(this->x())+" "+TQString::number(this->y())+" "+TQString::number(this->width())+" "+TQString::number(this->height()); return geo; |