kleopatra
Go to the documentation of this file.
22 #ifndef __LIBKLEOPATRACLIENT_CORE_COMMAND_H__
23 #define __LIBKLEOPATRACLIENT_CORE_COMMAND_H__
27 #include <QtCore/QObject>
39 explicit Command( QObject * parent=0 );
42 void setParentWId( WId wid );
43 WId parentWId()
const;
45 void setServerLocation(
const QString & location );
46 QString serverLocation()
const;
48 bool waitForFinished();
49 bool waitForFinished(
unsigned long ms );
52 bool wasCanceled()
const;
53 QString errorString()
const;
55 qint64 serverPid()
const;
66 void setOptionValue(
const char *
name,
const QVariant & value,
bool critical=
true );
67 void setOption(
const char * name,
bool critical=
true );
68 void unsetOption(
const char * name );
70 QVariant optionValue(
const char * name )
const;
71 bool isOptionSet(
const char * name )
const;
72 bool isOptionCritical(
const char * name )
const;
74 void setFilePaths(
const QStringList & filePaths );
75 QStringList filePaths()
const;
77 void setRecipients(
const QStringList & recipients,
bool informative );
78 QStringList recipients()
const;
79 bool areRecipientsInformative()
const;
81 void setSenders(
const QStringList & senders,
bool informative );
82 QStringList senders()
const;
83 bool areSendersInformative()
const;
85 void setInquireData(
const char * what,
const QByteArray & data );
86 void unsetInquireData(
const char * what );
87 QByteArray inquireData(
const char * what )
const;
88 bool isInquireDataSet(
const char * what )
const;
90 QByteArray receivedData()
const;
92 void setCommand(
const char * command );
93 QByteArray command()
const;
#define KLEOPATRACLIENTCORE_EXPORT
#define KLEOPATRACLIENT_NAMESPACE
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:40 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.