This commit is contained in:
Patrick von Reth 2011-07-20 02:02:06 +02:00
parent bc7955f02c
commit 15e824707f
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ void SnoreNotificationInstance::unregisterWithBackends()
_snore->removeApplication ( _app->name() );
}
int SnoreNotificationInstance::notify ( const QString &alert, const QString &title, const QString &text, const QString &icon, int timeout,Notification::prioritys priority,const QList<Action*> *actions )
int SnoreNotificationInstance::notify ( const QString &alert, const QString &title, const QString &text, const QString &icon, int timeout,Notification::prioritys priority,const QList<Action*> actions )
{
Notification notification = Notification( this,_app->name(),alert,title,text,icon,timeout,0,priority );
foreach(Action *a,actions){

View File

@ -31,7 +31,7 @@ public:
void addAlert ( const QString &name,const QString &title = 0, const QString &icon="" );
void registerWithBackends();
void unregisterWithBackends();
int notify ( const QString &alert,const QString &title,const QString &text,const QString &icon = 0,int timeout = 10, Notification::prioritys priority = Notification::NORMAL,const QList<Action*> *actions = NULL);
int notify ( const QString &alert,const QString &title,const QString &text,const QString &icon = 0,int timeout = 10, Notification::prioritys priority = Notification::NORMAL,const QList<Action*> actions = QList<Action*>());
void actionInvoked ( Notification notification );
void notificationClosed ( Notification notification );