Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
tdecore
tdecore
tdecore
tdehw
tdemainspowerdevice.h
1
/* This file is part of the TDE libraries
2
Copyright (C) 2012 Timothy Pearson <kb9vqf@pearsoncomputing.net>
3
(C) 2013 Golubev Alexander <fatzer2@gmail.com>
4
5
This library is free software; you can redistribute it and/or
6
modify it under the terms of the GNU Library General Public
7
License version 2 as published by the Free Software Foundation.
8
9
This library is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
Library General Public License for more details.
13
14
You should have received a copy of the GNU Library General Public License
15
along with this library; see the file COPYING.LIB. If not, write to
16
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
Boston, MA 02110-1301, USA.
18
*/
19
20
#ifndef _TDEMAINSPOWERDEVICE_H
21
#define _TDEMAINSPOWERDEVICE_H
22
23
#include "tdegenericdevice.h"
24
25
class
TDECORE_EXPORT TDEMainsPowerDevice :
public
TDEGenericDevice
26
{
27
public
:
32
TDEMainsPowerDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
33
37
~TDEMainsPowerDevice();
38
42
bool
online();
43
44
protected
:
49
void
internalSetOnline(
bool
vt);
50
51
private
:
52
bool
m_online;
53
54
friend
class
TDEHardwareDevices;
55
};
56
57
#endif
// _TDEMAINSPOWERDEVICE_H
tdecore
Skip menu "tdecore"
Main Page
Modules
Namespace List
Class Hierarchy
Alphabetical List
Class List
File List
Namespace Members
Class Members
Related Pages
tdecore
Skip menu "tdecore"
arts
dcop
dnssd
interfaces
kspeech
interface
library
tdetexteditor
kate
kded
kdoctools
kimgio
kjs
libtdemid
libtdescreensaver
tdeabc
tdecmshell
tdecore
tdefx
tdehtml
tdeinit
tdeio
bookmarks
httpfilter
kpasswdserver
kssl
tdefile
tdeio
tdeioexec
tdeioslave
http
tdemdi
tdemdi
tdenewstuff
tdeparts
tdeprint
tderandr
tderesources
tdespell2
tdesu
tdeui
tdeunittest
tdeutils
tdewallet