summaryrefslogtreecommitdiffstats
path: root/src/translators/bibtexexporter.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/translators/bibtexexporter.h
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
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
Diffstat (limited to 'src/translators/bibtexexporter.h')
-rw-r--r--src/translators/bibtexexporter.h21
1 files changed, 11 insertions, 10 deletions
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;
};