summaryrefslogtreecommitdiffstats
path: root/src/collections/bibtexcollection.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/collections/bibtexcollection.h')
-rw-r--r--src/collections/bibtexcollection.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/collections/bibtexcollection.h b/src/collections/bibtexcollection.h
index 628cc37..2752063 100644
--- a/src/collections/bibtexcollection.h
+++ b/src/collections/bibtexcollection.h
@@ -29,6 +29,7 @@ namespace Tellico {
*/
class BibtexCollection : public Collection {
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -37,7 +38,7 @@ public:
* @param addFields A boolean indicating whether the default attributes should be added
* @param title The title of the collection
*/
- BibtexCollection(bool addFields, const QString& title = QString::null);
+ BibtexCollection(bool addFields, const TQString& title = TQString());
/**
*/
virtual ~BibtexCollection() {}
@@ -47,12 +48,12 @@ public:
virtual bool modifyField(FieldPtr field);
virtual bool deleteField(FieldPtr field, bool force=false);
- FieldPtr fieldByBibtexName(const QString& name) const;
- const QString& preamble() const { return m_preamble; }
- void setPreamble(const QString& preamble) { m_preamble = preamble; }
+ FieldPtr fieldByBibtexName(const TQString& name) const;
+ const TQString& preamble() const { return m_preamble; }
+ void setPreamble(const TQString& preamble) { m_preamble = preamble; }
const StringMap& macroList() const { return m_macros; }
void setMacroList(StringMap map) { m_macros = map; }
- void addMacro(const QString& key, const QString& value) { m_macros.insert(key, value); }
+ void addMacro(const TQString& key, const TQString& value) { m_macros.insert(key, value); }
virtual int sameEntry(Data::EntryPtr entry1, Data::EntryPtr entry2) const;
@@ -60,8 +61,8 @@ public:
static CollPtr convertBookCollection(CollPtr coll);
private:
- QDict<Field> m_bibtexFieldDict;
- QString m_preamble;
+ TQDict<Field> m_bibtexFieldDict;
+ TQString m_preamble;
StringMap m_macros;
};