~ubuntu-branches/ubuntu/vivid/sflphone/vivid

« back to all changes in this revision

Viewing changes to kde/src/sflphoneapplication.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2013-06-30 11:40:56 UTC
  • mfrom: (4.1.18 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130630114056-0np50jkyqo6vnmii
Tags: 1.2.3-2
* changeset_r92d62cfc54732bbbcfff2b1d36c096b120b981a5.diff 
  - fixes automatic endian detection 
* Update Vcs: fixes vcs-field-not-canonical

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/***************************************************************************
 
2
 *   Copyright (C) 2009-2013 by Savoir-Faire Linux                         *
 
3
 *   Author : Jérémy Quentin <jeremy.quentin@savoirfairelinux.com>         *
 
4
 *            Emmanuel Lepage Vallee <emmanuel.lepage@savoirfairelinux.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 3 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, see <http://www.gnu.org/licenses/>. *
 
18
 **************************************************************************/
 
19
 
 
20
#ifndef SFLPHONEAPPLICATION_H
 
21
#define SFLPHONEAPPLICATION_H
 
22
 
 
23
#include <KUniqueApplication>
 
24
#include <QDBusAbstractAdaptor>
 
25
 
 
26
//Qt
 
27
class QEvent;
 
28
 
 
29
//SFLPhone
 
30
class SFLPhone;
 
31
 
 
32
///SFLPhoneApplication: Main application
 
33
class SFLPhoneApplication : public KUniqueApplication
 
34
{
 
35
  Q_OBJECT
 
36
 
 
37
public:
 
38
   // Constructor
 
39
   SFLPhoneApplication();
 
40
 
 
41
   // Destructor
 
42
   virtual ~SFLPhoneApplication();
 
43
 
 
44
   // Manage new instances
 
45
   virtual int newInstance();
 
46
 
 
47
   // Exit gracefully
 
48
   virtual bool notify (QObject* receiver, QEvent* e);
 
49
 
 
50
private:
 
51
   //Init
 
52
   void initializeMainWindow();
 
53
   void initializePaths();
 
54
};
 
55
 
 
56
#endif // SFLPHONEAPPLICATION_H