NepomukDaemons
servicestubadaptor.cpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #include "servicestubadaptor.h"
00020
00021 #include <QtCore/QCoreApplication>
00022
00023
00024 ServiceControlAdaptor::ServiceControlAdaptor( Nepomuk::Service* parent )
00025 : QDBusAbstractAdaptor(parent)
00026 {
00027 setAutoRelaySignals( true );
00028 }
00029
00030 ServiceControlAdaptor::~ServiceControlAdaptor()
00031 {
00032 }
00033
00034 bool ServiceControlAdaptor::isInitialized() const
00035 {
00036 return parent()->isInitialized();
00037 }
00038
00039 void ServiceControlAdaptor::shutdown()
00040 {
00041 QCoreApplication::quit();
00042 }
00043
00044 #include "servicestubadaptor.moc"