~ubuntu-branches/ubuntu/intrepid/kdebluetooth/intrepid-proposed

« back to all changes in this revision

Viewing changes to src/passkeydialog.h

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Mercatante
  • Date: 2008-08-07 09:49:47 UTC
  • mto: This revision was merged to the branch mainline in revision 56.
  • Revision ID: james.westby@ubuntu.com-20080807094947-pj6q3uxwuv7l844q
Tags: upstream-0.1
ImportĀ upstreamĀ versionĀ 0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *
 
3
 *  KBluetooth4 - KDE Bluetooth Framework
 
4
 *
 
5
 *  Copyright (C) 2008  Tom Patzig <tpatzig@suse.de>
 
6
 *
 
7
 *  This file is part of kbluetooth4.
 
8
 *
 
9
 *  kbluetooth4 is free software; you can redistribute it and/or modify
 
10
 *  it under the terms of the GNU General Public License as published by
 
11
 *  the Free Software Foundation; either version 2 of the License, or
 
12
 *  (at your option) any later version.
 
13
 *
 
14
 *  kbluetooth4 is distributed in the hope that it will be useful,
 
15
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 
16
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
17
 *  GNU General Public License for more details.
 
18
 *
 
19
 *  You should have received a copy of the GNU General Public License
 
20
 *  along with kbluetooth4; if not, write to the Free Software
 
21
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
22
 *
 
23
*/
 
24
 
 
25
#ifndef PASSKEYDIALOG_H
 
26
#define PASSKEYDIALOG_H
 
27
 
 
28
 
 
29
#include <QtGui>
 
30
#include <QDialog>
 
31
 
 
32
#include "ui_passkeydialog.h"
 
33
 
 
34
 
 
35
class PasskeyDialog :   public QDialog,
 
36
                        private Ui_PasskeyDialog
 
37
{
 
38
Q_OBJECT
 
39
 
 
40
public:
 
41
        PasskeyDialog(QObject* parent = 0);
 
42
        ~PasskeyDialog();
 
43
        
 
44
        void setName(QString);
 
45
        void setAddr(QString);
 
46
        QString getPin();
 
47
 
 
48
private:
 
49
        QObject* m_parent;
 
50
 
 
51
public slots:
 
52
        void slotOkClicked();
 
53
        void slotCancelClicked();
 
54
 
 
55
signals:
 
56
        void okClicked();
 
57
        
 
58
 
 
59
 
 
60
};
 
61
 
 
62
 
 
63
#endif