Changeset View
Changeset View
Standalone View
Standalone View
src/quickaddons/configmodule.h
Show First 20 Lines • Show All 88 Lines • ▼ Show 20 Line(s) | |||||
89 | * The QML part must be in the KPackage format, installed under share/kpackage/kcms. | 89 | * The QML part must be in the KPackage format, installed under share/kpackage/kcms. | ||
90 | * @see KPackage::Package | 90 | * @see KPackage::Package | ||
91 | * The package must have the same name as the KAboutData componentName, to be installed | 91 | * The package must have the same name as the KAboutData componentName, to be installed | ||
92 | * by CMake with the command: | 92 | * by CMake with the command: | ||
93 | * kpackage_install_package(package kcm_componentName kcms) | 93 | * kpackage_install_package(package kcm_componentName kcms) | ||
94 | * given "package" is the subdirectory in the source tree where the package sources are | 94 | * given "package" is the subdirectory in the source tree where the package sources are | ||
95 | * located, and "kcm_componentName" is the componentname passed to the KAboutData in the | 95 | * located, and "kcm_componentName" is the componentname passed to the KAboutData in the | ||
96 | * C++ part. | 96 | * C++ part. | ||
97 | * | ||||
98 | * Translation domain will be set to "kcm_componentName" from the KAboutData as described above. | ||||
cblack: You probably want to use backticks instead of quotes as this is referring to something codewise. | |||||
davidedmundson: I don't understand. | |||||
99 | * | ||||
97 | * The main config dialog UI will be the file | 100 | * The main config dialog UI will be the file | ||
98 | * ui/main.qml from the package (or what X-KPackage-MainScript value is in the | 101 | * ui/main.qml from the package (or what X-KPackage-MainScript value is in the | ||
99 | * package metadata desktop file). | 102 | * package metadata desktop file). | ||
100 | * | 103 | * | ||
101 | * The QML part can access all the properties of ConfigModule (together with the properties | 104 | * The QML part can access all the properties of ConfigModule (together with the properties | ||
102 | * defined in its subclass) by accessing to the global object "kcm", or with the | 105 | * defined in its subclass) by accessing to the global object "kcm", or with the | ||
103 | * import of "org.kde.kcm 1.0" the ConfigModule attached property. | 106 | * import of "org.kde.kcm 1.0" the ConfigModule attached property. | ||
104 | * | 107 | * | ||
▲ Show 20 Lines • Show All 508 Lines • Show Last 20 Lines |
You probably want to use backticks instead of quotes as this is referring to something codewise.