• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdenetwork API Reference
  • KDE Home
  • Contact Us
 

kopete/kopete

  • sources
  • kde-4.14
  • kdenetwork
  • kopete
  • kopete
  • contactlist
customnotificationprops.cpp
Go to the documentation of this file.
1 /*
2  customnotificationprops.cpp
3 
4  Kopete Contactlist Custom Notifications GUI for Groups and MetaContacts
5 
6  Contains UI controller logic for managing custom notifications
7 
8  Copyright (c) 2004 Will Stephenson <wstephenson@kde.org>
9  Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org>
10 
11  *************************************************************************
12  * *
13  * This program is free software; you can redistribute it and/or modify *
14  * it under the terms of the GNU General Public License as published by *
15  * the Free Software Foundation; either version 2 of the License, or *
16  * (at your option) any later version. *
17  * *
18  *************************************************************************
19 */
20 
21 #include "customnotificationprops.h"
22 
23 #include <qcheckbox.h>
24 #include <qcombobox.h>
25 #include <qlineedit.h>
26 
27 #include <kdebug.h>
28 #include <kconfig.h>
29 #include <kurlrequester.h>
30 
31 #include <knotifyconfigwidget.h>
32 
33 #include <knotification.h>
34 
35 #include <QMetaEnum>
36 
37 CustomNotificationProps::CustomNotificationProps( QWidget *parent, const QPair<QString,QString> &context, const char * name )
38  : QObject( parent ) , m_item(context)
39 {
40  setObjectName( name );
41  m_notifyWidget = new KNotifyConfigWidget( parent );
42  m_notifyWidget->setApplication(QString() , m_item.first , m_item.second);
43 }
44 
45 
46 
47 void CustomNotificationProps::dumpData()
48 {
49 }
50 
51 void CustomNotificationProps::resetEventWidgets()
52 {
53 }
54 
55 void CustomNotificationProps::storeCurrentCustoms()
56 {
57  m_notifyWidget->save();
58 }
59 
60 
61 QWidget* CustomNotificationProps::widget()
62 {
63  return m_notifyWidget;
64 }
65 
66 #include "customnotificationprops.moc"
QWidget
CustomNotificationProps::storeCurrentCustoms
void storeCurrentCustoms()
Definition: customnotificationprops.cpp:55
CustomNotificationProps::widget
QWidget * widget()
Definition: customnotificationprops.cpp:61
QObject
QObject::setObjectName
void setObjectName(const QString &name)
CustomNotificationProps::CustomNotificationProps
CustomNotificationProps(QWidget *parent, const QPair< QString, QString > &context, const char *name=0)
Definition: customnotificationprops.cpp:37
QString
QPair< QString, QString >
CustomNotificationProps::resetEventWidgets
void resetEventWidgets()
Definition: customnotificationprops.cpp:51
CustomNotificationProps::dumpData
void dumpData()
Definition: customnotificationprops.cpp:47
customnotificationprops.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:29:08 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kopete/kopete

Skip menu "kopete/kopete"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal