Solid
acadapter.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
00020 #include "acadapter.h"
00021 #include "acadapter_p.h"
00022
00023 #include "soliddefs_p.h"
00024 #include <solid/ifaces/acadapter.h>
00025
00026 Solid::AcAdapter::AcAdapter(QObject *backendObject)
00027 : DeviceInterface(*new AcAdapterPrivate(), backendObject)
00028 {
00029 connect(backendObject, SIGNAL(plugStateChanged(bool, const QString &)),
00030 this, SIGNAL(plugStateChanged(bool, const QString &)));
00031 }
00032
00033 Solid::AcAdapter::~AcAdapter()
00034 {
00035
00036 }
00037
00038 bool Solid::AcAdapter::isPlugged() const
00039 {
00040 Q_D(const AcAdapter);
00041 return_SOLID_CALL(Ifaces::AcAdapter *, d->backendObject(), false, isPlugged());
00042 }
00043
00044 #include "acadapter.moc"