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/entryfield.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/entryfield.h')
-rw-r--r-- | src/entryfield.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/entryfield.h b/src/entryfield.h index 6b3af30..684045e 100644 --- a/src/entryfield.h +++ b/src/entryfield.h @@ -20,7 +20,7 @@ #ifndef BIBTEXBIBTEXENTRYFIELD_H #define BIBTEXBIBTEXENTRYFIELD_H -#include <qstring.h> +#include <ntqstring.h> #include <value.h> @@ -32,23 +32,23 @@ namespace BibTeX enum FieldType {ftAbstract, ftAddress, ftAnnote, ftAuthor, ftBookTitle, ftChapter, ftCrossRef, ftDoi, ftEdition, ftEditor, ftHowPublished, ftInstitution, ftISBN, ftISSN, ftJournal, ftKey, ftKeywords, ftLocalFile, ftLocation, ftMonth, ftNote, ftNumber, ftOrganization, ftPages, ftPublisher, ftSchool, ftSeries, ftTitle, ftType, ftURL, ftVolume, ftYear, ftUnknown = -1}; EntryField( FieldType fieldType ); - EntryField( const QString &fieldTypeName ); + EntryField( const TQString &fieldTypeName ); EntryField( BibTeX::EntryField *other ); ~EntryField(); - QString fieldTypeName() const; + TQString fieldTypeName() const; FieldType fieldType() const; - void setFieldType( FieldType fieldType, const QString& fieldTypeName ); + void setFieldType( FieldType fieldType, const TQString& fieldTypeName ); - static QString fieldTypeToString( const FieldType fieldType ); - static FieldType fieldTypeFromString( const QString &fieldTypeString ); + static TQString fieldTypeToString( const FieldType fieldType ); + static FieldType fieldTypeFromString( const TQString &fieldTypeString ); BibTeX::Value *value(); void setValue( const BibTeX::Value *value ); private: FieldType m_fieldType; - QString m_fieldTypeName; + TQString m_fieldTypeName; Value *m_value; }; |