20#ifndef _TDEMONITORDEVICE_H
21#define _TDEMONITORDEVICE_H
23#include "tdegenericdevice.h"
24#include "tdehwcommontypes.h"
26typedef TQPair<unsigned int, unsigned int> TDEResolutionPair;
27typedef TQValueList< TDEResolutionPair > TDEResolutionList;
29class TDECORE_EXPORT TDEMonitorDevice :
public TDEGenericDevice
36 TDEMonitorDevice(TDEGenericDeviceType::TDEGenericDeviceType dt, TQString dn=TQString::null);
61 TDEResolutionList resolutions();
71 TDEDisplayPowerLevel::TDEDisplayPowerLevel powerLevel();
78 void internalSetConnected(
bool cn);
84 void internalSetEnabled(
bool en);
90 void internalSetEdid(TQByteArray ed);
96 void internalSetResolutions(TDEResolutionList rs);
102 void internalSetPortType(TQString pt);
108 void internalSetPowerLevel(TDEDisplayPowerLevel::TDEDisplayPowerLevel pl);
114 TDEResolutionList m_resolutions;
116 TDEDisplayPowerLevel::TDEDisplayPowerLevel m_powerLevel;
118 friend class TDEHardwareDevices;