diff options
author | Slávek Banko <[email protected]> | 2013-06-29 12:56:53 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2013-07-04 03:11:35 +0200 |
commit | 5f5e7c5455d52826b0bd50f64fcffb7695ce970d (patch) | |
tree | c8ee8792d3fb139365abbf70c2255f1e69d2aa34 /src/macro.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/macro.h')
-rw-r--r-- | src/macro.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/macro.h b/src/macro.h index ae42bdc..13168eb 100644 --- a/src/macro.h +++ b/src/macro.h @@ -24,31 +24,31 @@ #include <entryfield.h> #include <value.h> -class QString; +class TQString; namespace BibTeX { class Macro : public Element { public: - Macro( const QString &key ); + Macro( const TQString &key ); Macro( Macro *other ); virtual ~Macro(); - void setKey( const QString &key ); - QString key() const; + void setKey( const TQString &key ); + TQString key() const; Value *value() const; void setValue( Value *value ); - bool containsPattern( const QString& pattern, EntryField::FieldType fieldType = EntryField::ftUnknown, FilterType filterType = BibTeX::Element::ftExact, bool caseSensitive = FALSE ) const; + bool containsPattern( const TQString& pattern, EntryField::FieldType fieldType = EntryField::ftUnknown, FilterType filterType = BibTeX::Element::ftExact, bool caseSensitive = FALSE ) const; Element* clone(); void copyFrom( Macro *other ); - QString text() const; + TQString text() const; private: - QString m_key; + TQString m_key; Value *m_value; }; |