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/translators/bibtexexporter.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'src/translators/bibtexexporter.h') diff --git a/src/translators/bibtexexporter.h b/src/translators/bibtexexporter.h index dccfde8..b626e88 100644 --- a/src/translators/bibtexexporter.h +++ b/src/translators/bibtexexporter.h @@ -14,7 +14,7 @@ #ifndef BIBTEXEXPORTER_H #define BIBTEXEXPORTER_H -class QCheckBox; +class TQCheckBox; class KComboBox; #include "exporter.h" @@ -31,30 +31,31 @@ namespace Tellico { */ class BibtexExporter : public Exporter { Q_OBJECT + TQ_OBJECT public: BibtexExporter(); virtual bool exec(); - virtual QString formatString() const; - virtual QString fileFilter() const; + virtual TQString formatString() const; + virtual TQString fileFilter() const; - virtual QWidget* widget(QWidget* parent, const char* name=0); + virtual TQWidget* widget(TQWidget* tqparent, const char* name=0); virtual void readOptions(KConfig*); virtual void saveOptions(KConfig*); private: - void writeEntryText(QString& text, const Data::FieldVec& field, const Data::Entry& entry, - const QString& type, const QString& key); + void writeEntryText(TQString& text, const Data::FieldVec& field, const Data::Entry& entry, + const TQString& type, const TQString& key); bool m_expandMacros; bool m_packageURL; bool m_skipEmptyKeys; - QWidget* m_widget; - QCheckBox* m_checkExpandMacros; - QCheckBox* m_checkPackageURL; - QCheckBox* m_checkSkipEmpty; + TQWidget* m_widget; + TQCheckBox* m_checkExpandMacros; + TQCheckBox* m_checkPackageURL; + TQCheckBox* m_checkSkipEmpty; KComboBox* m_cbBibtexStyle; }; -- cgit v1.2.1