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/importdialog.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'src/importdialog.h') diff --git a/src/importdialog.h b/src/importdialog.h index 3802436..70d187e 100644 --- a/src/importdialog.h +++ b/src/importdialog.h @@ -20,14 +20,14 @@ #include #include -class QRadioButton; -class QCheckBox; -class QShowEvent; +class TQRadioButton; +class TQCheckBox; +class TQShowEvent; namespace Tellico { namespace Import { class Importer; - typedef QMap FormatMap; + typedef TQMap FormatMap; } /** @@ -35,18 +35,19 @@ namespace Tellico { */ class ImportDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: - ImportDialog(Import::Format format, const KURL::List& urls, QWidget* parent, const char* name); + ImportDialog(Import::Format format, const KURL::List& urls, TQWidget* tqparent, const char* name); ~ImportDialog(); Data::CollPtr collection(); - QString statusMessage() const; + TQString statusMessage() const; Import::Action action() const; - static QString fileFilter(Import::Format format); + static TQString fileFilter(Import::Format format); static Import::Target importTarget(Import::Format format); - static QString startDir(Import::Format format); + static TQString startDir(Import::Format format); static Import::FormatMap formatMap(); static bool formatImportsText(Import::Format format); @@ -62,9 +63,9 @@ private slots: private: Data::CollPtr m_coll; Import::Importer* m_importer; - QRadioButton* m_radioAppend; - QRadioButton* m_radioReplace; - QRadioButton* m_radioMerge; + TQRadioButton* m_radioAppend; + TQRadioButton* m_radioReplace; + TQRadioButton* m_radioMerge; }; } // end namespace -- cgit v1.2.3