Logo Search packages:      
Sourcecode: kde-hal-device-manager version File versions  Download package

def Representation::Representation::__init__ (   self  ) 

Init the class and load neccessary resources.

Definition at line 24 of file Representation.py.

00024                       :
        """Init the class and load neccessary resources."""
        self.icons = {}
        self.icons["computer"] = QPixmap(Const.DATADIR + "/hal-computer.png")
        self.icons["bus_pci"] = QPixmap(Const.DATADIR + "/hal-bus-pci.png")
        self.icons["bus_usb"] = QPixmap(Const.DATADIR + "/hal-bus-usb.png")
        self.icons["abstract"] = QPixmap(Const.DATADIR + "/hal-abstract.png");
        self.icons["harddisk"] = QPixmap(Const.DATADIR + "/hal-harddisk.png");
        self.icons["cdrom"] = QPixmap(Const.DATADIR + "/hal-cdrom.png");
        self.icons["floppy"] = QPixmap(Const.DATADIR + "/hal-floppy.png");
        self.icons["unknown"] = QPixmap(Const.DATADIR + "/hal-abstract.png")
        self.icons["mouse"] = QPixmap(Const.DATADIR + "/hal-cat-mouse.png")
        self.icons["keyboard"] = QPixmap(Const.DATADIR + "/hal-cat-keyboard.png")
        self.icons["cardbus"] = QPixmap(Const.DATADIR + "/hal-cat-cardbus.png")
        self.icons["video"] = QPixmap(Const.DATADIR + "/hal-video.png")
        self.icons["flash"] = QPixmap(Const.DATADIR + "/hal-flash.png")
        self.icons["network"] = QPixmap(Const.DATADIR + "/hal-network.png")
        self.icons["audio"] = QPixmap(Const.DATADIR + "/hal-audio.png")
        self.icons["camera"] = QPixmap(Const.DATADIR + "/hal-camera.png")
        self.icons["serial"] = QPixmap(Const.DATADIR + "/hal-serial-port.png")


    def get_icon(self, device):


Generated by  Doxygen 1.6.0   Back to index