diff options
author | Giorgos Tsiapaliwkas <terietor@gmail.com> | 2011-10-06 04:23:01 +0300 |
---|---|---|
committer | Giorgos Tsiapaliwkas <terietor@gmail.com> | 2011-10-06 04:23:01 +0300 |
commit | 15a4ccc6fb93a81f6d0806765b09a2d4d7abe188 (patch) | |
tree | f4ba63d466d78c0e3eaf785f80f65982e0274d62 | |
parent | add target_link_libraries to CMakeLists.txt (diff) | |
download | c-portage-15a4ccc6fb93a81f6d0806765b09a2d4d7abe188.tar.gz c-portage-15a4ccc6fb93a81f6d0806765b09a2d4d7abe188.tar.bz2 c-portage-15a4ccc6fb93a81f6d0806765b09a2d4d7abe188.zip |
A Qt dir had been added and the class PortageSettings
-rw-r--r-- | src/Qt/qportagesettings.cpp | 84 | ||||
-rw-r--r-- | src/Qt/qportagesettings.h | 42 |
2 files changed, 126 insertions, 0 deletions
diff --git a/src/Qt/qportagesettings.cpp b/src/Qt/qportagesettings.cpp new file mode 100644 index 0000000..4fbccb0 --- /dev/null +++ b/src/Qt/qportagesettings.cpp @@ -0,0 +1,84 @@ +#include "qportagesettings.h" + +#include <QStringList> +#include <QString> + +namespace CppPortage{ + +PortageSettings::PortageSettings(QObject *parent) + :QObject(parent) +{ + +} + + +PortageSettings::~PortageSettings() +{ + +} + +int PortageSettings::ResetUseFlags() +{ + +} +int PortageSettings::Reset() +{ + +} +int PortageSettings::ReloadConfig() +{ + +} +int PortageSettings::ReloadWorld() +{ + +} +QStringList PortageSettings::GetWorld() +{ + +} +QStringList PortageSettings::GetArchList() +{ + +} +QStringList PortageSettings::GetVirtuals() +{ + +} + + +const QString PortageSettings::AcceptKeywords() +{ + +} +const QStringList PortageSettings::SystemUseFlags() +{ + +} +const QString PortageSettings::Arch() +{ + +} +const QString PortageSettings::Portdir() +{ + +} +const QString PortageSettings::PortdirOverlay() +{ + +} +const QString PortageSettings::UserConfigDir() +{ + +} + + +void PortageSettings::Free() +{ + +} + +} + + +#include "qportagesettings.moc"
\ No newline at end of file diff --git a/src/Qt/qportagesettings.h b/src/Qt/qportagesettings.h new file mode 100644 index 0000000..4034dd1 --- /dev/null +++ b/src/Qt/qportagesettings.h @@ -0,0 +1,42 @@ +#ifndef QPORTAGESETTINGS_H +#define QPORTAGESETTINGS_H + + +#include <QObject> +#include <portagesettings.h> + + +namespace CppPortage { + + class QString; + class QStringList; + +class PortageSettings : public Q_OBJECT +{ + Q_OBJECT +public: + PortageSettings(QObject *parent = 0); + virtual ~PortageSettings(); + + +int ResetUseFlags(PortageSettings*); +int Reset(PortageSettings*); +int ReloadConfig(PortageSettings*); +int ReloadWorld(PortageSettings*); +QStringList GetWorld(PortageSettings*); +QStringList GetArchList(PortageSettings*); +QStringList GetVirtuals(PortageSettings*); + + +const QString AcceptKeywords(PortageSettings*); +const QStringList SystemUseFlags(PortageSettings*); +const QString Arch(PortageSettings*); +const QString Portdir(PortageSettings*); +const QString PortdirOverlay(PortageSettings*); +const QString UserConfigDir(PortageSettings*); + + +void portageSettingsFree(PortageSettings*); +}; +} +#endif
\ No newline at end of file |