~ubuntu-branches/ubuntu/wily/sflphone/wily

« back to all changes in this revision

Viewing changes to kde/src/conf/configurationdialog.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-01-07 14:51:16 UTC
  • mfrom: (4.3.5 sid)
  • Revision ID: package-import@ubuntu.com-20150107145116-yxnafinf4lrdvrmx
Tags: 1.4.1-0.1ubuntu1
* Merge with Debian, remaining changes:
 - Drop soprano, nepomuk build-dep
* Drop ubuntu patches, now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "sflphoneview.h"
27
27
#define SETTINGS_NAME "settings"
28
28
 
 
29
//KDE
 
30
class KConfigDialogManager;
29
31
 
30
32
//SFLPhone
31
33
class DlgGeneral;
39
41
class SFLPhoneView;
40
42
class DlgPresence;
41
43
 
 
44
//Private
 
45
class PlaceHolderWidget;
 
46
 
42
47
/**
43
48
   @author Jérémy Quentin <jeremy.quentin@gmail.com>
44
49
   This class represents the config dialog for sflphone.
53
58
class ConfigurationDialog : public KConfigDialog
54
59
{
55
60
Q_OBJECT
 
61
friend class PlaceHolderWidget;
56
62
private:
 
63
   enum Page {
 
64
      General,
 
65
      Display,
 
66
      Accounts,
 
67
      Audio,
 
68
      AddressBook,
 
69
      Hooks,
 
70
      Accessibility,
 
71
      Video,
 
72
      Presence,
 
73
   };
 
74
   PlaceHolderWidget* dlgHolder[Page::Presence+1];
 
75
 
57
76
   DlgGeneral*       dlgGeneral      ;
58
77
   DlgDisplay*       dlgDisplay      ;
59
78
   DlgAccounts*      dlgAccounts     ;
63
82
   DlgAccessibility* dlgAccessibility;
64
83
   DlgVideo*         dlgVideo        ;
65
84
   DlgPresence*      dlgPresence     ;
 
85
   KPageWidgetItem*  m_pPresPage     ;
 
86
 
 
87
   KConfigDialogManager* m_pManager;
66
88
 
67
89
public:
68
90
   explicit ConfigurationDialog(SFLPhoneView *parent = nullptr);
115
137
    */
116
138
   void applyCustomSettings();
117
139
 
 
140
   void slotPresenceEnabled(bool);
 
141
 
118
142
 
119
143
Q_SIGNALS:
120
144
   ///Emitted when the history need to be cleaned