export classes
svn path=/trunk/extragear/sysadmin/partitionmanager/; revision=1097419
This commit is contained in:
parent
fc753a2f14
commit
2d49f64f16
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
#define DEVICE__H
|
#define DEVICE__H
|
||||||
|
|
||||||
|
#include "util/libpartitionmanagerexport.h"
|
||||||
|
|
||||||
#include <QString>
|
#include <QString>
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <qglobal.h>
|
#include <qglobal.h>
|
||||||
|
@ -38,7 +40,7 @@ class LibPartedBackendBackend;
|
||||||
@see PartitionTable, Partition, LibParted::scanDevices()
|
@see PartitionTable, Partition, LibParted::scanDevices()
|
||||||
@author vl@fidra.de
|
@author vl@fidra.de
|
||||||
*/
|
*/
|
||||||
class Device : public QObject
|
class LIBPARTITIONMANAGERPRIVATE_EXPORT Device : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Device)
|
Q_DISABLE_COPY(Device)
|
||||||
|
|
|
@ -25,6 +25,8 @@
|
||||||
#include "core/partitionrole.h"
|
#include "core/partitionrole.h"
|
||||||
#include "core/partitiontable.h"
|
#include "core/partitiontable.h"
|
||||||
|
|
||||||
|
#include "util/libpartitionmanagerexport.h"
|
||||||
|
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <qglobal.h>
|
#include <qglobal.h>
|
||||||
|
|
||||||
|
@ -66,7 +68,7 @@ class QString;
|
||||||
@see PartitionTable, Device, FileSystem
|
@see PartitionTable, Device, FileSystem
|
||||||
@author vl@fidra.de
|
@author vl@fidra.de
|
||||||
*/
|
*/
|
||||||
class Partition : public PartitionNode
|
class LIBPARTITIONMANAGERPRIVATE_EXPORT Partition : public PartitionNode
|
||||||
{
|
{
|
||||||
friend class PartitionTable;
|
friend class PartitionTable;
|
||||||
friend class OperationStack;
|
friend class OperationStack;
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
#define PARTITIONROLE__H
|
#define PARTITIONROLE__H
|
||||||
|
|
||||||
|
#include "util/libpartitionmanagerexport.h"
|
||||||
|
|
||||||
#include <qglobal.h>
|
#include <qglobal.h>
|
||||||
|
|
||||||
class QString;
|
class QString;
|
||||||
|
@ -31,7 +33,7 @@ class QString;
|
||||||
|
|
||||||
@author vl@fidra.de
|
@author vl@fidra.de
|
||||||
*/
|
*/
|
||||||
class PartitionRole
|
class LIBPARTITIONMANAGERPRIVATE_EXPORT PartitionRole
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** A Partition's role: What kind of Partition is it? */
|
/** A Partition's role: What kind of Partition is it? */
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
#define PARTITIONTABLE__H
|
#define PARTITIONTABLE__H
|
||||||
|
|
||||||
|
#include "util/libpartitionmanagerexport.h"
|
||||||
|
|
||||||
#include "core/partitionnode.h"
|
#include "core/partitionnode.h"
|
||||||
#include "core/partitionrole.h"
|
#include "core/partitionrole.h"
|
||||||
|
|
||||||
|
@ -39,7 +41,7 @@ class LibPartedBackend;
|
||||||
|
|
||||||
@author vl@fidra.de
|
@author vl@fidra.de
|
||||||
*/
|
*/
|
||||||
class PartitionTable : public PartitionNode
|
class LIBPARTITIONMANAGERPRIVATE_EXPORT PartitionTable : public PartitionNode
|
||||||
{
|
{
|
||||||
Q_DISABLE_COPY(PartitionTable)
|
Q_DISABLE_COPY(PartitionTable)
|
||||||
|
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
#include "fs/filesystem.h"
|
#include "fs/filesystem.h"
|
||||||
|
|
||||||
|
#include "util/libpartitionmanagerexport.h"
|
||||||
|
|
||||||
#include <QMap>
|
#include <QMap>
|
||||||
#include <qglobal.h>
|
#include <qglobal.h>
|
||||||
|
|
||||||
|
@ -31,7 +33,7 @@ class QString;
|
||||||
/** @brief Factory to create instances of FileSystem.
|
/** @brief Factory to create instances of FileSystem.
|
||||||
@author vl@fidra.de
|
@author vl@fidra.de
|
||||||
*/
|
*/
|
||||||
class FileSystemFactory
|
class LIBPARTITIONMANAGERPRIVATE_EXPORT FileSystemFactory
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/** map of FileSystem::Types to pointers of FileSystem */
|
/** map of FileSystem::Types to pointers of FileSystem */
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
#include "fs/filesystem.h"
|
#include "fs/filesystem.h"
|
||||||
|
|
||||||
|
#include "util/libpartitionmanagerexport.h"
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <qglobal.h>
|
#include <qglobal.h>
|
||||||
|
|
||||||
|
@ -42,7 +44,7 @@ class Report;
|
||||||
|
|
||||||
@author vl@fidra.de
|
@author vl@fidra.de
|
||||||
*/
|
*/
|
||||||
class Job : public QObject
|
class LIBPARTITIONMANAGERPRIVATE_EXPORT Job : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Job)
|
Q_DISABLE_COPY(Job)
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
#define EXTERNALCOMMAND__H
|
#define EXTERNALCOMMAND__H
|
||||||
|
|
||||||
|
#include "util/libpartitionmanagerexport.h"
|
||||||
|
|
||||||
#include <QProcess>
|
#include <QProcess>
|
||||||
#include <QStringList>
|
#include <QStringList>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
@ -34,7 +36,7 @@ class Report;
|
||||||
|
|
||||||
@author vl@fidra.de
|
@author vl@fidra.de
|
||||||
*/
|
*/
|
||||||
class ExternalCommand : public QProcess
|
class LIBPARTITIONMANAGERPRIVATE_EXPORT ExternalCommand : public QProcess
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(ExternalCommand)
|
Q_DISABLE_COPY(ExternalCommand)
|
||||||
|
@ -46,7 +48,7 @@ class ExternalCommand : public QProcess
|
||||||
public:
|
public:
|
||||||
void setCommand(const QString& cmd) { m_Command = cmd; } /**< @param cmd the command to run */
|
void setCommand(const QString& cmd) { m_Command = cmd; } /**< @param cmd the command to run */
|
||||||
const QString& command() const { return m_Command; } /**< @return the command to run */
|
const QString& command() const { return m_Command; } /**< @return the command to run */
|
||||||
|
|
||||||
void addArg(const QString& s) { m_Args << s; } /**< @param s the argument to add */
|
void addArg(const QString& s) { m_Args << s; } /**< @param s the argument to add */
|
||||||
const QStringList& args() const { return m_Args; } /**< @return the arguments */
|
const QStringList& args() const { return m_Args; } /**< @return the arguments */
|
||||||
void setArgs(const QStringList& args) { m_Args = args; } /**< @param args the new arguments */
|
void setArgs(const QStringList& args) { m_Args = args; } /**< @param args the new arguments */
|
||||||
|
@ -64,7 +66,7 @@ class ExternalCommand : public QProcess
|
||||||
protected:
|
protected:
|
||||||
void setExitCode(int i) { m_ExitCode = i; }
|
void setExitCode(int i) { m_ExitCode = i; }
|
||||||
void setup();
|
void setup();
|
||||||
|
|
||||||
protected slots:
|
protected slots:
|
||||||
void onFinished(int exitCode);
|
void onFinished(int exitCode);
|
||||||
void onReadOutput();
|
void onReadOutput();
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <qglobal.h>
|
#include <qglobal.h>
|
||||||
|
|
||||||
class Log
|
class LIBPARTITIONMANAGERPRIVATE_EXPORT Log
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
enum Level
|
enum Level
|
||||||
|
|
|
@ -21,6 +21,8 @@
|
||||||
|
|
||||||
#define REPORT__H
|
#define REPORT__H
|
||||||
|
|
||||||
|
#include "util/libpartitionmanagerexport.h"
|
||||||
|
|
||||||
#include <QObject>
|
#include <QObject>
|
||||||
#include <QList>
|
#include <QList>
|
||||||
#include <QString>
|
#include <QString>
|
||||||
|
@ -34,7 +36,7 @@ class ReportLine;
|
||||||
|
|
||||||
@author vl@fidra.de
|
@author vl@fidra.de
|
||||||
*/
|
*/
|
||||||
class Report : public QObject
|
class LIBPARTITIONMANAGERPRIVATE_EXPORT Report : public QObject
|
||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
Q_DISABLE_COPY(Report)
|
Q_DISABLE_COPY(Report)
|
||||||
|
|
Loading…
Reference in New Issue