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/entrywidgetkeyword.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'src/entrywidgetkeyword.h') 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 -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 ); }; } -- cgit v1.2.3