summaryrefslogtreecommitdiffstats
path: root/src/entrywidgettab.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/entrywidgettab.h')
-rw-r--r--src/entrywidgettab.h16
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;