diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2013-06-29 12:56:53 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2013-07-04 03:11:35 +0200 |
commit | 5f5e7c5455d52826b0bd50f64fcffb7695ce970d (patch) | |
tree | c8ee8792d3fb139365abbf70c2255f1e69d2aa34 /src/entrywidgetother.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/entrywidgetother.h')
-rw-r--r-- | src/entrywidgetother.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/entrywidgetother.h b/src/entrywidgetother.h index 1119214..e8aae71 100644 --- a/src/entrywidgetother.h +++ b/src/entrywidgetother.h @@ -24,9 +24,9 @@ #include <entrywidgettab.h> -class QPushButton; +class TQPushButton; class KListView; -class QLineEdit; +class TQLineEdit; namespace KBibTeX { @@ -40,7 +40,7 @@ namespace KBibTeX { Q_OBJECT public: - EntryWidgetOther( BibTeX::File *bibtexfile, bool isReadOnly, QWidget *parent = 0, const char *name = 0 ); + EntryWidgetOther( BibTeX::File *bibtexfile, bool isReadOnly, TQWidget *parent = 0, const char *name = 0 ); ~EntryWidgetOther(); bool isModified(); @@ -49,15 +49,15 @@ 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: bool m_isModified; - QPushButton *m_pushButtonAdd; - QPushButton *m_pushButtonDelete; - QPushButton *m_pushButtonOpen; - QLineEdit *m_lineEditKey; + TQPushButton *m_pushButtonAdd; + TQPushButton *m_pushButtonDelete; + TQPushButton *m_pushButtonOpen; + TQLineEdit *m_lineEditKey; FieldLineEdit *m_fieldLineEditValue; KListView *m_listViewFields; KURL m_internalURL; @@ -66,29 +66,29 @@ namespace KBibTeX private slots: void updateGUI(); - void fieldExecute( QListViewItem * item ); + void fieldExecute( TQListViewItem * item ); void addClicked(); void deleteClicked(); void openClicked(); }; - class ValueListViewItem : public QListViewItem + class ValueListViewItem : public TQListViewItem { public: - ValueListViewItem( const QString& title, BibTeX::Value *value, QListView *parent ); + ValueListViewItem( const TQString& title, BibTeX::Value *value, TQListView *parent ); ~ValueListViewItem(); const BibTeX::Value *value(); - QString title(); + TQString title(); void setValue( BibTeX::Value *value ); - void setTitle( const QString &title ); + void setTitle( const TQString &title ); private: - QString m_title; + TQString m_title; BibTeX::Value *m_value; - void setTexts( const QString& title ); + void setTexts( const TQString& title ); }; } |