From 9445f97b426e97c6ce46de18fba4030da45d56df Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 18 Dec 2011 18:36:38 -0600 Subject: Rename old tq methods that no longer need a unique name --- kommander/widgets/dialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kommander/widgets/dialog.cpp') diff --git a/kommander/widgets/dialog.cpp b/kommander/widgets/dialog.cpp index 15dd7e30..f7a3fb9b 100644 --- a/kommander/widgets/dialog.cpp +++ b/kommander/widgets/dialog.cpp @@ -34,7 +34,7 @@ enum Functions { FirstFunction = 185, - D_tqfocusWidget, + D_focusWidget, D_waitCursor, D_restoreCursor, LastFunction @@ -53,7 +53,7 @@ Dialog::Dialog(TQWidget *a_parent, const char *a_name, bool a_modal, int a_flags m_shebang = "#!/usr/bin/kmdr-executor"; m_firstShow = true; KommanderPlugin::setDefaultGroup(Group::DCOP); - KommanderPlugin::registerFunction(D_tqfocusWidget, "tqfocusWidget(TQString widget)", i18n("The name of the widget having focus"), 1); + KommanderPlugin::registerFunction(D_focusWidget, "focusWidget(TQString widget)", i18n("The name of the widget having focus"), 1); KommanderPlugin::registerFunction(D_waitCursor, "waitCursor(TQString widget)", i18n("Set a wait cursor. CAUTION: if set more than once an equal number of calls to restore must be made to clear it."), 1); KommanderPlugin::registerFunction(D_restoreCursor, "restoreCursor(TQString widget)", i18n("Restore normal curser. NOTE: must be called as many times as wait was."), 1); } @@ -207,8 +207,8 @@ TQString Dialog::handleDCOP(int function, const TQStringList& args) case DCOP::tqgeometry: return TQString::number(this->x())+" "+TQString::number(this->y())+" "+TQString::number(this->width())+" "+TQString::number(this->height()); break; - case D_tqfocusWidget: - return tqfocusWidget()->name(); + case D_focusWidget: + return focusWidget()->name(); break; case D_waitCursor: TQApplication::setOverrideCursor(TQCursor(TQt::WaitCursor)); -- cgit v1.2.3