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/webqueryz3950.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/webqueryz3950.h')
-rw-r--r-- | src/webqueryz3950.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/webqueryz3950.h b/src/webqueryz3950.h index 93d8999..5f926f7 100644 --- a/src/webqueryz3950.h +++ b/src/webqueryz3950.h @@ -34,9 +34,9 @@ #ifndef KBIBTEXWEBQUERYZ3950_H #define KBIBTEXWEBQUERYZ3950_H -#include <qevent.h> -#include <qdeepcopy.h> -#include <qthread.h> +#include <ntqevent.h> +#include <ntqdeepcopy.h> +#include <ntqthread.h> #include <ksharedptr.h> @@ -57,7 +57,7 @@ namespace KBibTeX { Q_OBJECT public: - WebQueryZ3950Widget( QWidget *parent, const char *name = 0 ); + WebQueryZ3950Widget( TQWidget *parent, const char *name = 0 ); KComboBox *comboBoxServers; KComboBox *comboBoxInAttribute; @@ -69,7 +69,7 @@ namespace KBibTeX virtual void init(); private: - static const QString attributesI18N[]; + static const TQString attributesI18N[]; }; @@ -80,14 +80,14 @@ namespace KBibTeX { Q_OBJECT public: - WebQueryZ3950( QWidget* parent ); + WebQueryZ3950( TQWidget* parent ); virtual ~WebQueryZ3950(); void query(); - QString title(); - QString disclaimer(); - QString disclaimerURL(); + TQString title(); + TQString disclaimer(); + TQString disclaimerURL(); WebQueryWidget *widget(); @@ -98,7 +98,7 @@ namespace KBibTeX void cancelQuery(); protected: - virtual void customEvent( QCustomEvent* event ); + virtual void customEvent( TQCustomEvent* event ); #ifdef HAVE_YAZ private: @@ -108,13 +108,13 @@ namespace KBibTeX KBibTeX::Z3950Connection *m_conn; bool m_started; bool m_waitingRetrieveRange; - QString m_syntax; - QStringList m_modsList; + TQString m_syntax; + TQStringList m_modsList; int m_hitCounter; - void storeResult( const QString& resultText, const QString& syntax ); + void storeResult( const TQString& resultText, const TQString& syntax ); void evalStoredResults(); - QString queryClause( const QString& text, int field ); + TQString queryClause( const TQString& text, int field ); #endif // HAVE_YAZ }; } |