• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

  • tdecore
  • tdehw
tdemonitordevice.cpp
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 #include "tdemonitordevice.h"
21 
22 #include "config.h"
23 
24 TDEMonitorDevice::TDEMonitorDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn) : TDEGenericDevice(dt, dn) {
25 }
26 
27 TDEMonitorDevice::~TDEMonitorDevice() {
28 }
29 
30 bool TDEMonitorDevice::connected() {
31  return m_connected;
32 }
33 
34 void TDEMonitorDevice::internalSetConnected(bool cn) {
35  m_connected = cn;
36 }
37 
38 bool TDEMonitorDevice::enabled() {
39  return m_enabled;
40 }
41 
42 void TDEMonitorDevice::internalSetEnabled(bool en) {
43  m_enabled = en;
44 }
45 
46 TQByteArray TDEMonitorDevice::edid() {
47  return m_edid;
48 }
49 
50 void TDEMonitorDevice::internalSetEdid(TQByteArray ed) {
51  m_edid = ed;
52 }
53 
54 TDEResolutionList TDEMonitorDevice::resolutions() {
55  return m_resolutions;
56 }
57 
58 void TDEMonitorDevice::internalSetResolutions(TDEResolutionList rs) {
59  m_resolutions = rs;
60 }
61 
62 TQString TDEMonitorDevice::portType() {
63  return m_portType;
64 }
65 
66 void TDEMonitorDevice::internalSetPortType(TQString pt) {
67  m_portType = pt;
68 }
69 
70 TDEDisplayPowerLevel::TDEDisplayPowerLevel TDEMonitorDevice::powerLevel() {
71  return m_powerLevel;
72 }
73 
74 void TDEMonitorDevice::internalSetPowerLevel(TDEDisplayPowerLevel::TDEDisplayPowerLevel pl) {
75  m_powerLevel = pl;
76 }
77 
78 #include "tdemonitordevice.moc"

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
Generated for tdecore by doxygen 1.9.1
This website is maintained by Timothy Pearson.