diff options
Diffstat (limited to 'kexi/core/kexiinternalpart.h')
| -rw-r--r-- | kexi/core/kexiinternalpart.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kexi/core/kexiinternalpart.h b/kexi/core/kexiinternalpart.h index 4abf1d19a..596f8dd42 100644 --- a/kexi/core/kexiinternalpart.h +++ b/kexi/core/kexiinternalpart.h @@ -52,10 +52,10 @@ class KEXICORE_EXPORT KexiInternalPart : public TQObject TQ_OBJECT public: - KexiInternalPart(TQObject *tqparent, const char *name, const TQStringList &); + KexiInternalPart(TQObject *parent, const char *name, const TQStringList &); virtual ~KexiInternalPart(); - KexiDialogBase *instance(KexiMainWindow *tqparent); + KexiDialogBase *instance(KexiMainWindow *parent); /*! Creates a new widget instance using part \a partName. \a widgetClass is a pseudo class used in case when the part offers more @@ -64,23 +64,23 @@ class KEXICORE_EXPORT KexiInternalPart : public TQObject \a args is two-way optional argument: it can contain custom options used on widget's creation. Depending on implementation, the created widget can write its state (e.g. result or status information) back to this argument. - Created widget will have assigned \a tqparent widget and \a objName name. */ + Created widget will have assigned \a parent widget and \a objName name. */ static TQWidget* createWidgetInstance(const char* partName, const char* widgetClass, KexiDB::MessageHandler *msgHdr, KexiMainWindow* mainWin, - TQWidget *tqparent, const char *objName = 0, TQMap<TQString,TQString>* args = 0); + TQWidget *parent, const char *objName = 0, TQMap<TQString,TQString>* args = 0); /*! For convenience. */ static TQWidget* createWidgetInstance(const char* partName, KexiDB::MessageHandler *msgHdr, KexiMainWindow* mainWin, - TQWidget *tqparent, const char *objName = 0, TQMap<TQString,TQString>* args = 0) - { return createWidgetInstance(partName, 0, msgHdr, mainWin, tqparent, objName, args); } + TQWidget *parent, const char *objName = 0, TQMap<TQString,TQString>* args = 0) + { return createWidgetInstance(partName, 0, msgHdr, mainWin, parent, objName, args); } /*! Creates a new dialog instance. If such instance already exists, and is unique (see uniqueDialog()) it is just returned. The part knows about destroying its dialog instance, (if it is uinque), so on another call the dialog will be created again. \a msgHdr is a message handler for displaying error messages. - The dialog is assigned to \a mainWin as its tqparent, + The dialog is assigned to \a mainWin as its parent, and \a objName name is set. */ static KexiDialogBase* createKexiDialogInstance(const char* partName, KexiDB::MessageHandler *msgHdr, KexiMainWindow* mainWin, const char *objName = 0); @@ -96,7 +96,7 @@ class KEXICORE_EXPORT KexiInternalPart : public TQObject state (e.g. result or status information) back to this argument. The part knows about destroying its dialog instance, (if it is uinque), so on another call the dialog will be created again. - The dialog is assigned to \a mainWin as its tqparent, + The dialog is assigned to \a mainWin as its parent, and \a objName name is set. */ static TQDialog* createModalDialogInstance(const char* partName, const char* dialogClass, KexiDB::MessageHandler *msgHdr, KexiMainWindow* mainWin, @@ -132,7 +132,7 @@ class KEXICORE_EXPORT KexiInternalPart : public TQObject /*! Reimplement this if your internal part has to return widgets or TQDialog objects. */ virtual TQWidget *createWidget(const char* widgetClass, KexiMainWindow* mainWin, - TQWidget * tqparent, const char * objName = 0, TQMap<TQString,TQString>* args = 0); + TQWidget * parent, const char * objName = 0, TQMap<TQString,TQString>* args = 0); // //! Reimplement this if your internal part has to return dialogs // virtual KexiDialogBase *createDialog(KexiMainWindow* /*mainWin*/, @@ -140,7 +140,7 @@ class KEXICORE_EXPORT KexiInternalPart : public TQObject // { return 0; } /*! Reimplement this if your internal part has to return a view object. */ - virtual KexiViewBase *createView(KexiMainWindow* mainWin, TQWidget * tqparent, + virtual KexiViewBase *createView(KexiMainWindow* mainWin, TQWidget * parent, const char *objName = 0); /*! Reimplement this if your internal part has to execute a command \a commandName |
