diff options
| author | Iain R. Learmonth <irl@debian.org> | 2015-10-18 18:51:00 +0100 |
|---|---|---|
| committer | Iain R. Learmonth <irl@debian.org> | 2015-10-18 18:51:00 +0100 |
| commit | d63dd8d081a6fcd0715cd13f26df59fb831769d2 (patch) | |
| tree | b9c1f6245147a310aac3762630bad389bbb57335 /devsetup.h | |
| parent | c720a3d55c5ec832c29cb7ce50b6fb4b70c55b11 (diff) | |
Imported Upstream version 1.5.0upstream/1.5.0
Diffstat (limited to 'devsetup.h')
| -rw-r--r-- | devsetup.h | 120 |
1 files changed, 0 insertions, 120 deletions
diff --git a/devsetup.h b/devsetup.h deleted file mode 100644 index f4834701..00000000 --- a/devsetup.h +++ /dev/null @@ -1,120 +0,0 @@ -#ifndef DEVSETUP_H -#define DEVSETUP_H - -#include <QDialog> -#include <QProcess> -#include <QMessageBox> -#include "ui_devsetup.h" -#include "rigclass.h" - -class DevSetup : public QDialog -{ - Q_OBJECT -public: - DevSetup(QWidget *parent=0); - ~DevSetup(); - - void initDlg(); - - qint32 m_idInt; - qint32 m_pttMethodIndex; - qint32 m_pttPort; - qint32 m_nDevIn; - qint32 m_nDevOut; - qint32 m_inDevList[100]; - qint32 m_outDevList[100]; - qint32 m_paInDevice; - qint32 m_paOutDevice; - qint32 m_catPortIndex; - qint32 m_rig; - qint32 m_rigIndex; - qint32 m_serialRate; - qint32 m_serialRateIndex; - qint32 m_dataBits; - qint32 m_dataBitsIndex; - qint32 m_stopBits; - qint32 m_stopBitsIndex; - qint32 m_handshakeIndex; - qint32 m_test; - qint32 m_poll; - qint32 m_tmp; - - bool m_restartSoundIn; - bool m_restartSoundOut; - bool m_pskReporter; - bool m_firstCall; - bool m_catEnabled; - bool m_After73; - bool m_bRigOpen; - bool m_bDTRoff; - bool m_pttData; - bool m_bSplit; - bool m_bXIT; - - QString m_myCall; - QString m_myGrid; - QString m_saveDir; - QString m_azelDir; - QString m_catPort; - QString m_handshake; - QString m_pskAntenna; - - QStringList m_macro; - QStringList m_dFreq; - - QProcess p4; - QMessageBox msgBox0; - -public slots: - void accept(); - void reject(); - void p4ReadFromStdout(); - void p4ReadFromStderr(); - void p4Error(); - -private slots: - void on_myCallEntry_editingFinished(); - void on_myGridEntry_editingFinished(); - void on_cbPSKReporter_clicked(bool checked); - void on_pttMethodComboBox_activated(int index); - void on_catPortComboBox_activated(int index); - void on_cbEnableCAT_toggled(bool checked); - void on_serialRateComboBox_activated(int index); - void on_handshakeComboBox_activated(int index); - void on_dataBitsComboBox_activated(int index); - void on_stopBitsComboBox_activated(int index); - void on_rigComboBox_activated(int index); - void on_cbID73_toggled(bool checked); - void on_testCATButton_clicked(); - void on_testPTTButton_clicked(); - void on_cbDTRoff_toggled(bool checked); - void on_rbData_toggled(bool checked); - void on_pollSpinBox_valueChanged(int n); - void on_pttComboBox_currentIndexChanged(int index); - void on_pttMethodComboBox_currentIndexChanged(int index); - - void on_cbSplit_toggled(bool checked); - - void on_cbXIT_toggled(bool checked); - -private: - Rig* rig; - void msgBox(QString t); - void enableWidgets(); - void openRig(); - Ui::DialogSndCard ui; -}; - -extern int ptt(int nport, int ntx, int* iptt, int* nopen); - -#ifdef WIN32 -extern "C" { - bool HRDInterfaceConnect(const wchar_t *host, const ushort); - void HRDInterfaceDisconnect(); - bool HRDInterfaceIsConnected(); - wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); - void HRDInterfaceFreeString(const wchar_t *lstring); -} -#endif - -#endif // DEVSETUP_H |
