Home · All Classes · Main Classes · Deprecated

mnotificationgroup.h

Go to the documentation of this file.
00001 /***************************************************************************
00002 **
00003 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
00004 ** All rights reserved.
00005 ** Contact: Nokia Corporation (directui@nokia.com)
00006 **
00007 ** This file is part of libmeegotouch.
00008 **
00009 ** If you have questions regarding the use of this file, please contact
00010 ** Nokia at directui@nokia.com.
00011 **
00012 ** This library is free software; you can redistribute it and/or
00013 ** modify it under the terms of the GNU Lesser General Public
00014 ** License version 2.1 as published by the Free Software Foundation
00015 ** and appearing in the file LICENSE.LGPL included in the packaging
00016 ** of this file.
00017 **
00018 ****************************************************************************/
00019 
00020 #ifndef MNOTIFICATIONGROUP_H_
00021 #define MNOTIFICATIONGROUP_H_
00022 
00023 #include <MExport>
00024 #include <QString>
00025 #include "mnotification.h"
00026 
00027 class MNotificationGroupPrivate;
00028 
00050 class M_CORE_EXPORT MNotificationGroup : public MNotification
00051 {
00052 public:
00063     explicit MNotificationGroup(const QString &eventType, const QString &summary = QString(), const QString &body = QString());
00064 
00068     virtual ~MNotificationGroup();
00069 
00071     virtual bool publish();
00072     virtual bool remove();
00074 
00083     static QList<MNotificationGroup *> notificationGroups();
00084 
00086 
00092     MNotificationGroup();
00093 
00101     explicit MNotificationGroup(const MNotificationGroup &group);
00102 
00103     friend QDBusArgument &operator<<(QDBusArgument &, const MNotificationGroup &);
00104     friend const QDBusArgument &operator>>(const QDBusArgument &, MNotificationGroup &);
00105 
00106 protected:
00114     explicit MNotificationGroup(uint id);
00115 
00116     Q_DECLARE_PRIVATE(MNotificationGroup)
00117 };
00118 
00119 Q_DECLARE_METATYPE(MNotificationGroup)
00120 
00121 #endif /* MNOTIFICATIONGROUP_H_ */

Copyright © 2010 Nokia Corporation Generated on Thu Nov 4 2010 18:14:21 (PDT)
Doxygen 1.7.1
MeeGo Touch