[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: KDE/kdebase/kdesktop
From:       David Faure <faure () kde ! org>
Date:       2005-06-27 8:07:47
Message-ID: 200506271007.50952.faure () kde ! org
[Download RAW message or body]

On Monday 27 June 2005 02:57, Fred SchÃĪttgen wrote:
> +void Minicli::notifyServiceStarted(KService::Ptr service)
> +{
> +    // Inform other applications (like the quickstarter applet)
> +    // that an application was started
> +    QByteArray params;
> +    QDataStream stream(params, IO_WriteOnly);
> +    stream << "minicli" << service->storageId();
> +    kdDebug() << "minicli appLauncher dcop signal: " << service->storageId() << endl;
> +    KApplication::kApplication()->dcopClient()->emitDCOPSignal("appLauncher",
> +        "serviceStartedByStorageId(QString,QString)", params);
> +}

Why is this done only in minicli, and not in kapplication::startServiceBy..., so that all servers
being started are emitted? Or... doesn't the startup notification framework take care of this
already? (maybe it misses a storageid field?)

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic