• Skip to content
  • Skip to link menu
  • KDE API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

Namespaces | Classes | Typedefs | Enumerations | Functions | Variables
KTp Namespace Reference

Namespaces

namespace  Actions
namespace  Debug
namespace  ErrorDictionary
namespace  WalletUtils

Classes

class  AbstractGroupingProxyModel
class  AbstractMessageFilter
class  AccountsComboBox
class  AccountsListModel
class  AccountsTreeProxyModel
class  CircularCountdown
class  Contact
class  ContactFactory
class  ContactGridDialog
class  ContactGridWidget
class  ContactInfoDialog
class  ContactsFilterModel
 Class used to sort and filter the contacts. More...
class  ContactsListModel
class  ContactsModel
 This class combines the list model and all the relevant filtering into a simple to use class In most cases you should use this as the entry point to the models in your application. More...
class  FavoriteRoomsModel
class  GlobalContactManager
class  GlobalPresence
 This class handles the presence between all enabled accounts It shows the highest current available presence, indicates if any accounts are changing, and what they are changing to. More...
class  GroupsTreeProxyModel
class  JoinChatRoomDialog
class  LogsImporter
 A class to import old logs from Kopete. More...
class  Message
class  MessageContext
class  MessageFilterConfigManager
class  MessageProcessor
class  NotificationConfigDialog
class  OutgoingMessage
class  PendingWallet
class  PersistentContact
 Object monitors a specific account/contact identifier and will populate it with the most up-to-date contact as connections get destroyed/created. More...
class  Presence
class  RoomsModel
class  ServiceAvailabilityChecker
 This class watches if a given d-bus service is either available on the bus or can be activated on demand. More...
class  TelepathyHandlerApplication
 A KApplication that exits the application when there are no running jobs. More...
class  TextChannelWatcherProxyModel
 This class proxies the ContactsListModel, adding a role for ongoing chats. More...
class  TextParser
 TextParser. More...
struct  TextUrlData
class  WalletInterface
 Class wraps interface around KWallet. More...

Typedefs

typedef Tp::SharedPtr
< KTp::Contact > 
ContactPtr
typedef Tp::SharedPtr
< KTp::PersistentContact > 
PersistentContactPtr

Enumerations

enum  ContactsModelRole {
  RowTypeRole = Qt::UserRole, IdRole, ContactRole = Qt::UserRole + 1000, AccountRole,
  ContactClientTypesRole = Qt::UserRole + 2000, ContactAvatarPathRole, ContactAvatarPixmapRole, ContactGroupsRole,
  ContactPresenceNameRole, ContactPresenceMessageRole, ContactPresenceTypeRole, ContactPresenceIconRole,
  ContactSubscriptionStateRole, ContactPublishStateRole, ContactIsBlockedRole, ContactHasTextChannelRole,
  ContactUnreadMessageCountRole, ContactCanTextChatRole, ContactCanFileTransferRole, ContactCanAudioCallRole,
  ContactCanVideoCallRole, ContactTubesRole, HeaderTotalUsersRole = Qt::UserRole + 3000, HeaderOnlineUsersRole,
  CustomRole = Qt::UserRole + 4000
}
enum  InfoRowIndex {
  FullName = 0, Nickname, Email, Phone,
  Homepage, Birthday, Organization, _InfoRowCount
}
enum  RowType {
  ContactRowType, PersonRowType, AccountRowType, GroupRowType,
  UserRowType
}

Functions

static QRegExp s_urlPattern (QString::fromLatin1("\\b((?:(?:([a-z][\\w\\.-]+:/{1,3})|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}/)(?:[^\\s()<>]+|\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\))+(?:\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\)|\\}\\]|[^\\s`!()\\[\\]{};:'\".,<>?%1%2%3%4%5%6])|[a-z0-9.\\-+_]+@[a-z0-9.\\-]+[.][a-z]{1,5}[^\\s/`!()\\[\\]{};:'\".,<>?%1%2%3%4%5%6]))").arg(QChar(0x00AB)).arg(QChar(0x00BB)).arg(QChar(0x201C)).arg(QChar(0x201D)).arg(QChar(0x2018)).arg(QChar(0x2019)))

Variables

static struct KTp::InfoRow InfoRows []

Typedef Documentation

typedef Tp::SharedPtr<KTp::Contact> KTp::ContactPtr

Definition at line 64 of file contact.h.

typedef Tp::SharedPtr<KTp::PersistentContact> KTp::PersistentContactPtr

Definition at line 70 of file persistent-contact.h.

Enumeration Type Documentation

enum KTp::ContactsModelRole
Enumerator:
RowTypeRole 
IdRole 
ContactRole 

return Tp::ContactPtr

AccountRole 

return Tp::AccountPtr

ContactClientTypesRole 

stringlist. See Tp::Contact::ClientTypes

ContactAvatarPathRole 

string. path to avatar file

ContactAvatarPixmapRole 

QPixmap the pixmap that shall be use as avatar image.

ContactGroupsRole 

stringlist. of all groups contact is in

ContactPresenceNameRole 
ContactPresenceMessageRole 
ContactPresenceTypeRole 
ContactPresenceIconRole 
ContactSubscriptionStateRole 

enum of type Tp::Contact::PresenceState

ContactPublishStateRole 

enum of type Tp::Contact::PresenceState

ContactIsBlockedRole 

bool, true if contact is blocked

ContactHasTextChannelRole 

bool, returns true if a text channel is active for this contact

ContactUnreadMessageCountRole 

int. the number of unread messages in active channels with this contact

ContactCanTextChatRole 

bool. You and contact can both text chat

ContactCanFileTransferRole 

bool. You and contact can both file transfer

ContactCanAudioCallRole 

bool. You and contact can both audio call

ContactCanVideoCallRole 

bool. You and contact can both video call

ContactTubesRole 

stringlist. common supported dbus + stream services between you and contact

HeaderTotalUsersRole 
HeaderOnlineUsersRole 
CustomRole 

Definition at line 42 of file types.h.

enum KTp::InfoRowIndex
Enumerator:
FullName 
Nickname 
Email 
Phone 
Homepage 
Birthday 
Organization 
_InfoRowCount 

Definition at line 51 of file contact-info-dialog.cpp.

enum KTp::RowType
Enumerator:
ContactRowType 
PersonRowType 
AccountRowType 
GroupRowType 
UserRowType 

Definition at line 34 of file types.h.

Function Documentation

static QRegExp KTp::s_urlPattern ( QString::  fromLatin1"\\b((?:(?:([a-z][\\w\\.-]+:/{1,3})|www\\d{0,3}[.]|[a-z0-9.\\-]+[.][a-z]{2,4}/)(?:[^\\s()<>]+|\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\))+(?:\\(([^\\s()<>]+|(\\([^\\s()<>]+\\)))*\\)|\\}\\]|[^\\s`!()\\[\\]{};:'\".,<>?%1%2%3%4%5%6])|[a-z0-9.\\-+_]+@[a-z0-9.\\-]+[.][a-z]{1,5}[^\\s/`!()\\[\\]{};:'\".,<>?%1%2%3%4%5%6]))").arg(QChar(0x00AB)).arg(QChar(0x00BB)).arg(QChar(0x201C)).arg(QChar(0x201D)).arg(QChar(0x2018)).arg(QChar(0x2019))
static

RegExp for url detection.

Variable Documentation

struct KTp::InfoRow KTp::InfoRows[]
static
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktp-common-internals API Reference

Skip menu "ktp-common-internals API Reference"
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal