Diffstat (limited to 'noncore/net/opietooth/blue-pin/pindlg.h') (more/less context) (ignore 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 @@ -12,6 +12,11 @@ namespace OpieTooth { public: - PinDlg(const QString& text, - const QString& mac, + PinDlg(const QString& text="", + const QString& mac="", QWidget* parent = 0, const char* name= 0 ); + + PinDlg(QWidget* parent, + const char* name, + Qt::WFlags f ); + ~PinDlg(); @@ -19,2 +24,4 @@ namespace OpieTooth { QString pin() const; + + static QString appName() { return QString::fromLatin1("bluepin") ; } @@ -22,2 +29,6 @@ namespace OpieTooth { void test( const QString& mac ); + + QString makeTextFromArgs(); + QString makeMacFromArgs(); + QString m_mac; |