Source Code (Use browser search to find items of interest.)

Class Index

ksysctrl'IOAddress (./kdeadmin/ksysctrl/ksysctrl/ioaddress.h:29)

class IOAddress : public Resource
{
  public:
  
    IOAddress(ulong ioval = 0x0000, ulong range = 1, int index = 0);
    ~IOAddress() {}
  
    void     setAddress(ulong ioval) { setResourceValue(ioval); }
    void     setRange(ulong range)   { setResourceRange(range); }
  
    virtual bool     operator==(const IOAddress&) const;
    
    virtual Resource  *copy()             const { return new IOAddress(*this); }
    virtual QString   resourceLowerName() const;
    virtual QString   resourceShortName() const { return QString::fromLatin1("port"); }
    virtual QString   resourceUpperName() const;
    virtual restype   resourceType()      const { return ResIOAddress;         }
};


ksysctrl'IOAddress::IOAddress() (./kdeadmin/ksysctrl/ksysctrl/ioaddress.cpp:24)

IOAddress::IOAddress(ulong ioval, ulong range, int index) : Resource(ioval, 1, index)

{
  setResourceRange(range);
}


/*
 * Public methods
 *****************/
 

ksysctrl'IOAddress::resourceLowerName() (./kdeadmin/ksysctrl/ksysctrl/ioaddress.cpp:41)

QString IOAddress::resourceLowerName() const
{
  return i18n("I/O area");
}


ksysctrl'IOAddress::resourceUpperName() (./kdeadmin/ksysctrl/ksysctrl/ioaddress.cpp:46)

QString IOAddress::resourceUpperName() const{
  return i18n("I/O area");
}

ksysctrl'IOAddress::resourceType() (./kdeadmin/ksysctrl/ksysctrl/ioaddress.h:45)

    virtual restype   resourceType()      const { return ResIOAddress;         }
};