diff options
Diffstat (limited to 'src/fieldlistview.h')
-rw-r--r-- | src/fieldlistview.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/fieldlistview.h b/src/fieldlistview.h index f8a3baa..9cfed77 100644 --- a/src/fieldlistview.h +++ b/src/fieldlistview.h @@ -20,16 +20,16 @@ #ifndef KBIBTEXFIELDLISTVIEW_H #define KBIBTEXFIELDLISTVIEW_H -#include <qwidget.h> +#include <ntqwidget.h> #include <value.h> #include <entryfield.h> -class QString; +class TQString; class KListView; -class QListViewItem; -class QPushButton; -class QCheckBox; +class TQListViewItem; +class TQPushButton; +class TQCheckBox; namespace KBibTeX { @@ -37,11 +37,11 @@ namespace KBibTeX /** @author Thomas Fischer <[email protected]> */ - class FieldListView : public QWidget + class FieldListView : public TQWidget { Q_OBJECT public: - FieldListView( const QString& caption, const QString& prefixNew, bool isReadOnly, QWidget *parent = 0, const char *name = 0 ); + FieldListView( const TQString& caption, const TQString& prefixNew, bool isReadOnly, TQWidget *parent = 0, const char *name = 0 ); ~FieldListView(); void setValue( const BibTeX::Value *value ); @@ -51,13 +51,13 @@ namespace KBibTeX void setFieldType( BibTeX::EntryField::FieldType fieldType ); - QString caption(); + TQString caption(); bool isEmpty(); bool isModified(); - virtual bool eventFilter( QObject *o, QEvent * e ); + virtual bool eventFilter( TQObject *o, TQEvent * e ); private slots: void updateGUI(); @@ -67,14 +67,14 @@ namespace KBibTeX void slotUp(); void slotDown(); void slotComplex(); - void slotListViewDoubleClicked( QListViewItem * ); - void slotItemRenamed( QListViewItem * item, int col, const QString & text ); + void slotListViewDoubleClicked( TQListViewItem * ); + void slotItemRenamed( TQListViewItem * item, int col, const TQString & text ); void apply(); private: BibTeX::Value *m_value; - QString m_caption; - QString m_prefixNew; + TQString m_caption; + TQString m_prefixNew; bool m_isReadOnly; bool m_enabled; bool m_isComplex; @@ -82,13 +82,13 @@ namespace KBibTeX int m_newValueCounter; BibTeX::EntryField::FieldType m_fieldType; KListView *m_listViewElements; - QPushButton *m_pushButtonAdd; - QPushButton *m_pushButtonEdit; - QPushButton *m_pushButtonDelete; - QPushButton *m_pushButtonUp; - QPushButton *m_pushButtonDown; - QPushButton *m_pushButtonComplexEdit; - QCheckBox *m_checkBoxEtAl; + TQPushButton *m_pushButtonAdd; + TQPushButton *m_pushButtonEdit; + TQPushButton *m_pushButtonDelete; + TQPushButton *m_pushButtonUp; + TQPushButton *m_pushButtonDown; + TQPushButton *m_pushButtonComplexEdit; + TQCheckBox *m_checkBoxEtAl; void setupGUI(); void reset(); |