From 5f5e7c5455d52826b0bd50f64fcffb7695ce970d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sat, 29 Jun 2013 12:56:53 +0200 Subject: Initial TQt conversion --- src/entrywidgettab.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/entrywidgettab.h') 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 +#include #include #include -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; -- cgit v1.2.1