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/widget/functionlib.cpp | 2 +- kommander/widget/kommanderwidget.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kommander/widget') diff --git a/kommander/widget/functionlib.cpp b/kommander/widget/functionlib.cpp index 8886acab..b67c08b0 100644 --- a/kommander/widget/functionlib.cpp +++ b/kommander/widget/functionlib.cpp @@ -250,7 +250,7 @@ static ParseNode f_executeSlot(Parser* parser, const ParameterList& params) TQObject *object = widget->object(); if (!object) return ParseNode::error("unknown widget"); - TQStrList slotSignatures = object->tqmetaObject()->slotNames(true); + TQStrList slotSignatures = object->metaObject()->slotNames(true); TQStringList slotNames = TQStringList::fromStrList(slotSignatures); int slotNum = -1; uint i = 0; diff --git a/kommander/widget/kommanderwidget.cpp b/kommander/widget/kommanderwidget.cpp index d0f9e885..533e8b9e 100644 --- a/kommander/widget/kommanderwidget.cpp +++ b/kommander/widget/kommanderwidget.cpp @@ -732,7 +732,7 @@ TQString KommanderWidget::fileName() TQString KommanderWidget::widgetName() const { if (m_thisObject) - return TQString::tqfromLatin1(m_thisObject->name()); + return TQString::fromLatin1(m_thisObject->name()); else return TQString(); } -- cgit v1.2.3