Diffstat (limited to 'noncore/net/opietooth/blue-pin/pindlg.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opietooth/blue-pin/pindlg.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/noncore/net/opietooth/blue-pin/pindlg.h b/noncore/net/opietooth/blue-pin/pindlg.h index 5e5a763..5f7dc55 100644 --- a/noncore/net/opietooth/blue-pin/pindlg.h +++ b/noncore/net/opietooth/blue-pin/pindlg.h | |||
@@ -10,16 +10,27 @@ namespace OpieTooth { | |||
10 | Q_OBJECT | 10 | Q_OBJECT |
11 | 11 | ||
12 | public: | 12 | public: |
13 | PinDlg(const QString& text, | 13 | PinDlg(const QString& text="", |
14 | const QString& mac, | 14 | const QString& mac="", |
15 | QWidget* parent = 0, | 15 | QWidget* parent = 0, |
16 | const char* name= 0 ); | 16 | const char* name= 0 ); |
17 | |||
18 | PinDlg(QWidget* parent, | ||
19 | const char* name, | ||
20 | Qt::WFlags f ); | ||
21 | |||
17 | ~PinDlg(); | 22 | ~PinDlg(); |
18 | void setMac( const QString& ); | 23 | void setMac( const QString& ); |
19 | QString pin() const; | 24 | QString pin() const; |
20 | 25 | ||
26 | static QString appName() { return QString::fromLatin1("bluepin") ; } | ||
27 | |||
21 | private: | 28 | private: |
22 | void test( const QString& mac ); | 29 | void test( const QString& mac ); |
30 | |||
31 | QString makeTextFromArgs(); | ||
32 | QString makeMacFromArgs(); | ||
33 | |||
23 | QString m_mac; | 34 | QString m_mac; |
24 | 35 | ||
25 | protected slots: | 36 | protected slots: |