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/entrywidgetkeyword.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
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 ); }; } |