KVIrc  4.9.2
DeveloperAPIs
OptionsWidget_notifier.h
Go to the documentation of this file.
1 #ifndef _OPTW_NOTIFIER_H_
2 #define _OPTW_NOTIFIER_H_
3 
4 //=============================================================================
5 //
6 // File : OptionsWidget_notifier.h
7 // Creation date : Thu Jul 09 2009 10:54:39 CEST by Fabio Bas
8 //
9 // This file is part of the KVIrc IRC client distribution
10 // Copyright (C) 2001-2010 Szymon Stefanek (pragma at kvirc dot net)
11 //
12 // This program is FREE software. You can redistribute it and/or
13 // modify it under the terms of the GNU General Public License
14 // as published by the Free Software Foundation; either version 2
15 // of the License, or (at your option) any later version.
16 //
17 // This program is distributed in the HOPE that it will be USEFUL,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 // See the GNU General Public License for more details.
21 //
22 // You should have received a copy of the GNU General Public License
23 // along with this program. If not, write to the Free Software Foundation,
24 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 //
26 //=============================================================================
27 
28 #include "KviOptionsWidget.h"
29 
30 #include <QComboBox>
31 
32 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_notifierLook KviIconManager::Notifier
33 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_notifierLook __tr2qs_no_lookup("Notifier")
34 #define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_notifierLook __tr2qs_no_lookup("theme,colors,text")
35 #define KVI_OPTIONS_WIDGET_GROUP_OptionsWidget_notifierLook "theme"
36 
38 {
39  Q_OBJECT
40 private:
41  QComboBox * m_pHorizontalAlign;
42  QComboBox * m_pVerticalAlign;
43 
44 public:
45  OptionsWidget_notifierLook(QWidget * parent);
47 
48  virtual void commit();
49 };
50 
51 #define KVI_OPTIONS_WIDGET_ICON_OptionsWidget_notifier KviIconManager::Notifier
52 #define KVI_OPTIONS_WIDGET_NAME_OptionsWidget_notifier __tr2qs_no_lookup("Notifier")
53 #define KVI_OPTIONS_WIDGET_KEYWORDS_OptionsWidget_notifier __tr2qs_no_lookup("popup")
54 #define KVI_OPTIONS_WIDGET_PARENT_OptionsWidget_notifier OptionsWidget_interfaceFeatures
55 
57 {
58  Q_OBJECT
59 public:
60  OptionsWidget_notifier(QWidget * parent);
62 
63 private:
64 #ifdef COMPILE_KDE_SUPPORT
65  KviBoolSelector * m_pKdeNotifier;
66 #endif
67 #ifdef COMPILE_DBUS_SUPPORT
68  KviBoolSelector * m_pDBusNotifier;
69 #endif
70 #ifdef COMPILE_KDE_SUPPORT
71 private slots:
72  void toggleNotifierProtocol(bool);
73 #endif
74 };
75 
76 #endif
Definition: OptionsWidget_notifier.h:56
OptionsWidget_notifierLook(QWidget *parent)
Definition: OptionsWidget_notifier.cpp:33
Definition: KviSelectors.h:59
OptionsWidget_notifier(QWidget *parent)
Definition: OptionsWidget_notifier.cpp:133
QComboBox * m_pHorizontalAlign
Definition: OptionsWidget_notifier.h:41
Definition: OptionsWidget_notifier.h:37
Definition: KviOptionsWidget.h:40
QComboBox * m_pVerticalAlign
Definition: OptionsWidget_notifier.h:42
virtual void commit()
Definition: OptionsWidget_notifier.cpp:101