summaryrefslogtreecommitdiff
path: root/noncore/net/opietooth/blue-pin/pindlg.h
authormickeyl <mickeyl>2004-07-13 19:34:46 (UTC)
committer mickeyl <mickeyl>2004-07-13 19:34:46 (UTC)
commita309681894af2632f9db2fcc252a058f218a82b2 (patch) (side-by-side diff)
treeea4e36b019cdc25c1043e5e3d000fbaacca71596 /noncore/net/opietooth/blue-pin/pindlg.h
parent03930fa4871365efb6438b74b3a68f8f06aa7e4f (diff)
downloadopie-a309681894af2632f9db2fcc252a058f218a82b2.zip
opie-a309681894af2632f9db2fcc252a058f218a82b2.tar.gz
opie-a309681894af2632f9db2fcc252a058f218a82b2.tar.bz2
convert blue-pin to be quicklaunchable. patch courtesy Thomas Themel.
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.h15
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
@@ -7,22 +7,33 @@ namespace OpieTooth {
class PinDlg : public PinDlgBase {
Q_OBJECT
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();
void setMac( const QString& );
QString pin() const;
+
+ static QString appName() { return QString::fromLatin1("bluepin") ; }
private:
void test( const QString& mac );
+
+ QString makeTextFromArgs();
+ QString makeMacFromArgs();
+
QString m_mac;
protected slots:
void accept();
};