kopete/kopete
customnotificationprops.h
Go to the documentation of this file.00001 //Added by qt3to4: 00002 #include <QBoxLayout> 00003 /* 00004 customnotificationprops.h 00005 00006 Kopete Contactlist Custom Notifications GUI for Groups and MetaContacts 00007 00008 Copyright (c) 2004 Will Stephenson <wstephenson@kde.org> 00009 Kopete (c) 2002-2003 by the Kopete developers <kopete-devel@kde.org> 00010 00011 ************************************************************************* 00012 * * 00013 * This program is free software; you can redistribute it and/or modify * 00014 * it under the terms of the GNU General Public License as published by * 00015 * the Free Software Foundation; either version 2 of the License, or * 00016 * (at your option) any later version. * 00017 * * 00018 ************************************************************************* 00019 */ 00020 00021 #ifndef KOPETE_CUSTOM_NOTIFICATION_PROPS_H 00022 #define KOPETE_CUSTOM_NOTIFICATION_PROPS_H 00023 00024 class KNotifyConfigWidget; 00025 class QBoxLayout; 00026 00027 00028 class CustomNotificationProps : public QObject 00029 { 00030 Q_OBJECT 00031 public: 00032 CustomNotificationProps( QWidget *parent, const QPair<QString,QString> &context, const char * name = 0 ); 00033 ~CustomNotificationProps() {} 00034 void dumpData(); 00035 void resetEventWidgets(); 00036 void storeCurrentCustoms(); 00037 QWidget* widget(); 00038 00039 private: 00040 KNotifyConfigWidget* m_notifyWidget; 00041 const QPair<QString,QString> m_item; 00042 QStringList m_eventList; 00043 QString m_event; 00044 }; 00045 00046 #endif
KDE 4.0 API Reference