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

Nepomuk-Core

  • KTp
  • Widgets
notificationconfigdialog.h
Go to the documentation of this file.
1 /*
2  * This file is part of KDE Telepathy Common Internals
3  *
4  * Copyright (C) 2012 Rohan Garg <rohangarg@kubuntu.org>
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library 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 GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20 
21 #ifndef NOTIFICATIONCONFIGDIALOG_H
22 #define NOTIFICATIONCONFIGDIALOG_H
23 
24 #include <KTp/ktp-export.h>
25 
26 #include <KDialog>
27 #include <TelepathyQt/Types>
28 
29 class KNotifyConfigWidget;
30 
31 namespace KTp {
32 
33 class KTP_EXPORT NotificationConfigDialog : public KDialog
34 {
35  Q_OBJECT
36 public:
37  explicit NotificationConfigDialog(const Tp::ContactPtr &contact, QWidget *parent=0);
38  ~NotificationConfigDialog();
39 private:
40  KNotifyConfigWidget *m_notifyWidget;
41  Tp::ContactPtr m_contact;
42  int m_currentSelection;
43 private Q_SLOTS:
44  void saveConfig();
45  void updateNotifyWidget(const int selection);
46  void defaults();
47 };
48 
49 }
50 #endif // NOTIFICATIONCONFIGDIALOG_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktp-common-internals API Reference

Skip menu "ktp-common-internals API Reference"
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