import QtQuick.tooling 1.2

// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by qmltyperegistrar.

Module {
    Component {
        file: "Unit.h"
        lineNumber: 15
        name: "KSysGuard"
        accessSemantics: "none"
        exports: ["org.kde.ksysguard.formatter/Units 1.0"]
        isCreatable: false
        exportMetaObjectRevisions: [256]
        Enum {
            name: "MetricPrefix"
            lineNumber: 22
            values: [
                "MetricPrefixAutoAdjust",
                "MetricPrefixUnity",
                "MetricPrefixKilo",
                "MetricPrefixMega",
                "MetricPrefixGiga",
                "MetricPrefixTera",
                "MetricPrefixPeta",
                "MetricPrefixLast"
            ]
        }
        Enum {
            name: "Unit"
            lineNumber: 37
            values: [
                "UnitInvalid",
                "UnitNone",
                "UnitByte",
                "UnitKiloByte",
                "UnitMegaByte",
                "UnitGigaByte",
                "UnitTeraByte",
                "UnitPetaByte",
                "UnitByteRate",
                "UnitKiloByteRate",
                "UnitMegaByteRate",
                "UnitGigaByteRate",
                "UnitTeraByteRate",
                "UnitPetaByteRate",
                "UnitHertz",
                "UnitKiloHertz",
                "UnitMegaHertz",
                "UnitGigaHertz",
                "UnitTeraHertz",
                "UnitPetaHertz",
                "UnitBootTimestamp",
                "UnitSecond",
                "UnitTime",
                "UnitTicks",
                "UnitDuration",
                "UnitBitRate",
                "UnitKiloBitRate",
                "UnitMegaBitRate",
                "UnitGigaBitRate",
                "UnitTeraBitRate",
                "UnitPetaBitRate",
                "UnitVolt",
                "UnitKiloVolt",
                "UnitMegaVolt",
                "UnitGigaVolt",
                "UnitTeraVolt",
                "UnitPetaVolt",
                "UnitWatt",
                "UnitKiloWatt",
                "UnitMegaWatt",
                "UnitGigaWatt",
                "UnitTeraWatt",
                "UnitPetaWatt",
                "UnitWattHour",
                "UnitKiloWattHour",
                "UnitMegaWattHour",
                "UnitGigaWattHour",
                "UnitTeraWattHour",
                "UnitPetaWattHour",
                "UnitAmpere",
                "UnitKiloAmpere",
                "UnitMegaAmpere",
                "UnitGigaAmpere",
                "UnitTeraAmpere",
                "UnitPetaAmpere",
                "UnitCelsius",
                "UnitDecibelMilliWatts",
                "UnitPercent",
                "UnitRate",
                "UnitRpm"
            ]
        }
    }
    Component {
        file: "FormatterWrapper.h"
        lineNumber: 29
        name: "KSysGuard::FormatterWrapper"
        accessSemantics: "reference"
        prototype: "QObject"
        exports: ["org.kde.ksysguard.formatter/Formatter 1.0"]
        isCreatable: false
        isSingleton: true
        exportMetaObjectRevisions: [256]
        Method {
            name: "formatValue"
            type: "QString"
            lineNumber: 36
            Parameter { name: "value"; type: "QVariant" }
            Parameter { name: "unit"; type: "KSysGuard::Unit" }
            Parameter { name: "targetPrefix"; type: "KSysGuard::MetricPrefix" }
        }
        Method {
            name: "formatValue"
            type: "QString"
            isCloned: true
            lineNumber: 36
            Parameter { name: "value"; type: "QVariant" }
            Parameter { name: "unit"; type: "KSysGuard::Unit" }
        }
        Method {
            name: "formatValueShowNull"
            type: "QString"
            lineNumber: 38
            Parameter { name: "value"; type: "QVariant" }
            Parameter { name: "unit"; type: "KSysGuard::Unit" }
            Parameter { name: "targetPrefix"; type: "KSysGuard::MetricPrefix" }
        }
        Method {
            name: "formatValueShowNull"
            type: "QString"
            isCloned: true
            lineNumber: 38
            Parameter { name: "value"; type: "QVariant" }
            Parameter { name: "unit"; type: "KSysGuard::Unit" }
        }
        Method {
            name: "formatValueWithPrecision"
            type: "QString"
            lineNumber: 40
            Parameter { name: "value"; type: "QVariant" }
            Parameter { name: "unit"; type: "KSysGuard::Unit" }
            Parameter { name: "precision"; type: "int" }
        }
        Method {
            name: "formatValueWithPrecision"
            type: "QString"
            isCloned: true
            lineNumber: 40
            Parameter { name: "value"; type: "QVariant" }
            Parameter { name: "unit"; type: "KSysGuard::Unit" }
        }
        Method {
            name: "maximumLength"
            type: "double"
            lineNumber: 42
            Parameter { name: "unit"; type: "KSysGuard::Unit" }
            Parameter { name: "font"; type: "QFont" }
        }
    }
}
