Logo Search packages:      
Sourcecode: kcpuload version File versions  Download package

void KCPUDock::setCPULabel ( int  cpu  ) 

Sets the label for this diagram. The label will reflect which CPU the diagram represents.

If multiple CPUs are not used, argument cpu should be 0. Otherwise argument cpu should be 1 or 2 for the first or second CPU respectively.

Definition at line 22 of file kcpudock.cpp.

    if (set == 1)
        setLabel(i18n("C 0"));
    else if (set == 2)
        setLabel(i18n("C 1"));


Generated by  Doxygen 1.6.0   Back to index