From 2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 2 Jul 2011 06:40:27 +0000 Subject: TQt4 port tellico This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/entryeditdialog.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/entryeditdialog.h') diff --git a/src/entryeditdialog.h b/src/entryeditdialog.h index 2d71b63..7dafffd 100644 --- a/src/entryeditdialog.h +++ b/src/entryeditdialog.h @@ -21,7 +21,7 @@ class KPushButton; #include -#include +#include namespace Tellico { namespace GUI { @@ -33,12 +33,13 @@ namespace Tellico { */ class EntryEditDialog : public KDialogBase, public Observer { Q_OBJECT + TQ_OBJECT // needed for completion object support friend class GUI::FieldWidget; public: - EntryEditDialog(QWidget* parent, const char* name); + EntryEditDialog(TQWidget* tqparent, const char* name); /** * Checks to see if any data needs to be saved. Returns @p true if it's ok to continue with @@ -48,9 +49,9 @@ public: */ bool queryModified(); /** - * Deletes and resets the layout of the tabs. + * Deletes and resets the tqlayout of the tabs. * - * @param coll A pointer to the collection whose fields should be used for setting up the layout + * @param coll A pointer to the collection whose fields should be used for setting up the tqlayout */ void setLayout(Data::CollPtr coll); /** @@ -74,7 +75,7 @@ public: * Updates a widget when its field has been modified. The category may have changed, completions may have * been added or removed, or what-have-you. * - * @param coll A pointer to the parent collection + * @param coll A pointer to the tqparent collection * @param oldField A pointer to the old field, which should have the same name as the new one * @param newField A pointer to the new field */ @@ -135,7 +136,7 @@ private: Data::CollPtr m_currColl; Data::EntryVec m_currEntries; GUI::TabControl* m_tabs; - QDict m_widgetDict; + TQDict m_widgetDict; ButtonCode m_saveBtn, m_newBtn, m_nextBtn, m_prevBtn; -- cgit v1.2.3