mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 08:31:16 +02:00
2018-03-25 Fred Gleason <fredg@paravelsystems.com>
* Added support for notifications to rdclilogedit(1).
This commit is contained in:
@@ -167,6 +167,17 @@ void MainObject::PrintPrompt() const
|
||||
}
|
||||
|
||||
|
||||
void MainObject::SendNotification(RDNotification::Action action,
|
||||
const QString &logname)
|
||||
{
|
||||
RDNotification *notify=new RDNotification(RDNotification::LogType,
|
||||
action,QVariant(logname));
|
||||
rda->ripc()->sendNotification(*notify);
|
||||
qApp->processEvents();
|
||||
delete notify;
|
||||
}
|
||||
|
||||
|
||||
int main(int argc,char *argv[])
|
||||
{
|
||||
QApplication a(argc,argv,false);
|
||||
|
Reference in New Issue
Block a user