diff options
Diffstat (limited to 'kexi/plugins/macros/lib/metaobject.cpp')
-rw-r--r-- | kexi/plugins/macros/lib/metaobject.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/plugins/macros/lib/metaobject.cpp b/kexi/plugins/macros/lib/metaobject.cpp index 0916fe37b..ee865c821 100644 --- a/kexi/plugins/macros/lib/metaobject.cpp +++ b/kexi/plugins/macros/lib/metaobject.cpp @@ -91,7 +91,7 @@ int MetaObject::indexOfSignal(const char* signal) const TQMetaObject* metaobject = object()->metaObject(); int signalid = metaobject->findSignal(signal, false); if(signalid < 0) { - throw Exception(TQString("Invalid signal \"%1\"").tqarg(signal)); + throw Exception(TQString("Invalid signal \"%1\"").arg(signal)); } return signalid; } @@ -101,7 +101,7 @@ int MetaObject::indexOfSlot(const char* slot) const TQMetaObject* metaobject = object()->metaObject(); int slotid = metaobject->findSlot(slot, false); if(slotid < 0) { - throw Exception(TQString("Invalid slot \"%1\"").tqarg(slot)); + throw Exception(TQString("Invalid slot \"%1\"").arg(slot)); } return slotid; } @@ -119,13 +119,13 @@ KSharedPtr<MetaMethod> MetaObject::method(int index) metadata = metaobject->signal(index, true); if(! metadata) { - throw Exception(TQString("Invalid method index \"%1\" in object \"%2\"").tqarg(index).tqarg(obj->name())); + throw Exception(TQString("Invalid method index \"%1\" in object \"%2\"").arg(index).arg(obj->name())); } type = MetaMethod::Signal; } if(metadata->access != TQMetaData::Public) { - throw Exception(TQString("Not allowed to access method \"%1\" in object \"%2\"").tqarg(metadata->name).tqarg(obj->name())); + throw Exception(TQString("Not allowed to access method \"%1\" in object \"%2\"").arg(metadata->name).arg(obj->name())); } return new MetaMethod(metadata->name, type, this); |