~ubuntu-branches/ubuntu/maverick/bluedevil/maverick-proposed

« back to all changes in this revision

Viewing changes to src/daemon/helpers/requestpin/main.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mark Purcell
  • Date: 2010-08-07 09:04:19 UTC
  • Revision ID: james.westby@ubuntu.com-20100807090419-68k54ucso2htcf5z
Tags: upstream-1.0~rc2
ImportĀ upstreamĀ versionĀ 1.0~rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2010 Alejandro Fiestas Olivares <alex@eyeos.org>        *
 
3
 *   Copyright (C) 2010 Eduardo Robles Elvira <edulix@gmail.com>           *
 
4
 *   Copyright (C) 2010 UFO Coders <info@ufocoders.com>                    *
 
5
 *                                                                         *
 
6
 *   This program is free software; you can redistribute it and/or modify  *
 
7
 *   it under the terms of the GNU General Public License as published by  *
 
8
 *   the Free Software Foundation; either version 2 of the License, or     *
 
9
 *   (at your option) any later version.                                   *
 
10
 *                                                                         *
 
11
 *   This program is distributed in the hope that it will be useful,       *
 
12
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 
13
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 
14
 *   GNU General Public License for more details.                          *
 
15
 *                                                                         *
 
16
 *   You should have received a copy of the GNU General Public License     *
 
17
 *   along with this program; if not, write to the                         *
 
18
 *   Free Software Foundation, Inc.,                                       *
 
19
 *   51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA            *
 
20
 ***************************************************************************/
 
21
 
 
22
#include "requestpin.h"
 
23
 
 
24
#include <QtGui/QApplication>
 
25
 
 
26
#include <kcomponentdata.h>
 
27
#include <kaboutdata.h>
 
28
#include <kcmdlineargs.h>
 
29
#include <kglobal.h>
 
30
 
 
31
static const KLocalizedString description = ki18n("KDE Bluetooth System");
 
32
 
 
33
int main(int argc, char *argv[])
 
34
{
 
35
    QApplication app(argc, argv);
 
36
    KComponentData data("bluedevil", "bluedevil");
 
37
    KGlobal::setActiveComponent(data);
 
38
    RequestPin request;
 
39
 
 
40
    return app.exec();
 
41
}