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/entrywidgettab.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/entrywidgettab.h')
-rw-r--r-- | src/entrywidgettab.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/entrywidgettab.h b/src/entrywidgettab.h index 8e63252..1eace4f 100644 --- a/src/entrywidgettab.h +++ b/src/entrywidgettab.h @@ -20,22 +20,22 @@ #ifndef KBIBTEXENTRYWIDGETTAB_H #define KBIBTEXENTRYWIDGETTAB_H -#include <qwidget.h> +#include <ntqwidget.h> #include <entry.h> #include <file.h> -class QListView; +class TQListView; namespace KBibTeX { class FieldLineEdit; - class EntryWidgetTab : public QWidget + class EntryWidgetTab : public TQWidget { Q_OBJECT public: - EntryWidgetTab( BibTeX::File *bibtexfile, bool isReadOnly, QWidget *parent = 0, const char *name = 0 ); + EntryWidgetTab( BibTeX::File *bibtexfile, bool isReadOnly, TQWidget *parent = 0, const char *name = 0 ); ~EntryWidgetTab(); virtual bool isModified() = 0; @@ -44,13 +44,13 @@ namespace KBibTeX virtual void updateGUI( BibTeX::Entry::EntryType entryType, bool enableAll ) = 0; virtual void apply( BibTeX::Entry *entry ) = 0; virtual void reset( BibTeX::Entry *entry ) = 0; - virtual void updateWarnings( BibTeX::Entry::EntryType entryType, QListView *listViewWarnings ) = 0; + virtual void updateWarnings( BibTeX::Entry::EntryType entryType, TQListView *listViewWarnings ) = 0; protected: void setValue( BibTeX::Entry *entry, const BibTeX::EntryField::FieldType fieldType, BibTeX::Value *value ); - void addMissingWarning( BibTeX::Entry::EntryType entryType, BibTeX::EntryField::FieldType fieldType, const QString& label, bool valid, QWidget *widget, QListView *listView ); - void addCrossRefInfo( const QString& label, QWidget *widget, QListView *listView ); - void addFieldLineEditWarning( FieldLineEdit *fieldLineEdit, const QString& label, QListView *listView ); + void addMissingWarning( BibTeX::Entry::EntryType entryType, BibTeX::EntryField::FieldType fieldType, const TQString& label, bool valid, TQWidget *widget, TQListView *listView ); + void addCrossRefInfo( const TQString& label, TQWidget *widget, TQListView *listView ); + void addFieldLineEditWarning( FieldLineEdit *fieldLineEdit, const TQString& label, TQListView *listView ); bool m_isReadOnly; static BibTeX::Entry *m_crossRefEntry; |