diff options
Diffstat (limited to 'src/entrywidgetkeyword.h')
-rw-r--r-- | src/entrywidgetkeyword.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/entrywidgetkeyword.h b/src/entrywidgetkeyword.h index 88eae61..e8a7c75 100644 --- a/src/entrywidgetkeyword.h +++ b/src/entrywidgetkeyword.h @@ -22,15 +22,15 @@ #include <entrywidgettab.h> -class QPushButton; +class TQPushButton; class KListView; namespace KBibTeX { - class KeywordListViewItem: public QCheckListItem + class KeywordListViewItem: public TQCheckListItem { public: - KeywordListViewItem( KListView * parent, const QString & text, bool isGlobal ); + KeywordListViewItem( KListView * parent, const TQString & text, bool isGlobal ); ~KeywordListViewItem(); bool isGlobal() @@ -50,7 +50,7 @@ namespace KBibTeX { Q_OBJECT public: - EntryWidgetKeyword( BibTeX::File *bibtexfile, bool isReadOnly, QWidget *parent = 0, const char *name = 0 ); + EntryWidgetKeyword( BibTeX::File *bibtexfile, bool isReadOnly, TQWidget *parent = 0, const char *name = 0 ); ~EntryWidgetKeyword(); bool isModified(); @@ -59,33 +59,33 @@ namespace KBibTeX void updateGUI( BibTeX::Entry::EntryType entryType, bool enableAll ); void apply( BibTeX::Entry *entry ); void reset( BibTeX::Entry *entry ); - void updateWarnings( BibTeX::Entry::EntryType entryType, QListView *listViewWarnings ); + void updateWarnings( BibTeX::Entry::EntryType entryType, TQListView *listViewWarnings ); private slots: void slotSelectionChanged(); - void slotKeywordRenamed( QListViewItem * item, const QString & text, int col ); + void slotKeywordRenamed( TQListViewItem * item, const TQString & text, int col ); void slotNewKeyword(); void slotEditKeyword(); void slotToggleGlobal(); private: BibTeX::File *m_bibtexfile; - QStringList m_availableKeywords; - QStringList m_globalKeywords; - QStringList m_fileKeywords; - QStringList m_usedKeywords; + TQStringList m_availableKeywords; + TQStringList m_globalKeywords; + TQStringList m_fileKeywords; + TQStringList m_usedKeywords; bool m_isModified; KListView *m_listviewKeywords; - QPushButton *m_buttonNew; - QPushButton *m_buttonEdit; - QPushButton *m_buttonToggleGlobal; + TQPushButton *m_buttonNew; + TQPushButton *m_buttonEdit; + TQPushButton *m_buttonToggleGlobal; int m_numKeywords; - QString m_beforeRenaming; + TQString m_beforeRenaming; void setupGUI(); void setListView(); void readListView(); - bool editKeywords( QStringList *keywords ); + bool editKeywords( TQStringList *keywords ); }; } |