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/settingsz3950.h | |
parent | 251c9a439759c830d34c70683d0fc9454d703010 (diff) | |
download | kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.tar.gz kbibtex-5f5e7c5455d52826b0bd50f64fcffb7695ce970d.zip |
Initial TQt conversion
Diffstat (limited to 'src/settingsz3950.h')
-rw-r--r-- | src/settingsz3950.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/settingsz3950.h b/src/settingsz3950.h index 1b694db..084444f 100644 --- a/src/settingsz3950.h +++ b/src/settingsz3950.h @@ -26,11 +26,11 @@ #ifndef KBIBTEXSETTINGSZ3950_H #define KBIBTEXSETTINGSZ3950_H -#include <qwidget.h> +#include <ntqwidget.h> #include <settings.h> -class QSpinBox; +class TQSpinBox; class KPushButton; class KListView; class KLineEdit; @@ -41,41 +41,41 @@ namespace KBibTeX class ServerListViewItem: public KListViewItem { public: - ServerListViewItem( KListView *, const QString &, Settings::Z3950Server& server, bool newItem ); - ServerListViewItem( KListViewItem *, const QString &, Settings::Z3950Server& server, bool newItem ); + ServerListViewItem( KListView *, const TQString &, Settings::Z3950Server& server, bool newItem ); + ServerListViewItem( KListViewItem *, const TQString &, Settings::Z3950Server& server, bool newItem ); void refresh(); public: Settings::Z3950Server server; - QString id; + TQString id; bool newItem; }; /** @author Thomas Fischer <[email protected]> */ - class SettingsZ3950Edit : public QWidget + class SettingsZ3950Edit : public TQWidget { Q_OBJECT public: ~SettingsZ3950Edit(); - static int execute( QWidget *parent, QString &id, Settings::Z3950Server &server ); + static int execute( TQWidget *parent, TQString &id, Settings::Z3950Server &server ); protected slots: void slotApply(); protected: - SettingsZ3950Edit( QString &id, Settings::Z3950Server&, QWidget *parent = 0, const char *name = 0 ); + SettingsZ3950Edit( TQString &id, Settings::Z3950Server&, TQWidget *parent = 0, const char *name = 0 ); private: - QString& m_id; + TQString& m_id; Settings::Z3950Server& m_server; KLineEdit *m_lineEditId; KLineEdit *m_lineEditName; KLineEdit *m_lineEditHost; - QSpinBox *m_spinBoxPort; + TQSpinBox *m_spinBoxPort; KLineEdit *m_lineEditDatabase; KLineEdit *m_lineEditUser; KLineEdit *m_lineEditPassword; @@ -87,11 +87,11 @@ namespace KBibTeX /** @author Thomas Fischer <[email protected]> */ - class SettingsZ3950 : public QWidget + class SettingsZ3950 : public TQWidget { Q_OBJECT public: - SettingsZ3950( QWidget *parent = 0, const char *name = 0 ); + SettingsZ3950( TQWidget *parent = 0, const char *name = 0 ); ~SettingsZ3950(); void applyData(); |