@ -1,23 +1,26 @@
/*
* PropertiesService . cpp
*
* Created on : Feb 7 , 2021
* Author : emanoil
* Notification DBus Service implementation
*
* hardwarecontrol Copyright ( C ) 20 09 hardwarecontrol development team
* Copyright ( C ) 20 21 Emanoil Kotsev < deloptes @ gmail . com >
*
* This program is free software ; you can redistribute it and / or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation .
*
* This program is distributed in the hope that it will be useful ,
* This file is part of kdbusnotification .
*
* kdbusnotification is free software ; you can redistribute it and / or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation ; either version 2 of the License , or
* ( at your option ) any later version .
*
* kdbusnotification is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU General Public License for more details .
*
* You should have received a copy of the GNU General Public License
* along with this program ; if not , write to the Free Software
* Foundation , Inc . , 59 Temple Place , Suite 330 , Boston , MA 02111 - 1307 USA
* along with kdbusnotification ; if not , write to the Free Software
* Foundation , Inc . , 51 Franklin St , Fifth Floor , Boston , MA 02110 - 1301 USA
*
*/
# include "NotificationsService.h"
@ -104,7 +107,7 @@ void NotificationsService::NotifyAsync(
notificationMap [ id ] - > setIcon ( icon ) ;
notificationMap [ id ] - > setPaletteBackgroundColor ( TQt : : black ) ;
notificationMap [ id ] - > setPaletteForegroundColor ( TQt : : white ) ;
// FXIME : handle hypertext in the body
// TODO : handle hypertext in the body
notificationMap [ id ] - > setText ( app_name + " : " + summary + " \n " + body ) ;
notificationMap [ id ] - > setActions ( actions ) ;
notificationMap [ id ] - > setHints ( hints ) ;