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