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/documentsourceview.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/documentsourceview.h')
-rw-r--r-- | src/documentsourceview.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/documentsourceview.h b/src/documentsourceview.h index 8edb23a..1ea0519 100644 --- a/src/documentsourceview.h +++ b/src/documentsourceview.h @@ -20,7 +20,7 @@ #ifndef KBIBTEXDOCUMENTSOURCEVIEW_H #define KBIBTEXDOCUMENTSOURCEVIEW_H -#include <qwidget.h> +#include <ntqwidget.h> #include <file.h> @@ -37,11 +37,11 @@ namespace KBibTeX /** * @author Thomas Fischer <[email protected]> */ - class DocumentSourceView : public QWidget + class DocumentSourceView : public TQWidget { Q_OBJECT public: - DocumentSourceView( KBibTeX::DocumentWidget *docWidget, bool isReadOnly, QWidget *parent = 0, const char *name = 0 ); + DocumentSourceView( KBibTeX::DocumentWidget *docWidget, bool isReadOnly, TQWidget *parent = 0, const char *name = 0 ); ~DocumentSourceView(); bool setBibTeXFile( BibTeX::File *bibtexFile ); @@ -50,7 +50,7 @@ namespace KBibTeX void copy(); void cut(); bool paste(); - void insertLines( const QString& text, int line = -1 ); + void insertLines( const TQString& text, int line = -1 ); void selectAll(); void setReadOnly( bool isReadOnly ); @@ -66,7 +66,7 @@ namespace KBibTeX void modified(); protected: - virtual void focusInEvent( QFocusEvent* event ); + virtual void focusInEvent( TQFocusEvent* event ); private: bool m_isReadOnly; @@ -75,8 +75,8 @@ namespace KBibTeX Kate::Document* m_document; Kate::View* m_view; KTextEditor::EditInterface* m_editInterface; - QString m_lastSearchTerm; - QStringList m_findHistory; + TQString m_lastSearchTerm; + TQStringList m_findHistory; KProgressDialog *m_progDlg; void setupGUI(); |