|
| ChannelTypeContactSearchInterface (const QString &busName, const QString &objectPath, QObject *parent=0) |
|
| ChannelTypeContactSearchInterface (const QDBusConnection &connection, const QString &busName, const QString &objectPath, QObject *parent=0) |
|
| ChannelTypeContactSearchInterface (Tp::DBusProxy *proxy) |
|
| ChannelTypeContactSearchInterface (const Tp::Client::ChannelInterface &mainInterface) |
|
| ChannelTypeContactSearchInterface (const Tp::Client::ChannelInterface &mainInterface, QObject *parent) |
|
Tp::PendingVariant * | requestPropertySearchState () const |
|
Tp::PendingVariant * | requestPropertyLimit () const |
|
Tp::PendingVariant * | requestPropertyAvailableSearchKeys () const |
|
Tp::PendingVariant * | requestPropertyServer () const |
|
Tp::PendingVariantMap * | requestAllProperties () const |
|
virtual | ~AbstractInterface () |
|
bool | isValid () const |
|
QString | invalidationReason () const |
|
QString | invalidationMessage () const |
|
void | setMonitorProperties (bool monitorProperties) |
|
bool | isMonitoringProperties () const |
|
virtual | ~QDBusAbstractInterface () |
|
bool | isValid () const |
|
QDBusConnection | connection () const |
|
QString | service () const |
|
QString | path () const |
|
QString | interface () const |
|
QDBusError | lastError () const |
|
void | setTimeout (int timeout) |
|
int | timeout () const |
|
QDBusMessage | call (const QString &method, const QVariant &arg1, const QVariant &arg2, const QVariant &arg3, const QVariant &arg4, const QVariant &arg5, const QVariant &arg6, const QVariant &arg7, const QVariant &arg8) |
|
QDBusMessage | call (QDBus::CallMode mode, const QString &method, const QVariant &arg1, const QVariant &arg2, const QVariant &arg3, const QVariant &arg4, const QVariant &arg5, const QVariant &arg6, const QVariant &arg7, const QVariant &arg8) |
|
QDBusMessage | callWithArgumentList (QDBus::CallMode mode, const QString &method, const QList< QVariant > &args) |
|
bool | callWithCallback (const QString &method, const QList< QVariant > &args, QObject *receiver, const char *returnMethod, const char *errorMethod) |
|
bool | callWithCallback (const QString &method, const QList< QVariant > &args, QObject *receiver, const char *slot) |
|
QDBusPendingCall | asyncCall (const QString &method, const QVariant &arg1, const QVariant &arg2, const QVariant &arg3, const QVariant &arg4, const QVariant &arg5, const QVariant &arg6, const QVariant &arg7, const QVariant &arg8) |
|
QDBusPendingCall | asyncCallWithArgumentList (const QString &method, const QList< QVariant > &args) |
|
| QObject (QObject *parent) |
|
virtual | ~QObject () |
|
virtual bool | event (QEvent *e) |
|
virtual bool | eventFilter (QObject *watched, QEvent *event) |
|
virtual const QMetaObject * | metaObject () const |
|
QString | objectName () const |
|
void | setObjectName (const QString &name) |
|
bool | isWidgetType () const |
|
bool | signalsBlocked () const |
|
bool | blockSignals (bool block) |
|
QThread * | thread () const |
|
void | moveToThread (QThread *targetThread) |
|
int | startTimer (int interval) |
|
void | killTimer (int id) |
|
T | findChild (const QString &name) const |
|
QList< T > | findChildren (const QString &name) const |
|
QList< T > | findChildren (const QRegExp ®Exp) const |
|
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
|
const QObjectList & | children () const |
|
void | setParent (QObject *parent) |
|
void | installEventFilter (QObject *filterObj) |
|
void | removeEventFilter (QObject *obj) |
|
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *receiver, const char *method) |
|
void | dumpObjectTree () |
|
void | dumpObjectInfo () |
|
bool | setProperty (const char *name, const QVariant &value) |
|
QVariant | property (const char *name) const |
|
QList< QByteArray > | dynamicPropertyNames () const |
|
void | destroyed (QObject *obj) |
|
QObject * | parent () const |
|
bool | inherits (const char *className) const |
|
void | deleteLater () |
|
| QObject (QObject *parent, const char *name) |
|
void | insertChild (QObject *object) |
|
void | removeChild (QObject *object) |
|
bool | isA (const char *className) const |
|
const char * | className () const |
|
const char * | name () const |
|
const char * | name (const char *defaultName) const |
|
void | setName (const char *name) |
|
|
static QLatin1String | staticInterfaceName () |
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
|
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
|
virtual void | invalidate (Tp::DBusProxy *, const QString &, const QString &) |
|
| AbstractInterface (DBusProxy *proxy, const QLatin1String &interface) |
|
| AbstractInterface (const QString &busName, const QString &path, const QLatin1String &interface, const QDBusConnection &connection, QObject *parent) |
|
PendingVariant * | internalRequestProperty (const QString &name) const |
|
PendingOperation * | internalSetProperty (const QString &name, const QVariant &newValue) |
|
PendingVariantMap * | internalRequestAllProperties () const |
|
QObject * | sender () const |
|
int | senderSignalIndex () const |
|
int | receivers (const char *signal) const |
|
virtual void | timerEvent (QTimerEvent *event) |
|
virtual void | childEvent (QChildEvent *event) |
|
virtual void | customEvent (QEvent *event) |
|
virtual void | connectNotify (const char *signal) |
|
virtual void | disconnectNotify (const char *signal) |
|
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
|
Proxy class providing a 1:1 mapping of the D-Bus interface "org.freedesktop.Telepathy.Channel.Type.ContactSearch".
Tp::PendingVariant* Tp::Client::ChannelTypeContactSearchInterface::requestPropertyLimit |
( |
| ) |
const |
|
inline |
Asynchronous getter for the remote object property Limit
of type uint
.
If supported by the protocol, the maximum number of results that
should be returned, where 0
represents no limit. If the
protocol does not support limiting results, this should be
0
.
For example, if the terms passed to
Search() match Antonius,
Bridget and Charles and this property is
2
, the search service SHOULD only return Antonius
and Bridget.
This property SHOULD be requestable if and only if the protocol
supports specifying a limit; implementations SHOULD use
0
as the default if possible, or a protocol-specific
sensible default otherwise.
- Returns
- A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeContactSearchInterface::requestPropertyAvailableSearchKeys |
( |
| ) |
const |
|
inline |
Asynchronous getter for the remote object property AvailableSearchKeys
of type QStringList
.
The set of search keys supported by this channel. Example values include [""] (for protocols where several address fields are implicitly searched) or ["x-n-given", "x-n-family", "nickname", "email"] (for XMPP XEP-0055, without extensibility via Data Forms). It can be in the NewChannels signal for round-trip reduction.
- Returns
- A pending variant which will emit finished when the property has been retrieved.
Tp::PendingVariant* Tp::Client::ChannelTypeContactSearchInterface::requestPropertyServer |
( |
| ) |
const |
|
inline |
Asynchronous getter for the remote object property Server
of type QString
.
For protocols which support searching for contacts on multiple servers with different DNS names (like XMPP), the DNS name of the server being searched by this channel, e.g. "characters.shakespeare.lit". Otherwise, the empty string. XEP 0055 defines a mechanism for XMPP clients to search services of their choice for contacts, such as users.jabber.org (the "Jabber User Directory"). This property SHOULD be requestable if and only if the protocol supports querying multiple different servers; implementations SHOULD use a sensible default if possible if this property is not specified in a channel request. This allows a client to perform searches on a protocol it knows nothing about without requiring the user to guess a valid server's hostname.
- Returns
- A pending variant which will emit finished when the property has been retrieved.
QDBusPendingReply Tp::Client::ChannelTypeContactSearchInterface::Stop |
( |
int |
timeout = -1 | ) |
|
|
inlineslot |
Begins a call to the D-Bus method Stop
on the remote object.
Stop the current search. This may not be called while the
SearchState is Not_Started. If called
while the SearchState is In_Progress,
SearchStateChanged() will be emitted,
with the state Failed and the error
org.freedesktop.Telepathy.Error.Cancelled
.
Calling this method on a search in state Completed or Failed
succeeds, but has no effect.
Specifying Stop to succeed when the search has finished means that
clients who call Stop just before receiving
SearchStateChanged() don't have to
handle a useless error.
Depending on the protocol, the connection manager may not be
able to prevent the server from sending further results after this
method returns; if this is the case, it MUST ignore any further
results.
Note that timeout is ignored as of now. It will be used once http://bugreports.qt.nokia.com/browse/QTBUG-11775 is fixed.
- Parameters
-
timeout | The timeout in milliseconds. |