SolidModules
solid-powermanagement.cpp File Reference
#include "solid-powermanagement.h"#include <QString>#include <QStringList>#include <QMetaProperty>#include <QMetaEnum>#include <QTimer>#include <kcomponentdata.h>#include <kcmdlineargs.h>#include <klocale.h>#include <k3socketaddress.h>#include <kdebug.h>#include <solid/device.h>#include <solid/genericinterface.h>#include <solid/storageaccess.h>#include <solid/opticaldrive.h>#include <solid/control/powermanager.h>#include <kjob.h>#include <iostream>#include "solid-powermanagement.moc"
Include dependency graph for solid-powermanagement.cpp:

Go to the source code of this file.
Functions | |
| void | checkArgumentCount (int min, int max) |
| int | main (int argc, char **argv) |
| std::ostream & | operator<< (std::ostream &out, const QMap< QString, QVariant > &properties) |
| std::ostream & | operator<< (std::ostream &out, const Solid::Device &device) |
| std::ostream & | operator<< (std::ostream &out, const QVariant &value) |
| std::ostream & | operator<< (std::ostream &out, const QString &msg) |
Variables | |
| static const char | appName [] = "solid-powermanagement" |
| static const char | description [] = I18N_NOOP("KDE tool for querying and controlling your power management options from the command line") |
| static const char | programName [] = I18N_NOOP("solid-powermanagement") |
| static const char | version [] = "0.1" |
Function Documentation
| void checkArgumentCount | ( | int | min, | |
| int | max | |||
| ) |
Definition at line 157 of file solid-powermanagement.cpp.
| int main | ( | int | argc, | |
| char ** | argv | |||
| ) |
Definition at line 174 of file solid-powermanagement.cpp.
Definition at line 147 of file solid-powermanagement.cpp.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const Solid::Device & | device | |||
| ) |
Definition at line 101 of file solid-powermanagement.cpp.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const QVariant & | value | |||
| ) |
Definition at line 60 of file solid-powermanagement.cpp.
| std::ostream& operator<< | ( | std::ostream & | out, | |
| const QString & | msg | |||
| ) |
Definition at line 55 of file solid-powermanagement.cpp.
Variable Documentation
const char appName[] = "solid-powermanagement" [static] |
Definition at line 48 of file solid-powermanagement.cpp.
const char description[] = I18N_NOOP("KDE tool for querying and controlling your power management options from the command line") [static] |
Definition at line 51 of file solid-powermanagement.cpp.
const char programName[] = I18N_NOOP("solid-powermanagement") [static] |
Definition at line 49 of file solid-powermanagement.cpp.
const char version[] = "0.1" [static] |
Definition at line 53 of file solid-powermanagement.cpp.
KDE 4.2 API Reference