23 #ifndef _TelepathyQt_contact_search_channel_h_HEADER_GUARD_ 
   24 #define _TelepathyQt_contact_search_channel_h_HEADER_GUARD_ 
   26 #ifndef IN_TP_QT_HEADER 
   27 #error IN_TP_QT_HEADER 
   30 #include <TelepathyQt/Channel> 
   31 #include <TelepathyQt/Contact> 
   32 #include <TelepathyQt/Types> 
   52         bool isValid()
 const { 
return mPriv.constData() != 0; }
 
   56         bool hasDebugMessage()
 const { 
return allDetails().contains(QLatin1String(
"debug-message")); }
 
   57         QString 
debugMessage()
 const { 
return qdbus_cast<QString>(allDetails().value(QLatin1String(
"debug-message"))); }
 
   59         QVariantMap allDetails() 
const;
 
   67         friend struct Private;
 
   68         QSharedDataPointer<Private> mPriv;
 
   73     static ContactSearchChannelPtr create(
const ConnectionPtr &connection,
 
   74             const QString &objectPath, 
const QVariantMap &immutableProperties);
 
   80     QStringList availableSearchKeys() 
const;
 
   81     QString server() 
const;
 
   83     PendingOperation *search(
const QString &searchKey, 
const QString &searchTerm);
 
   85     void continueSearch();
 
   95             const QVariantMap &immutableProperties, 
const Feature &coreFeature);
 
   98     TP_QT_NO_EXPORT 
void gotProperties(QDBusPendingCallWatcher *watcher);
 
   99     TP_QT_NO_EXPORT 
void gotSearchState(QDBusPendingCallWatcher *watcher);
 
  100     TP_QT_NO_EXPORT 
void onSearchStateChanged(uint state, 
const QString &error, 
const QVariantMap &details);
 
  108     friend struct Private;
 
bool isValid() const 
Definition: contact-search-channel.h:52
ChannelContactSearchState
Definition: build/TelepathyQt/_gen/constants.h:2533
Definition: build/TelepathyQt/_gen/types.h:3482
bool hasDebugMessage() const 
Definition: contact-search-channel.h:56
The Feature class represents a feature that can be enabled on demand. 
Definition: feature.h:41
static const Feature FeatureCore
Definition: contact-search-channel.h:43
The PendingOperation class is a base class for pending asynchronous operations. 
Definition: pending-operation.h:45
Definition: build/TelepathyQt/_gen/types.h:1262
QHash< ContactPtr, Contact::InfoFields > SearchResult
Definition: contact-search-channel.h:71
The ContactSearchChannel class represents a Telepathy channel of type ContactSearch. 
Definition: contact-search-channel.h:37
The ContactSearchChannel::SearchStateChangeDetails class provides a wrapper around the details for a ...
Definition: contact-search-channel.h:45
QString debugMessage() const 
Definition: contact-search-channel.h:57
The Channel class represents a Telepathy channel. 
Definition: channel.h:51