File indexing completed on 2024-05-12 16:08:25
0001 class pyqtSignal(): 0002 def connect(self, targetSignal): pass 0003 def emit(self, *args): pass 0004 from QtCore import * 0005 0006 class Akonadi(): 0007 """""" 0008 class EntityTreeViewStateSaver(QObject): 0009 """""" 0010 def __init__(self, view): 0011 '''void Akonadi.EntityTreeViewStateSaver.__init__(QTreeView view)''' 0012 def restoreState(self, configGroup): 0013 '''void Akonadi.EntityTreeViewStateSaver.restoreState(KConfigGroup configGroup)''' 0014 def saveState(self, configGroup): 0015 '''void Akonadi.EntityTreeViewStateSaver.saveState(KConfigGroup configGroup)''' 0016 class Attribute(): 0017 """""" 0018 def __init__(self): 0019 '''void Akonadi.Attribute.__init__()''' 0020 def __init__(self): 0021 '''Akonadi.Attribute Akonadi.Attribute.__init__()''' 0022 return Akonadi.Attribute() 0023 def deserialize(self, data): 0024 '''abstract void Akonadi.Attribute.deserialize(QByteArray data)''' 0025 def serialized(self): 0026 '''abstract QByteArray Akonadi.Attribute.serialized()''' 0027 return QByteArray() 0028 def type(self): 0029 '''abstract QByteArray Akonadi.Attribute.type()''' 0030 return QByteArray() 0031 class EntityTreeModel(QAbstractItemModel): 0032 """""" 0033 # Enum Akonadi.EntityTreeModel.FetchState 0034 IdleState = 0 0035 FetchingState = 0 0036 0037 # Enum Akonadi.EntityTreeModel.CollectionFetchStrategy 0038 FetchNoCollections = 0 0039 FetchFirstLevelChildCollections = 0 0040 FetchCollectionsRecursive = 0 0041 InvisibleCollectionFetch = 0 0042 0043 # Enum Akonadi.EntityTreeModel.ItemPopulationStrategy 0044 NoItemPopulation = 0 0045 ImmediatePopulation = 0 0046 LazyPopulation = 0 0047 0048 # Enum Akonadi.EntityTreeModel.HeaderGroup 0049 EntityTreeHeaders = 0 0050 CollectionTreeHeaders = 0 0051 ItemListHeaders = 0 0052 UserHeaders = 0 0053 EndHeaderGroup = 0 0054 0055 # Enum Akonadi.EntityTreeModel.Roles 0056 ItemIdRole = 0 0057 ItemRole = 0 0058 MimeTypeRole = 0 0059 CollectionIdRole = 0 0060 CollectionRole = 0 0061 RemoteIdRole = 0 0062 CollectionChildOrderRole = 0 0063 AmazingCompletionRole = 0 0064 ParentCollectionRole = 0 0065 ColumnCountRole = 0 0066 LoadedPartsRole = 0 0067 AvailablePartsRole = 0 0068 SessionRole = 0 0069 CollectionRefRole = 0 0070 CollectionDerefRole = 0 0071 PendingCutRole = 0 0072 EntityUrlRole = 0 0073 UnreadCountRole = 0 0074 FetchStateRole = 0 0075 CollectionSyncProgressRole = 0 0076 UserRole = 0 0077 TerminalUserRole = 0 0078 EndRole = 0 0079 0080 def __init__(self, monitor, parent = None): 0081 '''void Akonadi.EntityTreeModel.__init__(Akonadi.ChangeRecorder monitor, QObject parent = None)''' 0082 def setIncludeUnsubscribed(self, show): 0083 '''void Akonadi.EntityTreeModel.setIncludeUnsubscribed(bool show)''' 0084 def includeUnsubscribed(self): 0085 '''bool Akonadi.EntityTreeModel.includeUnsubscribed()''' 0086 return bool() 0087 def modelIndexesForItem(self, model, item): 0088 '''static list-of-QModelIndex Akonadi.EntityTreeModel.modelIndexesForItem(QAbstractItemModel model, Akonadi.Item item)''' 0089 return [QModelIndex()] 0090 def modelIndexForCollection(self, model, collection): 0091 '''static QModelIndex Akonadi.EntityTreeModel.modelIndexForCollection(QAbstractItemModel model, Akonadi.Collection collection)''' 0092 return QModelIndex() 0093 def entityMatch(self, item, value, flags): 0094 '''bool Akonadi.EntityTreeModel.entityMatch(Akonadi.Item item, QVariant value, Qt.MatchFlags flags)''' 0095 return bool() 0096 def entityMatch(self, collection, value, flags): 0097 '''bool Akonadi.EntityTreeModel.entityMatch(Akonadi.Collection collection, QVariant value, Qt.MatchFlags flags)''' 0098 return bool() 0099 def entityColumnCount(self, headerGroup): 0100 '''int Akonadi.EntityTreeModel.entityColumnCount(Akonadi.EntityTreeModel.HeaderGroup headerGroup)''' 0101 return int() 0102 def entityHeaderData(self, section, orientation, role, headerGroup): 0103 '''QVariant Akonadi.EntityTreeModel.entityHeaderData(int section, Qt.Orientation orientation, int role, Akonadi.EntityTreeModel.HeaderGroup headerGroup)''' 0104 return QVariant() 0105 def entityData(self, item, column, role = None): 0106 '''QVariant Akonadi.EntityTreeModel.entityData(Akonadi.Item item, int column, int role = Qt.DisplayRole)''' 0107 return QVariant() 0108 def entityData(self, collection, column, role = None): 0109 '''QVariant Akonadi.EntityTreeModel.entityData(Akonadi.Collection collection, int column, int role = Qt.DisplayRole)''' 0110 return QVariant() 0111 def clearAndReset(self): 0112 '''void Akonadi.EntityTreeModel.clearAndReset()''' 0113 def match(self, start, role, value, hits = 1, flags = None): 0114 '''list-of-QModelIndex Akonadi.EntityTreeModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))''' 0115 return [QModelIndex()] 0116 def hasChildren(self, parent = QModelIndex()): 0117 '''bool Akonadi.EntityTreeModel.hasChildren(QModelIndex parent = QModelIndex())''' 0118 return bool() 0119 def fetchMore(self, parent): 0120 '''void Akonadi.EntityTreeModel.fetchMore(QModelIndex parent)''' 0121 def canFetchMore(self, parent): 0122 '''bool Akonadi.EntityTreeModel.canFetchMore(QModelIndex parent)''' 0123 return bool() 0124 def parent(self, index): 0125 '''QModelIndex Akonadi.EntityTreeModel.parent(QModelIndex index)''' 0126 return QModelIndex() 0127 def index(self, row, column, parent = QModelIndex()): 0128 '''QModelIndex Akonadi.EntityTreeModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 0129 return QModelIndex() 0130 def setData(self, index, value, role = None): 0131 '''bool Akonadi.EntityTreeModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 0132 return bool() 0133 def dropMimeData(self, data, action, row, column, parent): 0134 '''bool Akonadi.EntityTreeModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 0135 return bool() 0136 def mimeData(self, indexes): 0137 '''QMimeData Akonadi.EntityTreeModel.mimeData(list-of-QModelIndex indexes)''' 0138 return QMimeData() 0139 def supportedDropActions(self): 0140 '''Qt.DropActions Akonadi.EntityTreeModel.supportedDropActions()''' 0141 return Qt.DropActions() 0142 def mimeTypes(self): 0143 '''QStringList Akonadi.EntityTreeModel.mimeTypes()''' 0144 return QStringList() 0145 def flags(self, index): 0146 '''Qt.ItemFlags Akonadi.EntityTreeModel.flags(QModelIndex index)''' 0147 return Qt.ItemFlags() 0148 def headerData(self, section, orientation, role = None): 0149 '''QVariant Akonadi.EntityTreeModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 0150 return QVariant() 0151 def data(self, index, role = None): 0152 '''QVariant Akonadi.EntityTreeModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 0153 return QVariant() 0154 def rowCount(self, parent = QModelIndex()): 0155 '''int Akonadi.EntityTreeModel.rowCount(QModelIndex parent = QModelIndex())''' 0156 return int() 0157 def columnCount(self, parent = QModelIndex()): 0158 '''int Akonadi.EntityTreeModel.columnCount(QModelIndex parent = QModelIndex())''' 0159 return int() 0160 def collectionFetchStrategy(self): 0161 '''Akonadi.EntityTreeModel.CollectionFetchStrategy Akonadi.EntityTreeModel.collectionFetchStrategy()''' 0162 return Akonadi.EntityTreeModel.CollectionFetchStrategy() 0163 def setCollectionFetchStrategy(self, strategy): 0164 '''void Akonadi.EntityTreeModel.setCollectionFetchStrategy(Akonadi.EntityTreeModel.CollectionFetchStrategy strategy)''' 0165 def rootCollectionDisplayName(self): 0166 '''QString Akonadi.EntityTreeModel.rootCollectionDisplayName()''' 0167 return QString() 0168 def setRootCollectionDisplayName(self, name): 0169 '''void Akonadi.EntityTreeModel.setRootCollectionDisplayName(QString name)''' 0170 def includeRootCollection(self): 0171 '''bool Akonadi.EntityTreeModel.includeRootCollection()''' 0172 return bool() 0173 def setIncludeRootCollection(self, include): 0174 '''void Akonadi.EntityTreeModel.setIncludeRootCollection(bool include)''' 0175 def itemPopulationStrategy(self): 0176 '''Akonadi.EntityTreeModel.ItemPopulationStrategy Akonadi.EntityTreeModel.itemPopulationStrategy()''' 0177 return Akonadi.EntityTreeModel.ItemPopulationStrategy() 0178 def setItemPopulationStrategy(self, strategy): 0179 '''void Akonadi.EntityTreeModel.setItemPopulationStrategy(Akonadi.EntityTreeModel.ItemPopulationStrategy strategy)''' 0180 def systemEntitiesShown(self): 0181 '''bool Akonadi.EntityTreeModel.systemEntitiesShown()''' 0182 return bool() 0183 def setShowSystemEntities(self, show): 0184 '''void Akonadi.EntityTreeModel.setShowSystemEntities(bool show)''' 0185 class SearchCreateJob(Akonadi.Job): 0186 """""" 0187 def __init__(self, name, query, parent = None): 0188 '''void Akonadi.SearchCreateJob.__init__(QString name, QString query, QObject parent = None)''' 0189 def setQueryLanguage(self, queryLanguage): 0190 '''void Akonadi.SearchCreateJob.setQueryLanguage(QString queryLanguage)''' 0191 def doHandleResponse(self, tag, data): 0192 '''void Akonadi.SearchCreateJob.doHandleResponse(QByteArray tag, QByteArray data)''' 0193 def createdCollection(self): 0194 '''Akonadi.Collection Akonadi.SearchCreateJob.createdCollection()''' 0195 return Akonadi.Collection() 0196 def doStart(self): 0197 '''void Akonadi.SearchCreateJob.doStart()''' 0198 class ItemMonitor(): 0199 """""" 0200 def __init__(self): 0201 '''void Akonadi.ItemMonitor.__init__()''' 0202 def fetchScope(self): 0203 '''Akonadi.ItemFetchScope Akonadi.ItemMonitor.fetchScope()''' 0204 return Akonadi.ItemFetchScope() 0205 def setFetchScope(self, fetchScope): 0206 '''void Akonadi.ItemMonitor.setFetchScope(Akonadi.ItemFetchScope fetchScope)''' 0207 def itemRemoved(self): 0208 '''void Akonadi.ItemMonitor.itemRemoved()''' 0209 def itemChanged(self, item): 0210 '''void Akonadi.ItemMonitor.itemChanged(Akonadi.Item item)''' 0211 def item(self): 0212 '''Akonadi.Item Akonadi.ItemMonitor.item()''' 0213 return Akonadi.Item() 0214 def setItem(self, item): 0215 '''void Akonadi.ItemMonitor.setItem(Akonadi.Item item)''' 0216 class AgentTypeDialog(KDialog): 0217 """""" 0218 def __init__(self, parent = None): 0219 '''void Akonadi.AgentTypeDialog.__init__(QWidget parent = None)''' 0220 def done(self, result): 0221 '''void Akonadi.AgentTypeDialog.done(int result)''' 0222 def agentFilterProxyModel(self): 0223 '''Akonadi.AgentFilterProxyModel Akonadi.AgentTypeDialog.agentFilterProxyModel()''' 0224 return Akonadi.AgentFilterProxyModel() 0225 def agentType(self): 0226 '''Akonadi.AgentType Akonadi.AgentTypeDialog.agentType()''' 0227 return Akonadi.AgentType() 0228 class AgentActionManager(QObject): 0229 """""" 0230 # Enum Akonadi.AgentActionManager.TextContext 0231 DialogTitle = 0 0232 DialogText = 0 0233 MessageBoxTitle = 0 0234 MessageBoxText = 0 0235 MessageBoxAlternativeText = 0 0236 ErrorMessageTitle = 0 0237 ErrorMessageText = 0 0238 0239 # Enum Akonadi.AgentActionManager.Type 0240 CreateAgentInstance = 0 0241 DeleteAgentInstance = 0 0242 ConfigureAgentInstance = 0 0243 LastType = 0 0244 0245 def __init__(self, actionCollection, parent = None): 0246 '''void Akonadi.AgentActionManager.__init__(KActionCollection actionCollection, QWidget parent = None)''' 0247 actionStateUpdated = pyqtSignal() # void actionStateUpdated() - signal 0248 def setContextText(self, type, context, text): 0249 '''void Akonadi.AgentActionManager.setContextText(Akonadi.AgentActionManager.Type type, Akonadi.AgentActionManager.TextContext context, QString text)''' 0250 def setContextText(self, type, context, text): 0251 '''void Akonadi.AgentActionManager.setContextText(Akonadi.AgentActionManager.Type type, Akonadi.AgentActionManager.TextContext context, KLocalizedString text)''' 0252 def selectedAgentInstances(self): 0253 '''list-of-Akonadi.AgentInstance Akonadi.AgentActionManager.selectedAgentInstances()''' 0254 return [Akonadi.AgentInstance()] 0255 def interceptAction(self, type, intercept = True): 0256 '''void Akonadi.AgentActionManager.interceptAction(Akonadi.AgentActionManager.Type type, bool intercept = True)''' 0257 def action(self, type): 0258 '''KAction Akonadi.AgentActionManager.action(Akonadi.AgentActionManager.Type type)''' 0259 return KAction() 0260 def createAllActions(self): 0261 '''void Akonadi.AgentActionManager.createAllActions()''' 0262 def createAction(self, type): 0263 '''KAction Akonadi.AgentActionManager.createAction(Akonadi.AgentActionManager.Type type)''' 0264 return KAction() 0265 def setCapabilityFilter(self, capabilities): 0266 '''void Akonadi.AgentActionManager.setCapabilityFilter(QStringList capabilities)''' 0267 def setMimeTypeFilter(self, mimeTypes): 0268 '''void Akonadi.AgentActionManager.setMimeTypeFilter(QStringList mimeTypes)''' 0269 def setSelectionModel(self, model): 0270 '''void Akonadi.AgentActionManager.setSelectionModel(QItemSelectionModel model)''' 0271 class AttributeFactory(): 0272 """""" 0273 def __init__(self): 0274 '''void Akonadi.AttributeFactory.__init__()''' 0275 def createAttribute(self, type): 0276 '''static Akonadi.Attribute Akonadi.AttributeFactory.createAttribute(QByteArray type)''' 0277 return Akonadi.Attribute() 0278 class LinkJob(Akonadi.Job): 0279 """""" 0280 def __init__(self, collection, items, parent = None): 0281 '''void Akonadi.LinkJob.__init__(Akonadi.Collection collection, list-of-Akonadi.Item items, QObject parent = None)''' 0282 def doStart(self): 0283 '''void Akonadi.LinkJob.doStart()''' 0284 class SpecialMailCollectionsRequestJob(Akonadi.SpecialCollectionsRequestJob): 0285 """""" 0286 def __init__(self, parent = None): 0287 '''void Akonadi.SpecialMailCollectionsRequestJob.__init__(QObject parent = None)''' 0288 def requestCollection(self, type, instance): 0289 '''void Akonadi.SpecialMailCollectionsRequestJob.requestCollection(Akonadi.SpecialMailCollections.Type type, Akonadi.AgentInstance instance)''' 0290 def requestDefaultCollection(self, type): 0291 '''void Akonadi.SpecialMailCollectionsRequestJob.requestDefaultCollection(Akonadi.SpecialMailCollections.Type type)''' 0292 class EntityDisplayAttribute(Akonadi.Attribute): 0293 """""" 0294 def __init__(self): 0295 '''void Akonadi.EntityDisplayAttribute.__init__()''' 0296 def setBackgroundColor(self, color): 0297 '''void Akonadi.EntityDisplayAttribute.setBackgroundColor(QColor color)''' 0298 def backgroundColor(self): 0299 '''QColor Akonadi.EntityDisplayAttribute.backgroundColor()''' 0300 return QColor() 0301 def activeIconName(self): 0302 '''QString Akonadi.EntityDisplayAttribute.activeIconName()''' 0303 return QString() 0304 def activeIcon(self): 0305 '''KIcon Akonadi.EntityDisplayAttribute.activeIcon()''' 0306 return KIcon() 0307 def setActiveIconName(self, name): 0308 '''void Akonadi.EntityDisplayAttribute.setActiveIconName(QString name)''' 0309 def deserialize(self, data): 0310 '''void Akonadi.EntityDisplayAttribute.deserialize(QByteArray data)''' 0311 def serialized(self): 0312 '''QByteArray Akonadi.EntityDisplayAttribute.serialized()''' 0313 return QByteArray() 0314 def clone(self): 0315 '''Akonadi.EntityDisplayAttribute Akonadi.EntityDisplayAttribute.clone()''' 0316 return Akonadi.EntityDisplayAttribute() 0317 def type(self): 0318 '''QByteArray Akonadi.EntityDisplayAttribute.type()''' 0319 return QByteArray() 0320 def iconName(self): 0321 '''QString Akonadi.EntityDisplayAttribute.iconName()''' 0322 return QString() 0323 def icon(self): 0324 '''KIcon Akonadi.EntityDisplayAttribute.icon()''' 0325 return KIcon() 0326 def setIconName(self, name): 0327 '''void Akonadi.EntityDisplayAttribute.setIconName(QString name)''' 0328 def displayName(self): 0329 '''QString Akonadi.EntityDisplayAttribute.displayName()''' 0330 return QString() 0331 def setDisplayName(self, name): 0332 '''void Akonadi.EntityDisplayAttribute.setDisplayName(QString name)''' 0333 class StandardMailActionManager(QObject): 0334 """""" 0335 # Enum Akonadi.StandardMailActionManager.Type 0336 MarkMailAsRead = 0 0337 MarkMailAsUnread = 0 0338 MarkMailAsImportant = 0 0339 MarkMailAsActionItem = 0 0340 MarkAllMailAsRead = 0 0341 MarkAllMailAsUnread = 0 0342 MarkAllMailAsImportant = 0 0343 MarkAllMailAsActionItem = 0 0344 MoveToTrash = 0 0345 MoveAllToTrash = 0 0346 RemoveDuplicates = 0 0347 EmptyAllTrash = 0 0348 EmptyTrash = 0 0349 LastType = 0 0350 0351 def __init__(self, actionCollection, parent = None): 0352 '''void Akonadi.StandardMailActionManager.__init__(KActionCollection actionCollection, QWidget parent = None)''' 0353 def standardActionManager(self): 0354 '''Akonadi.StandardActionManager Akonadi.StandardMailActionManager.standardActionManager()''' 0355 return Akonadi.StandardActionManager() 0356 actionStateUpdated = pyqtSignal() # void actionStateUpdated() - signal 0357 def setCollectionPropertiesPageNames(self, names): 0358 '''void Akonadi.StandardMailActionManager.setCollectionPropertiesPageNames(QStringList names)''' 0359 def setFavoriteSelectionModel(self, selectionModel): 0360 '''void Akonadi.StandardMailActionManager.setFavoriteSelectionModel(QItemSelectionModel selectionModel)''' 0361 def setFavoriteCollectionsModel(self, favoritesModel): 0362 '''void Akonadi.StandardMailActionManager.setFavoriteCollectionsModel(Akonadi.FavoriteCollectionsModel favoritesModel)''' 0363 def selectedItems(self): 0364 '''list-of-Akonadi.Item Akonadi.StandardMailActionManager.selectedItems()''' 0365 return [Akonadi.Item()] 0366 def selectedCollections(self): 0367 '''list-of-Akonadi.Collection Akonadi.StandardMailActionManager.selectedCollections()''' 0368 return [Akonadi.Collection()] 0369 def interceptAction(self, type, intercept = True): 0370 '''void Akonadi.StandardMailActionManager.interceptAction(Akonadi.StandardMailActionManager.Type type, bool intercept = True)''' 0371 def interceptAction(self, type, intercept = True): 0372 '''void Akonadi.StandardMailActionManager.interceptAction(Akonadi.StandardActionManager.Type type, bool intercept = True)''' 0373 def setActionText(self, type, text): 0374 '''void Akonadi.StandardMailActionManager.setActionText(Akonadi.StandardActionManager.Type type, KLocalizedString text)''' 0375 def action(self, type): 0376 '''KAction Akonadi.StandardMailActionManager.action(Akonadi.StandardMailActionManager.Type type)''' 0377 return KAction() 0378 def action(self, type): 0379 '''KAction Akonadi.StandardMailActionManager.action(Akonadi.StandardActionManager.Type type)''' 0380 return KAction() 0381 def createAllActions(self): 0382 '''void Akonadi.StandardMailActionManager.createAllActions()''' 0383 def createAction(self, type): 0384 '''KAction Akonadi.StandardMailActionManager.createAction(Akonadi.StandardMailActionManager.Type type)''' 0385 return KAction() 0386 def createAction(self, type): 0387 '''KAction Akonadi.StandardMailActionManager.createAction(Akonadi.StandardActionManager.Type type)''' 0388 return KAction() 0389 def setItemSelectionModel(self, selectionModel): 0390 '''void Akonadi.StandardMailActionManager.setItemSelectionModel(QItemSelectionModel selectionModel)''' 0391 def setCollectionSelectionModel(self, selectionModel): 0392 '''void Akonadi.StandardMailActionManager.setCollectionSelectionModel(QItemSelectionModel selectionModel)''' 0393 class ItemModel(QAbstractTableModel): 0394 """""" 0395 # Enum Akonadi.ItemModel.Roles 0396 IdRole = 0 0397 ItemRole = 0 0398 MimeTypeRole = 0 0399 UserRole = 0 0400 0401 # Enum Akonadi.ItemModel.Column 0402 Id = 0 0403 RemoteId = 0 0404 MimeType = 0 0405 0406 def __init__(self, parent = None): 0407 '''void Akonadi.ItemModel.__init__(QObject parent = None)''' 0408 def supportedDropActions(self): 0409 '''Qt.DropActions Akonadi.ItemModel.supportedDropActions()''' 0410 return Qt.DropActions() 0411 def session(self): 0412 '''Akonadi.Session Akonadi.ItemModel.session()''' 0413 return Akonadi.Session() 0414 collectionChanged = pyqtSignal() # void collectionChanged(const Akonadi::Collectionamp;) - signal 0415 def setCollection(self, collection): 0416 '''void Akonadi.ItemModel.setCollection(Akonadi.Collection collection)''' 0417 def collection(self): 0418 '''Akonadi.Collection Akonadi.ItemModel.collection()''' 0419 return Akonadi.Collection() 0420 def dropMimeData(self, data, action, row, column, parent): 0421 '''bool Akonadi.ItemModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 0422 return bool() 0423 def indexForItem(self, item, column): 0424 '''QModelIndex Akonadi.ItemModel.indexForItem(Akonadi.Item item, int column)''' 0425 return QModelIndex() 0426 def itemForIndex(self, index): 0427 '''Akonadi.Item Akonadi.ItemModel.itemForIndex(QModelIndex index)''' 0428 return Akonadi.Item() 0429 def fetchScope(self): 0430 '''Akonadi.ItemFetchScope Akonadi.ItemModel.fetchScope()''' 0431 return Akonadi.ItemFetchScope() 0432 def setFetchScope(self, fetchScope): 0433 '''void Akonadi.ItemModel.setFetchScope(Akonadi.ItemFetchScope fetchScope)''' 0434 def mimeTypes(self): 0435 '''QStringList Akonadi.ItemModel.mimeTypes()''' 0436 return QStringList() 0437 def mimeData(self, indexes): 0438 '''QMimeData Akonadi.ItemModel.mimeData(list-of-QModelIndex indexes)''' 0439 return QMimeData() 0440 def flags(self, index): 0441 '''Qt.ItemFlags Akonadi.ItemModel.flags(QModelIndex index)''' 0442 return Qt.ItemFlags() 0443 def headerData(self, section, orientation, role = None): 0444 '''QVariant Akonadi.ItemModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 0445 return QVariant() 0446 def rowCount(self, parent = QModelIndex()): 0447 '''int Akonadi.ItemModel.rowCount(QModelIndex parent = QModelIndex())''' 0448 return int() 0449 def data(self, index, role = None): 0450 '''QVariant Akonadi.ItemModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 0451 return QVariant() 0452 def columnCount(self, parent = QModelIndex()): 0453 '''int Akonadi.ItemModel.columnCount(QModelIndex parent = QModelIndex())''' 0454 return int() 0455 class AgentBase(): 0456 """""" 0457 class Observer(): 0458 """""" 0459 def __init__(self): 0460 '''void Akonadi.AgentBase.Observer.__init__()''' 0461 def __init__(self): 0462 '''Akonadi.AgentBase.Observer Akonadi.AgentBase.Observer.__init__()''' 0463 return Akonadi.AgentBase.Observer() 0464 def collectionRemoved(self, collection): 0465 '''void Akonadi.AgentBase.Observer.collectionRemoved(Akonadi.Collection collection)''' 0466 def collectionChanged(self, collection): 0467 '''void Akonadi.AgentBase.Observer.collectionChanged(Akonadi.Collection collection)''' 0468 def collectionAdded(self, collection, parent): 0469 '''void Akonadi.AgentBase.Observer.collectionAdded(Akonadi.Collection collection, Akonadi.Collection parent)''' 0470 def itemRemoved(self, item): 0471 '''void Akonadi.AgentBase.Observer.itemRemoved(Akonadi.Item item)''' 0472 def itemChanged(self, item, partIdentifiers): 0473 '''void Akonadi.AgentBase.Observer.itemChanged(Akonadi.Item item, list-of-QByteArray partIdentifiers)''' 0474 def itemAdded(self, item, collection): 0475 '''void Akonadi.AgentBase.Observer.itemAdded(Akonadi.Item item, Akonadi.Collection collection)''' 0476 class SpecialCollectionsRequestJob(Akonadi.TransactionSequence): 0477 """""" 0478 def __init__(self, collections, parent = None): 0479 '''void Akonadi.SpecialCollectionsRequestJob.__init__(Akonadi.SpecialCollections collections, QObject parent = None)''' 0480 def slotResult(self, job): 0481 '''void Akonadi.SpecialCollectionsRequestJob.slotResult(KJob job)''' 0482 def doStart(self): 0483 '''void Akonadi.SpecialCollectionsRequestJob.doStart()''' 0484 def setIconForTypeMap(self, map): 0485 '''void Akonadi.SpecialCollectionsRequestJob.setIconForTypeMap(dict-of-QByteArray-QString map)''' 0486 def setNameForTypeMap(self, map): 0487 '''void Akonadi.SpecialCollectionsRequestJob.setNameForTypeMap(dict-of-QByteArray-QString map)''' 0488 def setTypes(self, types): 0489 '''void Akonadi.SpecialCollectionsRequestJob.setTypes(list-of-QByteArray types)''' 0490 def setDefaultResourceOptions(self, options): 0491 '''void Akonadi.SpecialCollectionsRequestJob.setDefaultResourceOptions(dict-of-QString-QVariant options)''' 0492 def setDefaultResourceType(self, type): 0493 '''void Akonadi.SpecialCollectionsRequestJob.setDefaultResourceType(QString type)''' 0494 def collection(self): 0495 '''Akonadi.Collection Akonadi.SpecialCollectionsRequestJob.collection()''' 0496 return Akonadi.Collection() 0497 def requestCollection(self, type, instance): 0498 '''void Akonadi.SpecialCollectionsRequestJob.requestCollection(QByteArray type, Akonadi.AgentInstance instance)''' 0499 def requestDefaultCollection(self, type): 0500 '''void Akonadi.SpecialCollectionsRequestJob.requestDefaultCollection(QByteArray type)''' 0501 class ETMViewStateSaver(KViewStateSaver): 0502 """""" 0503 def __init__(self, parent = None): 0504 '''void Akonadi.ETMViewStateSaver.__init__(QObject parent = None)''' 0505 def indexToConfigString(self, index): 0506 '''QString Akonadi.ETMViewStateSaver.indexToConfigString(QModelIndex index)''' 0507 return QString() 0508 def indexFromConfigString(self, model, key): 0509 '''QModelIndex Akonadi.ETMViewStateSaver.indexFromConfigString(QAbstractItemModel model, QString key)''' 0510 return QModelIndex() 0511 def selectItems(self, list): 0512 '''void Akonadi.ETMViewStateSaver.selectItems(list-of-Akonadi.Item list)''' 0513 def selectCollections(self, list): 0514 '''void Akonadi.ETMViewStateSaver.selectCollections(list-of-Akonadi.Collection list)''' 0515 class EntityOrderProxyModel(QSortFilterProxyModel): 0516 """""" 0517 def __init__(self, parent = None): 0518 '''void Akonadi.EntityOrderProxyModel.__init__(QObject parent = None)''' 0519 def configString(self, index): 0520 '''QString Akonadi.EntityOrderProxyModel.configString(QModelIndex index)''' 0521 return QString() 0522 def parentConfigString(self, index): 0523 '''QString Akonadi.EntityOrderProxyModel.parentConfigString(QModelIndex index)''' 0524 return QString() 0525 def match(self, start, role, value, hits = 1, flags = None): 0526 '''list-of-QModelIndex Akonadi.EntityOrderProxyModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))''' 0527 return [QModelIndex()] 0528 def dropMimeData(self, data, action, row, column, parent): 0529 '''bool Akonadi.EntityOrderProxyModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 0530 return bool() 0531 def lessThan(self, left, right): 0532 '''bool Akonadi.EntityOrderProxyModel.lessThan(QModelIndex left, QModelIndex right)''' 0533 return bool() 0534 def clearTreeOrder(self): 0535 '''void Akonadi.EntityOrderProxyModel.clearTreeOrder()''' 0536 def clearOrder(self, index): 0537 '''void Akonadi.EntityOrderProxyModel.clearOrder(QModelIndex index)''' 0538 def saveOrder(self): 0539 '''void Akonadi.EntityOrderProxyModel.saveOrder()''' 0540 def setOrderConfig(self, group): 0541 '''void Akonadi.EntityOrderProxyModel.setOrderConfig(KConfigGroup group)''' 0542 class CollectionStatistics(): 0543 """""" 0544 def __init__(self): 0545 '''void Akonadi.CollectionStatistics.__init__()''' 0546 def __init__(self, other): 0547 '''void Akonadi.CollectionStatistics.__init__(Akonadi.CollectionStatistics other)''' 0548 def setSize(self, size): 0549 '''void Akonadi.CollectionStatistics.setSize(int size)''' 0550 def size(self): 0551 '''int Akonadi.CollectionStatistics.size()''' 0552 return int() 0553 def setUnreadCount(self, count): 0554 '''void Akonadi.CollectionStatistics.setUnreadCount(int count)''' 0555 def unreadCount(self): 0556 '''int Akonadi.CollectionStatistics.unreadCount()''' 0557 return int() 0558 def setCount(self, count): 0559 '''void Akonadi.CollectionStatistics.setCount(int count)''' 0560 def count(self): 0561 '''int Akonadi.CollectionStatistics.count()''' 0562 return int() 0563 class RecursiveItemFetchJob(KJob): 0564 """""" 0565 def __init__(self, collection, mimeTypes, parent = None): 0566 '''void Akonadi.RecursiveItemFetchJob.__init__(Akonadi.Collection collection, QStringList mimeTypes, QObject parent = None)''' 0567 def start(self): 0568 '''void Akonadi.RecursiveItemFetchJob.start()''' 0569 def items(self): 0570 '''list-of-Akonadi.Item Akonadi.RecursiveItemFetchJob.items()''' 0571 return [Akonadi.Item()] 0572 def fetchScope(self): 0573 '''Akonadi.ItemFetchScope Akonadi.RecursiveItemFetchJob.fetchScope()''' 0574 return Akonadi.ItemFetchScope() 0575 def setFetchScope(self, fetchScope): 0576 '''void Akonadi.RecursiveItemFetchJob.setFetchScope(Akonadi.ItemFetchScope fetchScope)''' 0577 class IndexPolicyAttribute(Akonadi.Attribute): 0578 """""" 0579 def __init__(self): 0580 '''void Akonadi.IndexPolicyAttribute.__init__()''' 0581 def deserialize(self, data): 0582 '''void Akonadi.IndexPolicyAttribute.deserialize(QByteArray data)''' 0583 def serialized(self): 0584 '''QByteArray Akonadi.IndexPolicyAttribute.serialized()''' 0585 return QByteArray() 0586 def clone(self): 0587 '''Akonadi.Attribute Akonadi.IndexPolicyAttribute.clone()''' 0588 return Akonadi.Attribute() 0589 def type(self): 0590 '''QByteArray Akonadi.IndexPolicyAttribute.type()''' 0591 return QByteArray() 0592 def setIndexingEnabled(self, enable): 0593 '''void Akonadi.IndexPolicyAttribute.setIndexingEnabled(bool enable)''' 0594 def indexingEnabled(self): 0595 '''bool Akonadi.IndexPolicyAttribute.indexingEnabled()''' 0596 return bool() 0597 class TransactionRollbackJob(Akonadi.Job): 0598 """""" 0599 def __init__(self, parent): 0600 '''void Akonadi.TransactionRollbackJob.__init__(QObject parent)''' 0601 def doStart(self): 0602 '''void Akonadi.TransactionRollbackJob.doStart()''' 0603 class ResourceSynchronizationJob(KJob): 0604 """""" 0605 def __init__(self, instance, parent = None): 0606 '''void Akonadi.ResourceSynchronizationJob.__init__(Akonadi.AgentInstance instance, QObject parent = None)''' 0607 def setCollectionTreeOnly(self, collectionTreeOnly): 0608 '''void Akonadi.ResourceSynchronizationJob.setCollectionTreeOnly(bool collectionTreeOnly)''' 0609 def collectionTreeOnly(self): 0610 '''bool Akonadi.ResourceSynchronizationJob.collectionTreeOnly()''' 0611 return bool() 0612 def start(self): 0613 '''void Akonadi.ResourceSynchronizationJob.start()''' 0614 def resource(self): 0615 '''Akonadi.AgentInstance Akonadi.ResourceSynchronizationJob.resource()''' 0616 return Akonadi.AgentInstance() 0617 class AgentBase(QObject): 0618 """""" 0619 # Enum Akonadi.AgentBase.Status 0620 Idle = 0 0621 Running = 0 0622 Broken = 0 0623 0624 def __init__(self, id): 0625 '''void Akonadi.AgentBase.__init__(QString id)''' 0626 def config(self): 0627 '''KSharedConfigPtr Akonadi.AgentBase.config()''' 0628 return KSharedConfigPtr() 0629 advancedStatus = pyqtSignal() # void advancedStatus(const QVariantMapamp;) - signal 0630 def componentData(self): 0631 '''static KComponentData Akonadi.AgentBase.componentData()''' 0632 return KComponentData() 0633 def doSetOnline(self, online): 0634 '''void Akonadi.AgentBase.doSetOnline(bool online)''' 0635 def setOnline(self, state): 0636 '''void Akonadi.AgentBase.setOnline(bool state)''' 0637 def setNeedsNetwork(self, needsNetwork): 0638 '''void Akonadi.AgentBase.setNeedsNetwork(bool needsNetwork)''' 0639 def isOnline(self): 0640 '''bool Akonadi.AgentBase.isOnline()''' 0641 return bool() 0642 def changeProcessed(self): 0643 '''void Akonadi.AgentBase.changeProcessed()''' 0644 def changeRecorder(self): 0645 '''Akonadi.ChangeRecorder Akonadi.AgentBase.changeRecorder()''' 0646 return Akonadi.ChangeRecorder() 0647 def aboutToQuit(self): 0648 '''void Akonadi.AgentBase.aboutToQuit()''' 0649 configurationDialogRejected = pyqtSignal() # void configurationDialogRejected() - signal 0650 configurationDialogAccepted = pyqtSignal() # void configurationDialogAccepted() - signal 0651 onlineChanged = pyqtSignal() # void onlineChanged(bool) - signal 0652 reloadConfiguration = pyqtSignal() # void reloadConfiguration() - signal 0653 abortRequested = pyqtSignal() # void abortRequested() - signal 0654 error = pyqtSignal() # void error(const QStringamp;) - signal 0655 warning = pyqtSignal() # void warning(const QStringamp;) - signal 0656 percent = pyqtSignal() # void percent(int) - signal 0657 agentNameChanged = pyqtSignal() # void agentNameChanged(const QStringamp;) - signal 0658 def agentName(self): 0659 '''QString Akonadi.AgentBase.agentName()''' 0660 return QString() 0661 def setAgentName(self, name): 0662 '''void Akonadi.AgentBase.setAgentName(QString name)''' 0663 def registerObserver(self, observer): 0664 '''void Akonadi.AgentBase.registerObserver(Akonadi.AgentBase.Observer observer)''' 0665 def cleanup(self): 0666 '''void Akonadi.AgentBase.cleanup()''' 0667 def identifier(self): 0668 '''QString Akonadi.AgentBase.identifier()''' 0669 return QString() 0670 def winIdForDialogs(self): 0671 '''int Akonadi.AgentBase.winIdForDialogs()''' 0672 return int() 0673 def configure(self, windowId): 0674 '''void Akonadi.AgentBase.configure(int windowId)''' 0675 def progressMessage(self): 0676 '''QString Akonadi.AgentBase.progressMessage()''' 0677 return QString() 0678 def progress(self): 0679 '''int Akonadi.AgentBase.progress()''' 0680 return int() 0681 def statusMessage(self): 0682 '''QString Akonadi.AgentBase.statusMessage()''' 0683 return QString() 0684 def status(self): 0685 '''int Akonadi.AgentBase.status()''' 0686 return int() 0687 status = pyqtSignal() # void status(int,const QStringamp; = QString()) - signal 0688 class AgentInstanceCreateJob(KJob): 0689 """""" 0690 def __init__(self, type, parent = None): 0691 '''void Akonadi.AgentInstanceCreateJob.__init__(Akonadi.AgentType type, QObject parent = None)''' 0692 def __init__(self, typeId, parent = None): 0693 '''void Akonadi.AgentInstanceCreateJob.__init__(QString typeId, QObject parent = None)''' 0694 def start(self): 0695 '''void Akonadi.AgentInstanceCreateJob.start()''' 0696 def instance(self): 0697 '''Akonadi.AgentInstance Akonadi.AgentInstanceCreateJob.instance()''' 0698 return Akonadi.AgentInstance() 0699 def configure(self, parent = None): 0700 '''void Akonadi.AgentInstanceCreateJob.configure(QWidget parent = None)''' 0701 class CollectionCopyJob(Akonadi.Job): 0702 """""" 0703 def __init__(self, source, target, parent = None): 0704 '''void Akonadi.CollectionCopyJob.__init__(Akonadi.Collection source, Akonadi.Collection target, QObject parent = None)''' 0705 def doStart(self): 0706 '''void Akonadi.CollectionCopyJob.doStart()''' 0707 class Collection(): 0708 """""" 0709 class Rights(): 0710 """""" 0711 def __init__(self): 0712 '''Akonadi.Collection.Rights Akonadi.Collection.Rights.__init__()''' 0713 return Akonadi.Collection.Rights() 0714 def __init__(self): 0715 '''int Akonadi.Collection.Rights.__init__()''' 0716 return int() 0717 def __init__(self): 0718 '''void Akonadi.Collection.Rights.__init__()''' 0719 def __bool__(self): 0720 '''int Akonadi.Collection.Rights.__bool__()''' 0721 return int() 0722 def __ne__(self, f): 0723 '''bool Akonadi.Collection.Rights.__ne__(Akonadi.Collection.Rights f)''' 0724 return bool() 0725 def __eq__(self, f): 0726 '''bool Akonadi.Collection.Rights.__eq__(Akonadi.Collection.Rights f)''' 0727 return bool() 0728 def __invert__(self): 0729 '''Akonadi.Collection.Rights Akonadi.Collection.Rights.__invert__()''' 0730 return Akonadi.Collection.Rights() 0731 def __and__(self, mask): 0732 '''Akonadi.Collection.Rights Akonadi.Collection.Rights.__and__(int mask)''' 0733 return Akonadi.Collection.Rights() 0734 def __xor__(self, f): 0735 '''Akonadi.Collection.Rights Akonadi.Collection.Rights.__xor__(Akonadi.Collection.Rights f)''' 0736 return Akonadi.Collection.Rights() 0737 def __xor__(self, f): 0738 '''Akonadi.Collection.Rights Akonadi.Collection.Rights.__xor__(int f)''' 0739 return Akonadi.Collection.Rights() 0740 def __or__(self, f): 0741 '''Akonadi.Collection.Rights Akonadi.Collection.Rights.__or__(Akonadi.Collection.Rights f)''' 0742 return Akonadi.Collection.Rights() 0743 def __or__(self, f): 0744 '''Akonadi.Collection.Rights Akonadi.Collection.Rights.__or__(int f)''' 0745 return Akonadi.Collection.Rights() 0746 def __int__(self): 0747 '''int Akonadi.Collection.Rights.__int__()''' 0748 return int() 0749 def __ixor__(self, f): 0750 '''Akonadi.Collection.Rights Akonadi.Collection.Rights.__ixor__(Akonadi.Collection.Rights f)''' 0751 return Akonadi.Collection.Rights() 0752 def __ior__(self, f): 0753 '''Akonadi.Collection.Rights Akonadi.Collection.Rights.__ior__(Akonadi.Collection.Rights f)''' 0754 return Akonadi.Collection.Rights() 0755 def __iand__(self, mask): 0756 '''Akonadi.Collection.Rights Akonadi.Collection.Rights.__iand__(int mask)''' 0757 return Akonadi.Collection.Rights() 0758 class MessageFlags(): 0759 """""" 0760 Answered = None # str - member 0761 Deleted = None # str - member 0762 Encrypted = None # str - member 0763 Flagged = None # str - member 0764 Forwarded = None # str - member 0765 Ham = None # str - member 0766 HasAttachment = None # str - member 0767 HasError = None # str - member 0768 HasInvitation = None # str - member 0769 Ignored = None # str - member 0770 Queued = None # str - member 0771 Replied = None # str - member 0772 Seen = None # str - member 0773 Sent = None # str - member 0774 Signed = None # str - member 0775 Spam = None # str - member 0776 ToAct = None # str - member 0777 Watched = None # str - member 0778 class AgentTypeWidget(QWidget): 0779 """""" 0780 def __init__(self, parent = None): 0781 '''void Akonadi.AgentTypeWidget.__init__(QWidget parent = None)''' 0782 activated = pyqtSignal() # void activated() - signal 0783 currentChanged = pyqtSignal() # void currentChanged(const Akonadi::AgentTypeamp;,const Akonadi::AgentTypeamp;) - signal 0784 def agentFilterProxyModel(self): 0785 '''Akonadi.AgentFilterProxyModel Akonadi.AgentTypeWidget.agentFilterProxyModel()''' 0786 return Akonadi.AgentFilterProxyModel() 0787 def currentAgentType(self): 0788 '''Akonadi.AgentType Akonadi.AgentTypeWidget.currentAgentType()''' 0789 return Akonadi.AgentType() 0790 class TrashSettings(): 0791 """""" 0792 def getTrashCollection(self, resource): 0793 '''static Akonadi.Collection Akonadi.TrashSettings.getTrashCollection(QString resource)''' 0794 return Akonadi.Collection() 0795 def setTrashCollection(self, resource, collection): 0796 '''static void Akonadi.TrashSettings.setTrashCollection(QString resource, Akonadi.Collection collection)''' 0797 class AgentSearchInterface(): 0798 """""" 0799 def __init__(self): 0800 '''void Akonadi.AgentSearchInterface.__init__()''' 0801 def __init__(self): 0802 '''Akonadi.AgentSearchInterface Akonadi.AgentSearchInterface.__init__()''' 0803 return Akonadi.AgentSearchInterface() 0804 def removeSearch(self, resultCollection): 0805 '''abstract void Akonadi.AgentSearchInterface.removeSearch(Akonadi.Collection resultCollection)''' 0806 def addSearch(self, query, queryLanguage, resultCollection): 0807 '''abstract void Akonadi.AgentSearchInterface.addSearch(QString query, QString queryLanguage, Akonadi.Collection resultCollection)''' 0808 class TransactionBeginJob(Akonadi.Job): 0809 """""" 0810 def __init__(self, parent): 0811 '''void Akonadi.TransactionBeginJob.__init__(QObject parent)''' 0812 def doStart(self): 0813 '''void Akonadi.TransactionBeginJob.doStart()''' 0814 class CollectionAttributesSynchronizationJob(KJob): 0815 """""" 0816 def __init__(self, collection, parent = None): 0817 '''void Akonadi.CollectionAttributesSynchronizationJob.__init__(Akonadi.Collection collection, QObject parent = None)''' 0818 def start(self): 0819 '''void Akonadi.CollectionAttributesSynchronizationJob.start()''' 0820 class AgentManager(QObject): 0821 """""" 0822 instanceOnline = pyqtSignal() # void instanceOnline(const Akonadi::AgentInstanceamp;,bool) - signal 0823 instanceWarning = pyqtSignal() # void instanceWarning(const Akonadi::AgentInstanceamp;,const QStringamp;) - signal 0824 instanceError = pyqtSignal() # void instanceError(const Akonadi::AgentInstanceamp;,const QStringamp;) - signal 0825 instanceNameChanged = pyqtSignal() # void instanceNameChanged(const Akonadi::AgentInstanceamp;) - signal 0826 instanceProgressChanged = pyqtSignal() # void instanceProgressChanged(const Akonadi::AgentInstanceamp;) - signal 0827 instanceStatusChanged = pyqtSignal() # void instanceStatusChanged(const Akonadi::AgentInstanceamp;) - signal 0828 instanceRemoved = pyqtSignal() # void instanceRemoved(const Akonadi::AgentInstanceamp;) - signal 0829 instanceAdded = pyqtSignal() # void instanceAdded(const Akonadi::AgentInstanceamp;) - signal 0830 typeRemoved = pyqtSignal() # void typeRemoved(const Akonadi::AgentTypeamp;) - signal 0831 typeAdded = pyqtSignal() # void typeAdded(const Akonadi::AgentTypeamp;) - signal 0832 def synchronizeCollection(self, collection): 0833 '''void Akonadi.AgentManager.synchronizeCollection(Akonadi.Collection collection)''' 0834 def synchronizeCollection(self, collection, recursive): 0835 '''void Akonadi.AgentManager.synchronizeCollection(Akonadi.Collection collection, bool recursive)''' 0836 def removeInstance(self, instance): 0837 '''void Akonadi.AgentManager.removeInstance(Akonadi.AgentInstance instance)''' 0838 def instance(self, identifier): 0839 '''Akonadi.AgentInstance Akonadi.AgentManager.instance(QString identifier)''' 0840 return Akonadi.AgentInstance() 0841 def instances(self): 0842 '''list-of-Akonadi.AgentInstance Akonadi.AgentManager.instances()''' 0843 return [Akonadi.AgentInstance()] 0844 def type(self, identifier): 0845 '''Akonadi.AgentType Akonadi.AgentManager.type(QString identifier)''' 0846 return Akonadi.AgentType() 0847 def types(self): 0848 '''list-of-Akonadi.AgentType Akonadi.AgentManager.types()''' 0849 return [Akonadi.AgentType()] 0850 def self(self): 0851 '''static Akonadi.AgentManager Akonadi.AgentManager.self()''' 0852 return Akonadi.AgentManager() 0853 class EntityMimeTypeFilterModel(QSortFilterProxyModel): 0854 """""" 0855 def __init__(self, parent = None): 0856 '''void Akonadi.EntityMimeTypeFilterModel.__init__(QObject parent = None)''' 0857 def filterAcceptsColumn(self, sourceColumn, sourceParent): 0858 '''bool Akonadi.EntityMimeTypeFilterModel.filterAcceptsColumn(int sourceColumn, QModelIndex sourceParent)''' 0859 return bool() 0860 def filterAcceptsRow(self, sourceRow, sourceParent): 0861 '''bool Akonadi.EntityMimeTypeFilterModel.filterAcceptsRow(int sourceRow, QModelIndex sourceParent)''' 0862 return bool() 0863 def columnCount(self, parent = QModelIndex()): 0864 '''int Akonadi.EntityMimeTypeFilterModel.columnCount(QModelIndex parent = QModelIndex())''' 0865 return int() 0866 def match(self, start, role, value, hits = 1, flags = None): 0867 '''list-of-QModelIndex Akonadi.EntityMimeTypeFilterModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))''' 0868 return [QModelIndex()] 0869 def canFetchMore(self, parent): 0870 '''bool Akonadi.EntityMimeTypeFilterModel.canFetchMore(QModelIndex parent)''' 0871 return bool() 0872 def hasChildren(self, parent = QModelIndex()): 0873 '''bool Akonadi.EntityMimeTypeFilterModel.hasChildren(QModelIndex parent = QModelIndex())''' 0874 return bool() 0875 def headerData(self, section, orientation, role = None): 0876 '''QVariant Akonadi.EntityMimeTypeFilterModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 0877 return QVariant() 0878 def setHeaderGroup(self, headerGroup): 0879 '''void Akonadi.EntityMimeTypeFilterModel.setHeaderGroup(Akonadi.EntityTreeModel.HeaderGroup headerGroup)''' 0880 def clearFilters(self): 0881 '''void Akonadi.EntityMimeTypeFilterModel.clearFilters()''' 0882 def addMimeTypeExclusionFilter(self, mimeType): 0883 '''void Akonadi.EntityMimeTypeFilterModel.addMimeTypeExclusionFilter(QString mimeType)''' 0884 def addMimeTypeInclusionFilter(self, mimeType): 0885 '''void Akonadi.EntityMimeTypeFilterModel.addMimeTypeInclusionFilter(QString mimeType)''' 0886 def mimeTypeExclusionFilters(self): 0887 '''QStringList Akonadi.EntityMimeTypeFilterModel.mimeTypeExclusionFilters()''' 0888 return QStringList() 0889 def mimeTypeInclusionFilters(self): 0890 '''QStringList Akonadi.EntityMimeTypeFilterModel.mimeTypeInclusionFilters()''' 0891 return QStringList() 0892 def addMimeTypeExclusionFilters(self, mimeTypes): 0893 '''void Akonadi.EntityMimeTypeFilterModel.addMimeTypeExclusionFilters(QStringList mimeTypes)''' 0894 def addMimeTypeInclusionFilters(self, mimeTypes): 0895 '''void Akonadi.EntityMimeTypeFilterModel.addMimeTypeInclusionFilters(QStringList mimeTypes)''' 0896 class CollectionDialog(): 0897 """""" 0898 class CollectionDialogOptions(): 0899 """""" 0900 def __init__(self): 0901 '''Akonadi.CollectionDialog.CollectionDialogOptions Akonadi.CollectionDialog.CollectionDialogOptions.__init__()''' 0902 return Akonadi.CollectionDialog.CollectionDialogOptions() 0903 def __init__(self): 0904 '''int Akonadi.CollectionDialog.CollectionDialogOptions.__init__()''' 0905 return int() 0906 def __init__(self): 0907 '''void Akonadi.CollectionDialog.CollectionDialogOptions.__init__()''' 0908 def __bool__(self): 0909 '''int Akonadi.CollectionDialog.CollectionDialogOptions.__bool__()''' 0910 return int() 0911 def __ne__(self, f): 0912 '''bool Akonadi.CollectionDialog.CollectionDialogOptions.__ne__(Akonadi.CollectionDialog.CollectionDialogOptions f)''' 0913 return bool() 0914 def __eq__(self, f): 0915 '''bool Akonadi.CollectionDialog.CollectionDialogOptions.__eq__(Akonadi.CollectionDialog.CollectionDialogOptions f)''' 0916 return bool() 0917 def __invert__(self): 0918 '''Akonadi.CollectionDialog.CollectionDialogOptions Akonadi.CollectionDialog.CollectionDialogOptions.__invert__()''' 0919 return Akonadi.CollectionDialog.CollectionDialogOptions() 0920 def __and__(self, mask): 0921 '''Akonadi.CollectionDialog.CollectionDialogOptions Akonadi.CollectionDialog.CollectionDialogOptions.__and__(int mask)''' 0922 return Akonadi.CollectionDialog.CollectionDialogOptions() 0923 def __xor__(self, f): 0924 '''Akonadi.CollectionDialog.CollectionDialogOptions Akonadi.CollectionDialog.CollectionDialogOptions.__xor__(Akonadi.CollectionDialog.CollectionDialogOptions f)''' 0925 return Akonadi.CollectionDialog.CollectionDialogOptions() 0926 def __xor__(self, f): 0927 '''Akonadi.CollectionDialog.CollectionDialogOptions Akonadi.CollectionDialog.CollectionDialogOptions.__xor__(int f)''' 0928 return Akonadi.CollectionDialog.CollectionDialogOptions() 0929 def __or__(self, f): 0930 '''Akonadi.CollectionDialog.CollectionDialogOptions Akonadi.CollectionDialog.CollectionDialogOptions.__or__(Akonadi.CollectionDialog.CollectionDialogOptions f)''' 0931 return Akonadi.CollectionDialog.CollectionDialogOptions() 0932 def __or__(self, f): 0933 '''Akonadi.CollectionDialog.CollectionDialogOptions Akonadi.CollectionDialog.CollectionDialogOptions.__or__(int f)''' 0934 return Akonadi.CollectionDialog.CollectionDialogOptions() 0935 def __int__(self): 0936 '''int Akonadi.CollectionDialog.CollectionDialogOptions.__int__()''' 0937 return int() 0938 def __ixor__(self, f): 0939 '''Akonadi.CollectionDialog.CollectionDialogOptions Akonadi.CollectionDialog.CollectionDialogOptions.__ixor__(Akonadi.CollectionDialog.CollectionDialogOptions f)''' 0940 return Akonadi.CollectionDialog.CollectionDialogOptions() 0941 def __ior__(self, f): 0942 '''Akonadi.CollectionDialog.CollectionDialogOptions Akonadi.CollectionDialog.CollectionDialogOptions.__ior__(Akonadi.CollectionDialog.CollectionDialogOptions f)''' 0943 return Akonadi.CollectionDialog.CollectionDialogOptions() 0944 def __iand__(self, mask): 0945 '''Akonadi.CollectionDialog.CollectionDialogOptions Akonadi.CollectionDialog.CollectionDialogOptions.__iand__(int mask)''' 0946 return Akonadi.CollectionDialog.CollectionDialogOptions() 0947 class CollectionRequester(KHBox): 0948 """""" 0949 def __init__(self, parent = None): 0950 '''void Akonadi.CollectionRequester.__init__(QWidget parent = None)''' 0951 def __init__(self, collection, parent = None): 0952 '''void Akonadi.CollectionRequester.__init__(Akonadi.Collection collection, QWidget parent = None)''' 0953 def changeCollectionDialogOptions(self, options): 0954 '''void Akonadi.CollectionRequester.changeCollectionDialogOptions(Akonadi.CollectionDialog.CollectionDialogOptions options)''' 0955 collectionChanged = pyqtSignal() # void collectionChanged(const Akonadi::Collectionamp;) - signal 0956 def accessRightsFilter(self): 0957 '''Akonadi.Collection.Rights Akonadi.CollectionRequester.accessRightsFilter()''' 0958 return Akonadi.Collection.Rights() 0959 def setAccessRightsFilter(self, rights): 0960 '''void Akonadi.CollectionRequester.setAccessRightsFilter(Akonadi.Collection.Rights rights)''' 0961 def setCollection(self, collection): 0962 '''void Akonadi.CollectionRequester.setCollection(Akonadi.Collection collection)''' 0963 def mimeTypeFilter(self): 0964 '''QStringList Akonadi.CollectionRequester.mimeTypeFilter()''' 0965 return QStringList() 0966 def setMimeTypeFilter(self, mimeTypes): 0967 '''void Akonadi.CollectionRequester.setMimeTypeFilter(QStringList mimeTypes)''' 0968 def collection(self): 0969 '''Akonadi.Collection Akonadi.CollectionRequester.collection()''' 0970 return Akonadi.Collection() 0971 class AddressAttribute(Akonadi.Attribute): 0972 """""" 0973 def __init__(self, from_ = QString(), to = QStringList(), cc = QStringList(), bcc = QStringList()): 0974 '''void Akonadi.AddressAttribute.__init__(QString from = QString(), QStringList to = QStringList(), QStringList cc = QStringList(), QStringList bcc = QStringList())''' 0975 def __init__(self): 0976 '''Akonadi.AddressAttribute Akonadi.AddressAttribute.__init__()''' 0977 return Akonadi.AddressAttribute() 0978 def setBcc(self, bcc): 0979 '''void Akonadi.AddressAttribute.setBcc(QStringList bcc)''' 0980 def bcc(self): 0981 '''QStringList Akonadi.AddressAttribute.bcc()''' 0982 return QStringList() 0983 def setCc(self, cc): 0984 '''void Akonadi.AddressAttribute.setCc(QStringList cc)''' 0985 def cc(self): 0986 '''QStringList Akonadi.AddressAttribute.cc()''' 0987 return QStringList() 0988 def setTo(self, to): 0989 '''void Akonadi.AddressAttribute.setTo(QStringList to)''' 0990 def to(self): 0991 '''QStringList Akonadi.AddressAttribute.to()''' 0992 return QStringList() 0993 def setFrom(self, from_): 0994 '''void Akonadi.AddressAttribute.setFrom(QString from)''' 0995 def from_(self): 0996 '''QString Akonadi.AddressAttribute.from()''' 0997 return QString() 0998 def deserialize(self, data): 0999 '''void Akonadi.AddressAttribute.deserialize(QByteArray data)''' 1000 def serialized(self): 1001 '''QByteArray Akonadi.AddressAttribute.serialized()''' 1002 return QByteArray() 1003 def type(self): 1004 '''QByteArray Akonadi.AddressAttribute.type()''' 1005 return QByteArray() 1006 def clone(self): 1007 '''Akonadi.AddressAttribute Akonadi.AddressAttribute.clone()''' 1008 return Akonadi.AddressAttribute() 1009 class ItemCopyJob(Akonadi.Job): 1010 """""" 1011 def __init__(self, item, target, parent = None): 1012 '''void Akonadi.ItemCopyJob.__init__(Akonadi.Item item, Akonadi.Collection target, QObject parent = None)''' 1013 def __init__(self, items, target, parent = None): 1014 '''void Akonadi.ItemCopyJob.__init__(list-of-Akonadi.Item items, Akonadi.Collection target, QObject parent = None)''' 1015 def doStart(self): 1016 '''void Akonadi.ItemCopyJob.doStart()''' 1017 class MessageStatus(): 1018 """""" 1019 def __init__(self): 1020 '''void Akonadi.MessageStatus.__init__()''' 1021 def __init__(self): 1022 '''Akonadi.MessageStatus Akonadi.MessageStatus.__init__()''' 1023 return Akonadi.MessageStatus() 1024 def statusHasError(self): 1025 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusHasError()''' 1026 return Akonadi.MessageStatus() 1027 def statusEncrypted(self): 1028 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusEncrypted()''' 1029 return Akonadi.MessageStatus() 1030 def statusSigned(self): 1031 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusSigned()''' 1032 return Akonadi.MessageStatus() 1033 def statusHasInvitation(self): 1034 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusHasInvitation()''' 1035 return Akonadi.MessageStatus() 1036 def statusHasAttachment(self): 1037 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusHasAttachment()''' 1038 return Akonadi.MessageStatus() 1039 def statusHam(self): 1040 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusHam()''' 1041 return Akonadi.MessageStatus() 1042 def statusSpam(self): 1043 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusSpam()''' 1044 return Akonadi.MessageStatus() 1045 def statusToAct(self): 1046 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusToAct()''' 1047 return Akonadi.MessageStatus() 1048 def statusIgnored(self): 1049 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusIgnored()''' 1050 return Akonadi.MessageStatus() 1051 def statusWatched(self): 1052 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusWatched()''' 1053 return Akonadi.MessageStatus() 1054 def statusImportant(self): 1055 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusImportant()''' 1056 return Akonadi.MessageStatus() 1057 def statusSent(self): 1058 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusSent()''' 1059 return Akonadi.MessageStatus() 1060 def statusQueued(self): 1061 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusQueued()''' 1062 return Akonadi.MessageStatus() 1063 def statusForwarded(self): 1064 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusForwarded()''' 1065 return Akonadi.MessageStatus() 1066 def statusReplied(self): 1067 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusReplied()''' 1068 return Akonadi.MessageStatus() 1069 def statusDeleted(self): 1070 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusDeleted()''' 1071 return Akonadi.MessageStatus() 1072 def statusRead(self): 1073 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusRead()''' 1074 return Akonadi.MessageStatus() 1075 def statusUnread(self): 1076 '''static Akonadi.MessageStatus Akonadi.MessageStatus.statusUnread()''' 1077 return Akonadi.MessageStatus() 1078 def setStatusFromFlags(self, flags): 1079 '''void Akonadi.MessageStatus.setStatusFromFlags(list-of-QByteArray flags)''' 1080 def statusFlags(self): 1081 '''list-of-QByteArray Akonadi.MessageStatus.statusFlags()''' 1082 return [QByteArray()] 1083 def setStatusFromStr(self, aStr): 1084 '''void Akonadi.MessageStatus.setStatusFromStr(QString aStr)''' 1085 def statusStr(self): 1086 '''QString Akonadi.MessageStatus.statusStr()''' 1087 return QString() 1088 def fromQInt32(self, status): 1089 '''void Akonadi.MessageStatus.fromQInt32(int status)''' 1090 def toQInt32(self): 1091 '''int Akonadi.MessageStatus.toQInt32()''' 1092 return int() 1093 def setHasError(self, value = True): 1094 '''void Akonadi.MessageStatus.setHasError(bool value = True)''' 1095 def setEncrypted(self, value = True): 1096 '''void Akonadi.MessageStatus.setEncrypted(bool value = True)''' 1097 def setSigned(self, value = True): 1098 '''void Akonadi.MessageStatus.setSigned(bool value = True)''' 1099 def setHasInvitation(self, hasInvitation = True): 1100 '''void Akonadi.MessageStatus.setHasInvitation(bool hasInvitation = True)''' 1101 def setHasAttachment(self, hasAttachment = True): 1102 '''void Akonadi.MessageStatus.setHasAttachment(bool hasAttachment = True)''' 1103 def setHam(self, ham = True): 1104 '''void Akonadi.MessageStatus.setHam(bool ham = True)''' 1105 def setSpam(self, spam = True): 1106 '''void Akonadi.MessageStatus.setSpam(bool spam = True)''' 1107 def setToAct(self, toAct = True): 1108 '''void Akonadi.MessageStatus.setToAct(bool toAct = True)''' 1109 def setIgnored(self, ignored = True): 1110 '''void Akonadi.MessageStatus.setIgnored(bool ignored = True)''' 1111 def setWatched(self, watched = True): 1112 '''void Akonadi.MessageStatus.setWatched(bool watched = True)''' 1113 def setImportant(self, important = True): 1114 '''void Akonadi.MessageStatus.setImportant(bool important = True)''' 1115 def setSent(self, sent = True): 1116 '''void Akonadi.MessageStatus.setSent(bool sent = True)''' 1117 def setQueued(self, queued = True): 1118 '''void Akonadi.MessageStatus.setQueued(bool queued = True)''' 1119 def setForwarded(self, forwarded = True): 1120 '''void Akonadi.MessageStatus.setForwarded(bool forwarded = True)''' 1121 def setReplied(self, replied = True): 1122 '''void Akonadi.MessageStatus.setReplied(bool replied = True)''' 1123 def setDeleted(self, deleted = True): 1124 '''void Akonadi.MessageStatus.setDeleted(bool deleted = True)''' 1125 def setRead(self, read = True): 1126 '''void Akonadi.MessageStatus.setRead(bool read = True)''' 1127 def hasError(self): 1128 '''bool Akonadi.MessageStatus.hasError()''' 1129 return bool() 1130 def isEncrypted(self): 1131 '''bool Akonadi.MessageStatus.isEncrypted()''' 1132 return bool() 1133 def isSigned(self): 1134 '''bool Akonadi.MessageStatus.isSigned()''' 1135 return bool() 1136 def hasInvitation(self): 1137 '''bool Akonadi.MessageStatus.hasInvitation()''' 1138 return bool() 1139 def hasAttachment(self): 1140 '''bool Akonadi.MessageStatus.hasAttachment()''' 1141 return bool() 1142 def isHam(self): 1143 '''bool Akonadi.MessageStatus.isHam()''' 1144 return bool() 1145 def isSpam(self): 1146 '''bool Akonadi.MessageStatus.isSpam()''' 1147 return bool() 1148 def isToAct(self): 1149 '''bool Akonadi.MessageStatus.isToAct()''' 1150 return bool() 1151 def isIgnored(self): 1152 '''bool Akonadi.MessageStatus.isIgnored()''' 1153 return bool() 1154 def isWatched(self): 1155 '''bool Akonadi.MessageStatus.isWatched()''' 1156 return bool() 1157 def isImportant(self): 1158 '''bool Akonadi.MessageStatus.isImportant()''' 1159 return bool() 1160 def isSent(self): 1161 '''bool Akonadi.MessageStatus.isSent()''' 1162 return bool() 1163 def isQueued(self): 1164 '''bool Akonadi.MessageStatus.isQueued()''' 1165 return bool() 1166 def isForwarded(self): 1167 '''bool Akonadi.MessageStatus.isForwarded()''' 1168 return bool() 1169 def isReplied(self): 1170 '''bool Akonadi.MessageStatus.isReplied()''' 1171 return bool() 1172 def isDeleted(self): 1173 '''bool Akonadi.MessageStatus.isDeleted()''' 1174 return bool() 1175 def isRead(self): 1176 '''bool Akonadi.MessageStatus.isRead()''' 1177 return bool() 1178 def isOfUnknownStatus(self): 1179 '''bool Akonadi.MessageStatus.isOfUnknownStatus()''' 1180 return bool() 1181 def toggle(self, other): 1182 '''void Akonadi.MessageStatus.toggle(Akonadi.MessageStatus other)''' 1183 def set(self, other): 1184 '''void Akonadi.MessageStatus.set(Akonadi.MessageStatus other)''' 1185 def clear(self): 1186 '''void Akonadi.MessageStatus.clear()''' 1187 def __and__(self, other): 1188 '''bool Akonadi.MessageStatus.__and__(Akonadi.MessageStatus other)''' 1189 return bool() 1190 def __ne__(self, other): 1191 '''bool Akonadi.MessageStatus.__ne__(Akonadi.MessageStatus other)''' 1192 return bool() 1193 def __eq__(self, other): 1194 '''bool Akonadi.MessageStatus.__eq__(Akonadi.MessageStatus other)''' 1195 return bool() 1196 class AgentTypeModel(QAbstractItemModel): 1197 """""" 1198 # Enum Akonadi.AgentTypeModel.Roles 1199 TypeRole = 0 1200 IdentifierRole = 0 1201 DescriptionRole = 0 1202 MimeTypesRole = 0 1203 CapabilitiesRole = 0 1204 UserRole = 0 1205 1206 def __init__(self, parent = None): 1207 '''void Akonadi.AgentTypeModel.__init__(QObject parent = None)''' 1208 def flags(self, index): 1209 '''Qt.ItemFlags Akonadi.AgentTypeModel.flags(QModelIndex index)''' 1210 return Qt.ItemFlags() 1211 def parent(self, index): 1212 '''QModelIndex Akonadi.AgentTypeModel.parent(QModelIndex index)''' 1213 return QModelIndex() 1214 def index(self, row, column, parent = QModelIndex()): 1215 '''QModelIndex Akonadi.AgentTypeModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 1216 return QModelIndex() 1217 def data(self, index, role = None): 1218 '''QVariant Akonadi.AgentTypeModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 1219 return QVariant() 1220 def rowCount(self, parent = QModelIndex()): 1221 '''int Akonadi.AgentTypeModel.rowCount(QModelIndex parent = QModelIndex())''' 1222 return int() 1223 def columnCount(self, parent = QModelIndex()): 1224 '''int Akonadi.AgentTypeModel.columnCount(QModelIndex parent = QModelIndex())''' 1225 return int() 1226 class ResourceBase(Akonadi.AgentBase): 1227 """""" 1228 # Enum Akonadi.ResourceBase.SchedulePriority 1229 Prepend = 0 1230 AfterChangeReplay = 0 1231 Append = 0 1232 1233 def __init__(self, id): 1234 '''void Akonadi.ResourceBase.__init__(QString id)''' 1235 def dumpSchedulerToString(self): 1236 '''QString Akonadi.ResourceBase.dumpSchedulerToString()''' 1237 return QString() 1238 def dumpNotificationListToString(self): 1239 '''QString Akonadi.ResourceBase.dumpNotificationListToString()''' 1240 return QString() 1241 def invalidateCache(self, collection): 1242 '''void Akonadi.ResourceBase.invalidateCache(Akonadi.Collection collection)''' 1243 collectionTreeSynchronized = pyqtSignal() # void collectionTreeSynchronized() - signal 1244 def setAutomaticProgressReporting(self, enabled): 1245 '''void Akonadi.ResourceBase.setAutomaticProgressReporting(bool enabled)''' 1246 def synchronizeCollectionAttributes(self, id): 1247 '''void Akonadi.ResourceBase.synchronizeCollectionAttributes(int id)''' 1248 def setItemSynchronizationFetchScope(self, fetchScope): 1249 '''void Akonadi.ResourceBase.setItemSynchronizationFetchScope(Akonadi.ItemFetchScope fetchScope)''' 1250 def setItemTransactionMode(self, mode): 1251 '''void Akonadi.ResourceBase.setItemTransactionMode(Akonadi.ItemSync.TransactionMode mode)''' 1252 def collectionAttributesRetrieved(self, collection): 1253 '''void Akonadi.ResourceBase.collectionAttributesRetrieved(Akonadi.Collection collection)''' 1254 def abortActivity(self): 1255 '''void Akonadi.ResourceBase.abortActivity()''' 1256 def retrieveCollectionAttributes(self, collection): 1257 '''void Akonadi.ResourceBase.retrieveCollectionAttributes(Akonadi.Collection collection)''' 1258 attributesSynchronized = pyqtSignal() # void attributesSynchronized(qlonglong) - signal 1259 def taskDone(self): 1260 '''void Akonadi.ResourceBase.taskDone()''' 1261 def scheduleCustomTask(self, receiver, method, argument, priority): 1262 '''void Akonadi.ResourceBase.scheduleCustomTask(QObject receiver, str method, QVariant argument, Akonadi.ResourceBase.SchedulePriority priority)''' 1263 def setHierarchicalRemoteIdentifiersEnabled(self, enable): 1264 '''void Akonadi.ResourceBase.setHierarchicalRemoteIdentifiersEnabled(bool enable)''' 1265 def doSetOnline(self, online): 1266 '''void Akonadi.ResourceBase.doSetOnline(bool online)''' 1267 def deferTask(self): 1268 '''void Akonadi.ResourceBase.deferTask()''' 1269 def cancelTask(self): 1270 '''void Akonadi.ResourceBase.cancelTask()''' 1271 def cancelTask(self, error): 1272 '''void Akonadi.ResourceBase.cancelTask(QString error)''' 1273 def synchronizeCollectionTree(self): 1274 '''void Akonadi.ResourceBase.synchronizeCollectionTree()''' 1275 def synchronizeCollection(self, id): 1276 '''void Akonadi.ResourceBase.synchronizeCollection(int id)''' 1277 def synchronizeCollection(self, id, recursive): 1278 '''void Akonadi.ResourceBase.synchronizeCollection(int id, bool recursive)''' 1279 def synchronize(self): 1280 '''void Akonadi.ResourceBase.synchronize()''' 1281 def currentItem(self): 1282 '''Akonadi.Item Akonadi.ResourceBase.currentItem()''' 1283 return Akonadi.Item() 1284 def currentCollection(self): 1285 '''Akonadi.Collection Akonadi.ResourceBase.currentCollection()''' 1286 return Akonadi.Collection() 1287 def clearCache(self): 1288 '''void Akonadi.ResourceBase.clearCache()''' 1289 def itemsRetrievalDone(self): 1290 '''void Akonadi.ResourceBase.itemsRetrievalDone()''' 1291 def itemsRetrievedIncremental(self, changedItems, removedItems): 1292 '''void Akonadi.ResourceBase.itemsRetrievedIncremental(list-of-Akonadi.Item changedItems, list-of-Akonadi.Item removedItems)''' 1293 def setItemStreamingEnabled(self, enable): 1294 '''void Akonadi.ResourceBase.setItemStreamingEnabled(bool enable)''' 1295 def setTotalItems(self, amount): 1296 '''void Akonadi.ResourceBase.setTotalItems(int amount)''' 1297 def itemsRetrieved(self, items): 1298 '''void Akonadi.ResourceBase.itemsRetrieved(list-of-Akonadi.Item items)''' 1299 def collectionsRetrievalDone(self): 1300 '''void Akonadi.ResourceBase.collectionsRetrievalDone()''' 1301 def setCollectionStreamingEnabled(self, enable): 1302 '''void Akonadi.ResourceBase.setCollectionStreamingEnabled(bool enable)''' 1303 def collectionsRetrievedIncremental(self, changedCollections, removedCollections): 1304 '''void Akonadi.ResourceBase.collectionsRetrievedIncremental(list-of-Akonadi.Collection changedCollections, list-of-Akonadi.Collection removedCollections)''' 1305 def collectionsRetrieved(self, collections): 1306 '''void Akonadi.ResourceBase.collectionsRetrieved(list-of-Akonadi.Collection collections)''' 1307 def changeCommitted(self, item): 1308 '''void Akonadi.ResourceBase.changeCommitted(Akonadi.Item item)''' 1309 def changeCommitted(self, collection): 1310 '''void Akonadi.ResourceBase.changeCommitted(Akonadi.Collection collection)''' 1311 def itemRetrieved(self, item): 1312 '''void Akonadi.ResourceBase.itemRetrieved(Akonadi.Item item)''' 1313 def retrieveItem(self, item, parts): 1314 '''abstract bool Akonadi.ResourceBase.retrieveItem(Akonadi.Item item, list-of-QByteArray parts)''' 1315 return bool() 1316 def retrieveItems(self, collection): 1317 '''abstract void Akonadi.ResourceBase.retrieveItems(Akonadi.Collection collection)''' 1318 def retrieveCollections(self): 1319 '''abstract void Akonadi.ResourceBase.retrieveCollections()''' 1320 synchronized = pyqtSignal() # void synchronized() - signal 1321 nameChanged = pyqtSignal() # void nameChanged(const QStringamp;) - signal 1322 def name(self): 1323 '''QString Akonadi.ResourceBase.name()''' 1324 return QString() 1325 def setName(self, name): 1326 '''void Akonadi.ResourceBase.setName(QString name)''' 1327 class CollectionModifyJob(Akonadi.Job): 1328 """""" 1329 def __init__(self, collection, parent = None): 1330 '''void Akonadi.CollectionModifyJob.__init__(Akonadi.Collection collection, QObject parent = None)''' 1331 def collection(self): 1332 '''Akonadi.Collection Akonadi.CollectionModifyJob.collection()''' 1333 return Akonadi.Collection() 1334 def doStart(self): 1335 '''void Akonadi.CollectionModifyJob.doStart()''' 1336 class AgentType(): 1337 """""" 1338 def __init__(self): 1339 '''void Akonadi.AgentType.__init__()''' 1340 def __init__(self, other): 1341 '''void Akonadi.AgentType.__init__(Akonadi.AgentType other)''' 1342 def __ne__(self, other): 1343 '''bool Akonadi.AgentType.__ne__(Akonadi.AgentType other)''' 1344 return bool() 1345 def __eq__(self, other): 1346 '''bool Akonadi.AgentType.__eq__(Akonadi.AgentType other)''' 1347 return bool() 1348 def capabilities(self): 1349 '''QStringList Akonadi.AgentType.capabilities()''' 1350 return QStringList() 1351 def mimeTypes(self): 1352 '''QStringList Akonadi.AgentType.mimeTypes()''' 1353 return QStringList() 1354 def icon(self): 1355 '''QIcon Akonadi.AgentType.icon()''' 1356 return QIcon() 1357 def iconName(self): 1358 '''QString Akonadi.AgentType.iconName()''' 1359 return QString() 1360 def description(self): 1361 '''QString Akonadi.AgentType.description()''' 1362 return QString() 1363 def name(self): 1364 '''QString Akonadi.AgentType.name()''' 1365 return QString() 1366 def identifier(self): 1367 '''QString Akonadi.AgentType.identifier()''' 1368 return QString() 1369 def isValid(self): 1370 '''bool Akonadi.AgentType.isValid()''' 1371 return bool() 1372 class MessagePart(): 1373 """""" 1374 Body = None # str - member 1375 Envelope = None # str - member 1376 Header = None # str - member 1377 class CollectionModel(QAbstractItemModel): 1378 """""" 1379 # Enum Akonadi.CollectionModel.Roles 1380 OldCollectionIdRole = 0 1381 OldCollectionRole = 0 1382 CollectionIdRole = 0 1383 CollectionRole = 0 1384 UserRole = 0 1385 1386 def __init__(self, parent = None): 1387 '''void Akonadi.CollectionModel.__init__(QObject parent = None)''' 1388 def collectionForId(self, id): 1389 '''Akonadi.Collection Akonadi.CollectionModel.collectionForId(int id)''' 1390 return Akonadi.Collection() 1391 def mimeTypes(self): 1392 '''QStringList Akonadi.CollectionModel.mimeTypes()''' 1393 return QStringList() 1394 def dropMimeData(self, data, action, row, column, parent): 1395 '''bool Akonadi.CollectionModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 1396 return bool() 1397 def mimeData(self, indexes): 1398 '''QMimeData Akonadi.CollectionModel.mimeData(list-of-QModelIndex indexes)''' 1399 return QMimeData() 1400 def supportedDropActions(self): 1401 '''Qt.DropActions Akonadi.CollectionModel.supportedDropActions()''' 1402 return Qt.DropActions() 1403 def flags(self, index): 1404 '''Qt.ItemFlags Akonadi.CollectionModel.flags(QModelIndex index)''' 1405 return Qt.ItemFlags() 1406 def setData(self, index, value, role = None): 1407 '''bool Akonadi.CollectionModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 1408 return bool() 1409 def setHeaderData(self, section, orientation, value, role = None): 1410 '''bool Akonadi.CollectionModel.setHeaderData(int section, Qt.Orientation orientation, QVariant value, int role = Qt.EditRole)''' 1411 return bool() 1412 def headerData(self, section, orientation, role = None): 1413 '''QVariant Akonadi.CollectionModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 1414 return QVariant() 1415 def rowCount(self, parent = QModelIndex()): 1416 '''int Akonadi.CollectionModel.rowCount(QModelIndex parent = QModelIndex())''' 1417 return int() 1418 def parent(self, index): 1419 '''QModelIndex Akonadi.CollectionModel.parent(QModelIndex index)''' 1420 return QModelIndex() 1421 def index(self, row, column, parent = QModelIndex()): 1422 '''QModelIndex Akonadi.CollectionModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 1423 return QModelIndex() 1424 def data(self, index, role = None): 1425 '''QVariant Akonadi.CollectionModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 1426 return QVariant() 1427 def columnCount(self, parent = QModelIndex()): 1428 '''int Akonadi.CollectionModel.columnCount(QModelIndex parent = QModelIndex())''' 1429 return int() 1430 def includeUnsubscribed(self, include = True): 1431 '''void Akonadi.CollectionModel.includeUnsubscribed(bool include = True)''' 1432 def fetchCollectionStatistics(self, enable): 1433 '''void Akonadi.CollectionModel.fetchCollectionStatistics(bool enable)''' 1434 class MessageFolderAttribute(Akonadi.Attribute): 1435 """""" 1436 def __init__(self): 1437 '''void Akonadi.MessageFolderAttribute.__init__()''' 1438 def __init__(self, other): 1439 '''void Akonadi.MessageFolderAttribute.__init__(Akonadi.MessageFolderAttribute other)''' 1440 def deserialize(self, data): 1441 '''void Akonadi.MessageFolderAttribute.deserialize(QByteArray data)''' 1442 def serialized(self): 1443 '''QByteArray Akonadi.MessageFolderAttribute.serialized()''' 1444 return QByteArray() 1445 def clone(self): 1446 '''Akonadi.MessageFolderAttribute Akonadi.MessageFolderAttribute.clone()''' 1447 return Akonadi.MessageFolderAttribute() 1448 def type(self): 1449 '''QByteArray Akonadi.MessageFolderAttribute.type()''' 1450 return QByteArray() 1451 def setOutboundFolder(self, outbound): 1452 '''void Akonadi.MessageFolderAttribute.setOutboundFolder(bool outbound)''' 1453 def isOutboundFolder(self): 1454 '''bool Akonadi.MessageFolderAttribute.isOutboundFolder()''' 1455 return bool() 1456 class ChangeRecorder(Akonadi.Monitor): 1457 """""" 1458 def __init__(self, parent = None): 1459 '''void Akonadi.ChangeRecorder.__init__(QObject parent = None)''' 1460 def dumpNotificationListToString(self): 1461 '''QString Akonadi.ChangeRecorder.dumpNotificationListToString()''' 1462 return QString() 1463 nothingToReplay = pyqtSignal() # void nothingToReplay() - signal 1464 changesAdded = pyqtSignal() # void changesAdded() - signal 1465 def replayNext(self): 1466 '''void Akonadi.ChangeRecorder.replayNext()''' 1467 def setChangeRecordingEnabled(self, enable): 1468 '''void Akonadi.ChangeRecorder.setChangeRecordingEnabled(bool enable)''' 1469 def changeProcessed(self): 1470 '''void Akonadi.ChangeRecorder.changeProcessed()''' 1471 def isEmpty(self): 1472 '''bool Akonadi.ChangeRecorder.isEmpty()''' 1473 return bool() 1474 def setConfig(self, settings): 1475 '''void Akonadi.ChangeRecorder.setConfig(QSettings settings)''' 1476 class CollectionView(QTreeView): 1477 """""" 1478 def __init__(self, parent = None): 1479 '''void Akonadi.CollectionView.__init__(QWidget parent = None)''' 1480 def __init__(self, xmlGuiWindow, parent = None): 1481 '''void Akonadi.CollectionView.__init__(KXmlGuiWindow xmlGuiWindow, QWidget parent = None)''' 1482 def __init__(self, xmlGuiClient, parent = None): 1483 '''void Akonadi.CollectionView.__init__(KXMLGUIClient xmlGuiClient, QWidget parent = None)''' 1484 def contextMenuEvent(self, event): 1485 '''void Akonadi.CollectionView.contextMenuEvent(QContextMenuEvent event)''' 1486 def dropEvent(self, event): 1487 '''void Akonadi.CollectionView.dropEvent(QDropEvent event)''' 1488 def dragLeaveEvent(self, event): 1489 '''void Akonadi.CollectionView.dragLeaveEvent(QDragLeaveEvent event)''' 1490 def dragMoveEvent(self, event): 1491 '''void Akonadi.CollectionView.dragMoveEvent(QDragMoveEvent event)''' 1492 currentChanged = pyqtSignal() # void currentChanged(const Akonadi::Collectionamp;) - signal 1493 clicked = pyqtSignal() # void clicked(const Akonadi::Collectionamp;) - signal 1494 def setModel(self, model): 1495 '''void Akonadi.CollectionView.setModel(QAbstractItemModel model)''' 1496 def setXmlGuiClient(self, xmlGuiClient): 1497 '''void Akonadi.CollectionView.setXmlGuiClient(KXMLGUIClient xmlGuiClient)''' 1498 def setXmlGuiWindow(self, xmlGuiWindow): 1499 '''void Akonadi.CollectionView.setXmlGuiWindow(KXmlGuiWindow xmlGuiWindow)''' 1500 class SpecialMailCollections(Akonadi.SpecialCollections): 1501 """""" 1502 # Enum Akonadi.SpecialMailCollections.Type 1503 Invalid = 0 1504 Root = 0 1505 Inbox = 0 1506 Outbox = 0 1507 SentMail = 0 1508 Trash = 0 1509 Drafts = 0 1510 Templates = 0 1511 LastType = 0 1512 1513 def __init__(self): 1514 '''void Akonadi.SpecialMailCollections.__init__()''' 1515 def defaultCollection(self, type): 1516 '''Akonadi.Collection Akonadi.SpecialMailCollections.defaultCollection(Akonadi.SpecialMailCollections.Type type)''' 1517 return Akonadi.Collection() 1518 def hasDefaultCollection(self, type): 1519 '''bool Akonadi.SpecialMailCollections.hasDefaultCollection(Akonadi.SpecialMailCollections.Type type)''' 1520 return bool() 1521 def registerCollection(self, type, collection): 1522 '''bool Akonadi.SpecialMailCollections.registerCollection(Akonadi.SpecialMailCollections.Type type, Akonadi.Collection collection)''' 1523 return bool() 1524 def collection(self, type, instance): 1525 '''Akonadi.Collection Akonadi.SpecialMailCollections.collection(Akonadi.SpecialMailCollections.Type type, Akonadi.AgentInstance instance)''' 1526 return Akonadi.Collection() 1527 def hasCollection(self, type, instance): 1528 '''bool Akonadi.SpecialMailCollections.hasCollection(Akonadi.SpecialMailCollections.Type type, Akonadi.AgentInstance instance)''' 1529 return bool() 1530 def self(self): 1531 '''static Akonadi.SpecialMailCollections Akonadi.SpecialMailCollections.self()''' 1532 return Akonadi.SpecialMailCollections() 1533 class AgentBase(): 1534 """""" 1535 class ObserverV2(Akonadi.AgentBase.Observer): 1536 """""" 1537 def __init__(self): 1538 '''void Akonadi.AgentBase.ObserverV2.__init__()''' 1539 def __init__(self): 1540 '''Akonadi.AgentBase.ObserverV2 Akonadi.AgentBase.ObserverV2.__init__()''' 1541 return Akonadi.AgentBase.ObserverV2() 1542 def collectionChanged(self, collection, changedAttributes): 1543 '''void Akonadi.AgentBase.ObserverV2.collectionChanged(Akonadi.Collection collection, list-of-QByteArray changedAttributes)''' 1544 def collectionMoved(self, collection, collectionSource, collectionDestination): 1545 '''void Akonadi.AgentBase.ObserverV2.collectionMoved(Akonadi.Collection collection, Akonadi.Collection collectionSource, Akonadi.Collection collectionDestination)''' 1546 def itemUnlinked(self, item, collection): 1547 '''void Akonadi.AgentBase.ObserverV2.itemUnlinked(Akonadi.Item item, Akonadi.Collection collection)''' 1548 def itemLinked(self, item, collection): 1549 '''void Akonadi.AgentBase.ObserverV2.itemLinked(Akonadi.Item item, Akonadi.Collection collection)''' 1550 def itemMoved(self, item, collectionSource, collectionDestination): 1551 '''void Akonadi.AgentBase.ObserverV2.itemMoved(Akonadi.Item item, Akonadi.Collection collectionSource, Akonadi.Collection collectionDestination)''' 1552 class ItemSync(Akonadi.Job): 1553 """""" 1554 # Enum Akonadi.ItemSync.TransactionMode 1555 SingleTransaction = 0 1556 MultipleTransactions = 0 1557 NoTransaction = 0 1558 1559 def __init__(self, collection, parent = None): 1560 '''void Akonadi.ItemSync.__init__(Akonadi.Collection collection, QObject parent = None)''' 1561 def setTransactionMode(self, mode): 1562 '''void Akonadi.ItemSync.setTransactionMode(Akonadi.ItemSync.TransactionMode mode)''' 1563 def rollback(self): 1564 '''void Akonadi.ItemSync.rollback()''' 1565 def slotResult(self, job): 1566 '''void Akonadi.ItemSync.slotResult(KJob job)''' 1567 def updateItem(self, storedItem, newItem): 1568 '''bool Akonadi.ItemSync.updateItem(Akonadi.Item storedItem, Akonadi.Item newItem)''' 1569 return bool() 1570 def doStart(self): 1571 '''void Akonadi.ItemSync.doStart()''' 1572 def fetchScope(self): 1573 '''Akonadi.ItemFetchScope Akonadi.ItemSync.fetchScope()''' 1574 return Akonadi.ItemFetchScope() 1575 def setFetchScope(self, fetchScope): 1576 '''void Akonadi.ItemSync.setFetchScope(Akonadi.ItemFetchScope fetchScope)''' 1577 def setIncrementalSyncItems(self, changedItems, removedItems): 1578 '''void Akonadi.ItemSync.setIncrementalSyncItems(list-of-Akonadi.Item changedItems, list-of-Akonadi.Item removedItems)''' 1579 def deliveryDone(self): 1580 '''void Akonadi.ItemSync.deliveryDone()''' 1581 def setStreamingEnabled(self, enable): 1582 '''void Akonadi.ItemSync.setStreamingEnabled(bool enable)''' 1583 def setTotalItems(self, amount): 1584 '''void Akonadi.ItemSync.setTotalItems(int amount)''' 1585 def setFullSyncItems(self, items): 1586 '''void Akonadi.ItemSync.setFullSyncItems(list-of-Akonadi.Item items)''' 1587 class SpecialCollections(QObject): 1588 """""" 1589 def __init__(self, config, parent = None): 1590 '''void Akonadi.SpecialCollections.__init__(KCoreConfigSkeleton config, QObject parent = None)''' 1591 defaultCollectionsChanged = pyqtSignal() # void defaultCollectionsChanged() - signal 1592 collectionsChanged = pyqtSignal() # void collectionsChanged(const Akonadi::AgentInstanceamp;) - signal 1593 def defaultCollection(self, type): 1594 '''Akonadi.Collection Akonadi.SpecialCollections.defaultCollection(QByteArray type)''' 1595 return Akonadi.Collection() 1596 def hasDefaultCollection(self, type): 1597 '''bool Akonadi.SpecialCollections.hasDefaultCollection(QByteArray type)''' 1598 return bool() 1599 def registerCollection(self, type, collection): 1600 '''bool Akonadi.SpecialCollections.registerCollection(QByteArray type, Akonadi.Collection collection)''' 1601 return bool() 1602 def collection(self, type, instance): 1603 '''Akonadi.Collection Akonadi.SpecialCollections.collection(QByteArray type, Akonadi.AgentInstance instance)''' 1604 return Akonadi.Collection() 1605 def hasCollection(self, type, instance): 1606 '''bool Akonadi.SpecialCollections.hasCollection(QByteArray type, Akonadi.AgentInstance instance)''' 1607 return bool() 1608 class AgentFilterProxyModel(QSortFilterProxyModel): 1609 """""" 1610 def __init__(self, parent = None): 1611 '''void Akonadi.AgentFilterProxyModel.__init__(QObject parent = None)''' 1612 def excludeCapabilities(self, capability): 1613 '''void Akonadi.AgentFilterProxyModel.excludeCapabilities(QString capability)''' 1614 def filterAcceptsRow(self, row, parent): 1615 '''bool Akonadi.AgentFilterProxyModel.filterAcceptsRow(int row, QModelIndex parent)''' 1616 return bool() 1617 def clearFilters(self): 1618 '''void Akonadi.AgentFilterProxyModel.clearFilters()''' 1619 def addCapabilityFilter(self, capability): 1620 '''void Akonadi.AgentFilterProxyModel.addCapabilityFilter(QString capability)''' 1621 def addMimeTypeFilter(self, mimeType): 1622 '''void Akonadi.AgentFilterProxyModel.addMimeTypeFilter(QString mimeType)''' 1623 class EntityListView(QListView): 1624 """""" 1625 def __init__(self, parent = None): 1626 '''void Akonadi.EntityListView.__init__(QWidget parent = None)''' 1627 def __init__(self, xmlGuiClient, parent = None): 1628 '''void Akonadi.EntityListView.__init__(KXMLGUIClient xmlGuiClient, QWidget parent = None)''' 1629 def isDropActionMenuEnabled(self): 1630 '''bool Akonadi.EntityListView.isDropActionMenuEnabled()''' 1631 return bool() 1632 def setDropActionMenuEnabled(self, enabled): 1633 '''void Akonadi.EntityListView.setDropActionMenuEnabled(bool enabled)''' 1634 def startDrag(self, supportedActions): 1635 '''void Akonadi.EntityListView.startDrag(Qt.DropActions supportedActions)''' 1636 def contextMenuEvent(self, event): 1637 '''void Akonadi.EntityListView.contextMenuEvent(QContextMenuEvent event)''' 1638 def dropEvent(self, event): 1639 '''void Akonadi.EntityListView.dropEvent(QDropEvent event)''' 1640 def dragMoveEvent(self, event): 1641 '''void Akonadi.EntityListView.dragMoveEvent(QDragMoveEvent event)''' 1642 currentChanged = pyqtSignal() # void currentChanged(const Akonadi::Collectionamp;) - signal 1643 currentChanged = pyqtSignal() # void currentChanged(const Akonadi::Itemamp;) - signal 1644 doubleClicked = pyqtSignal() # void doubleClicked(const Akonadi::Collectionamp;) - signal 1645 doubleClicked = pyqtSignal() # void doubleClicked(const Akonadi::Itemamp;) - signal 1646 clicked = pyqtSignal() # void clicked(const Akonadi::Collectionamp;) - signal 1647 clicked = pyqtSignal() # void clicked(const Akonadi::Itemamp;) - signal 1648 def setModel(self, model): 1649 '''void Akonadi.EntityListView.setModel(QAbstractItemModel model)''' 1650 def setXmlGuiClient(self, xmlGuiClient): 1651 '''void Akonadi.EntityListView.setXmlGuiClient(KXMLGUIClient xmlGuiClient)''' 1652 class MessageThreadingAttribute(Akonadi.Attribute): 1653 """""" 1654 def __init__(self): 1655 '''void Akonadi.MessageThreadingAttribute.__init__()''' 1656 def setSubjectParents(self, parents): 1657 '''void Akonadi.MessageThreadingAttribute.setSubjectParents(unknown-type parents)''' 1658 def setUnperfectParents(self, parents): 1659 '''void Akonadi.MessageThreadingAttribute.setUnperfectParents(unknown-type parents)''' 1660 def setPerfectParents(self, parents): 1661 '''void Akonadi.MessageThreadingAttribute.setPerfectParents(unknown-type parents)''' 1662 def subjectParents(self): 1663 '''unknown-type Akonadi.MessageThreadingAttribute.subjectParents()''' 1664 return unknown-type() 1665 def unperfectParents(self): 1666 '''unknown-type Akonadi.MessageThreadingAttribute.unperfectParents()''' 1667 return unknown-type() 1668 def perfectParents(self): 1669 '''unknown-type Akonadi.MessageThreadingAttribute.perfectParents()''' 1670 return unknown-type() 1671 def deserialize(self, data): 1672 '''void Akonadi.MessageThreadingAttribute.deserialize(QByteArray data)''' 1673 def serialized(self): 1674 '''QByteArray Akonadi.MessageThreadingAttribute.serialized()''' 1675 return QByteArray() 1676 def clone(self): 1677 '''Akonadi.MessageThreadingAttribute Akonadi.MessageThreadingAttribute.clone()''' 1678 return Akonadi.MessageThreadingAttribute() 1679 def type(self): 1680 '''QByteArray Akonadi.MessageThreadingAttribute.type()''' 1681 return QByteArray() 1682 class ItemSearchJob(Akonadi.Job): 1683 """""" 1684 def __init__(self, query, parent = None): 1685 '''void Akonadi.ItemSearchJob.__init__(QString query, QObject parent = None)''' 1686 def akonadiItemIdUri(self): 1687 '''static QUrl Akonadi.ItemSearchJob.akonadiItemIdUri()''' 1688 return QUrl() 1689 def doHandleResponse(self, tag, data): 1690 '''void Akonadi.ItemSearchJob.doHandleResponse(QByteArray tag, QByteArray data)''' 1691 def doStart(self): 1692 '''void Akonadi.ItemSearchJob.doStart()''' 1693 itemsReceived = pyqtSignal() # void itemsReceived(const Akonadi::Item::Listamp;) - signal 1694 def items(self): 1695 '''list-of-Akonadi.Item Akonadi.ItemSearchJob.items()''' 1696 return [Akonadi.Item()] 1697 def fetchScope(self): 1698 '''Akonadi.ItemFetchScope Akonadi.ItemSearchJob.fetchScope()''' 1699 return Akonadi.ItemFetchScope() 1700 def setFetchScope(self, fetchScope): 1701 '''void Akonadi.ItemSearchJob.setFetchScope(Akonadi.ItemFetchScope fetchScope)''' 1702 def setQuery(self, query): 1703 '''void Akonadi.ItemSearchJob.setQuery(QString query)''' 1704 class ItemView(QTreeView): 1705 """""" 1706 def __init__(self, parent = None): 1707 '''void Akonadi.ItemView.__init__(QWidget parent = None)''' 1708 def __init__(self, xmlGuiWindow, parent = None): 1709 '''void Akonadi.ItemView.__init__(KXmlGuiWindow xmlGuiWindow, QWidget parent = None)''' 1710 def __init__(self, xmlGuiClient, parent = None): 1711 '''void Akonadi.ItemView.__init__(KXMLGUIClient xmlGuiClient, QWidget parent = None)''' 1712 def contextMenuEvent(self, event): 1713 '''void Akonadi.ItemView.contextMenuEvent(QContextMenuEvent event)''' 1714 doubleClicked = pyqtSignal() # void doubleClicked(const Akonadi::Itemamp;) - signal 1715 clicked = pyqtSignal() # void clicked(const Akonadi::Itemamp;) - signal 1716 currentChanged = pyqtSignal() # void currentChanged(const Akonadi::Itemamp;) - signal 1717 activated = pyqtSignal() # void activated(const Akonadi::Itemamp;) - signal 1718 def setModel(self, model): 1719 '''void Akonadi.ItemView.setModel(QAbstractItemModel model)''' 1720 def setXmlGuiClient(self, xmlGuiClient): 1721 '''void Akonadi.ItemView.setXmlGuiClient(KXMLGUIClient xmlGuiClient)''' 1722 def setXmlGuiWindow(self, xmlGuiWindow): 1723 '''void Akonadi.ItemView.setXmlGuiWindow(KXmlGuiWindow xmlGuiWindow)''' 1724 class SelectionProxyModel(KSelectionProxyModel): 1725 """""" 1726 def __init__(self, selectionModel, parent = None): 1727 '''void Akonadi.SelectionProxyModel.__init__(QItemSelectionModel selectionModel, QObject parent = None)''' 1728 class CollectionCreateJob(Akonadi.Job): 1729 """""" 1730 def __init__(self, collection, parent = None): 1731 '''void Akonadi.CollectionCreateJob.__init__(Akonadi.Collection collection, QObject parent = None)''' 1732 def doHandleResponse(self, tag, data): 1733 '''void Akonadi.CollectionCreateJob.doHandleResponse(QByteArray tag, QByteArray data)''' 1734 def doStart(self): 1735 '''void Akonadi.CollectionCreateJob.doStart()''' 1736 def collection(self): 1737 '''Akonadi.Collection Akonadi.CollectionCreateJob.collection()''' 1738 return Akonadi.Collection() 1739 class Monitor(QObject): 1740 """""" 1741 def __init__(self, parent = None): 1742 '''void Akonadi.Monitor.__init__(QObject parent = None)''' 1743 def fetchChangedOnly(self, enable): 1744 '''void Akonadi.Monitor.fetchChangedOnly(bool enable)''' 1745 collectionUnsubscribed = pyqtSignal() # void collectionUnsubscribed(const Akonadi::Collectionamp;) - signal 1746 collectionSubscribed = pyqtSignal() # void collectionSubscribed(const Akonadi::Collectionamp;,const Akonadi::Collectionamp;) - signal 1747 def itemsMonitoredEx(self): 1748 '''unknown-type Akonadi.Monitor.itemsMonitoredEx()''' 1749 return unknown-type() 1750 def session(self): 1751 '''Akonadi.Session Akonadi.Monitor.session()''' 1752 return Akonadi.Session() 1753 def setSession(self, session): 1754 '''void Akonadi.Monitor.setSession(Akonadi.Session session)''' 1755 collectionStatisticsChanged = pyqtSignal() # void collectionStatisticsChanged(Akonadi::Entity::Id,const Akonadi::CollectionStatisticsamp;) - signal 1756 collectionMoved = pyqtSignal() # void collectionMoved(const Akonadi::Collectionamp;,const Akonadi::Collectionamp;,const Akonadi::Collectionamp;) - signal 1757 def collectionFetchScope(self): 1758 '''Akonadi.CollectionFetchScope Akonadi.Monitor.collectionFetchScope()''' 1759 return Akonadi.CollectionFetchScope() 1760 def setCollectionFetchScope(self, fetchScope): 1761 '''void Akonadi.Monitor.setCollectionFetchScope(Akonadi.CollectionFetchScope fetchScope)''' 1762 allMonitored = pyqtSignal() # void allMonitored(bool) - signal 1763 mimeTypeMonitored = pyqtSignal() # void mimeTypeMonitored(const QStringamp;,bool) - signal 1764 resourceMonitored = pyqtSignal() # void resourceMonitored(const QByteArrayamp;,bool) - signal 1765 itemMonitored = pyqtSignal() # void itemMonitored(const Akonadi::Itemamp;,bool) - signal 1766 collectionMonitored = pyqtSignal() # void collectionMonitored(const Akonadi::Collectionamp;,bool) - signal 1767 collectionRemoved = pyqtSignal() # void collectionRemoved(const Akonadi::Collectionamp;) - signal 1768 collectionChanged = pyqtSignal() # void collectionChanged(const Akonadi::Collectionamp;) - signal 1769 collectionChanged = pyqtSignal() # void collectionChanged(const Akonadi::Collectionamp;,const QSetlt;QByteArraygt;amp;) - signal 1770 collectionAdded = pyqtSignal() # void collectionAdded(const Akonadi::Collectionamp;,const Akonadi::Collectionamp;) - signal 1771 itemUnlinked = pyqtSignal() # void itemUnlinked(const Akonadi::Itemamp;,const Akonadi::Collectionamp;) - signal 1772 itemLinked = pyqtSignal() # void itemLinked(const Akonadi::Itemamp;,const Akonadi::Collectionamp;) - signal 1773 itemRemoved = pyqtSignal() # void itemRemoved(const Akonadi::Itemamp;) - signal 1774 itemAdded = pyqtSignal() # void itemAdded(const Akonadi::Itemamp;,const Akonadi::Collectionamp;) - signal 1775 itemMoved = pyqtSignal() # void itemMoved(const Akonadi::Itemamp;,const Akonadi::Collectionamp;,const Akonadi::Collectionamp;) - signal 1776 itemChanged = pyqtSignal() # void itemChanged(const Akonadi::Itemamp;,const QSetlt;QByteArraygt;amp;) - signal 1777 def isAllMonitored(self): 1778 '''bool Akonadi.Monitor.isAllMonitored()''' 1779 return bool() 1780 def resourcesMonitored(self): 1781 '''list-of-QByteArray Akonadi.Monitor.resourcesMonitored()''' 1782 return [QByteArray()] 1783 def mimeTypesMonitored(self): 1784 '''QStringList Akonadi.Monitor.mimeTypesMonitored()''' 1785 return QStringList() 1786 def itemsMonitored(self): 1787 '''unknown-type Akonadi.Monitor.itemsMonitored()''' 1788 return unknown-type() 1789 def collectionsMonitored(self): 1790 '''list-of-Akonadi.Collection Akonadi.Monitor.collectionsMonitored()''' 1791 return [Akonadi.Collection()] 1792 def itemFetchScope(self): 1793 '''Akonadi.ItemFetchScope Akonadi.Monitor.itemFetchScope()''' 1794 return Akonadi.ItemFetchScope() 1795 def setItemFetchScope(self, fetchScope): 1796 '''void Akonadi.Monitor.setItemFetchScope(Akonadi.ItemFetchScope fetchScope)''' 1797 def fetchCollectionStatistics(self, enable): 1798 '''void Akonadi.Monitor.fetchCollectionStatistics(bool enable)''' 1799 def fetchCollection(self, enable): 1800 '''void Akonadi.Monitor.fetchCollection(bool enable)''' 1801 def ignoreSession(self, session): 1802 '''void Akonadi.Monitor.ignoreSession(Akonadi.Session session)''' 1803 def setAllMonitored(self, monitored = True): 1804 '''void Akonadi.Monitor.setAllMonitored(bool monitored = True)''' 1805 def setMimeTypeMonitored(self, mimetype, monitored = True): 1806 '''void Akonadi.Monitor.setMimeTypeMonitored(QString mimetype, bool monitored = True)''' 1807 def setResourceMonitored(self, resource, monitored = True): 1808 '''void Akonadi.Monitor.setResourceMonitored(QByteArray resource, bool monitored = True)''' 1809 def setItemMonitored(self, item, monitored = True): 1810 '''void Akonadi.Monitor.setItemMonitored(Akonadi.Item item, bool monitored = True)''' 1811 def setCollectionMonitored(self, collection, monitored = True): 1812 '''void Akonadi.Monitor.setCollectionMonitored(Akonadi.Collection collection, bool monitored = True)''' 1813 class ResourceBaseSettings(KConfigSkeleton): 1814 """""" 1815 def __init__(self): 1816 '''void Akonadi.ResourceBaseSettings.__init__()''' 1817 def minimumCheckIntervalItem(self): 1818 '''KCoreConfigSkeleton.ItemInt Akonadi.ResourceBaseSettings.minimumCheckIntervalItem()''' 1819 return KCoreConfigSkeleton.ItemInt() 1820 def minimumCheckInterval(self): 1821 '''static int Akonadi.ResourceBaseSettings.minimumCheckInterval()''' 1822 return int() 1823 def setMinimumCheckInterval(self, v): 1824 '''static void Akonadi.ResourceBaseSettings.setMinimumCheckInterval(int v)''' 1825 def self(self): 1826 '''static Akonadi.ResourceBaseSettings Akonadi.ResourceBaseSettings.self()''' 1827 return Akonadi.ResourceBaseSettings() 1828 class AgentInstanceWidget(QWidget): 1829 """""" 1830 def __init__(self, parent = None): 1831 '''void Akonadi.AgentInstanceWidget.__init__(QWidget parent = None)''' 1832 def view(self): 1833 '''QAbstractItemView Akonadi.AgentInstanceWidget.view()''' 1834 return QAbstractItemView() 1835 def selectedAgentInstances(self): 1836 '''list-of-Akonadi.AgentInstance Akonadi.AgentInstanceWidget.selectedAgentInstances()''' 1837 return [Akonadi.AgentInstance()] 1838 doubleClicked = pyqtSignal() # void doubleClicked(const Akonadi::AgentInstanceamp;) - signal 1839 currentChanged = pyqtSignal() # void currentChanged(const Akonadi::AgentInstanceamp;,const Akonadi::AgentInstanceamp;) - signal 1840 def agentFilterProxyModel(self): 1841 '''Akonadi.AgentFilterProxyModel Akonadi.AgentInstanceWidget.agentFilterProxyModel()''' 1842 return Akonadi.AgentFilterProxyModel() 1843 def currentAgentInstance(self): 1844 '''Akonadi.AgentInstance Akonadi.AgentInstanceWidget.currentAgentInstance()''' 1845 return Akonadi.AgentInstance() 1846 class PartFetcher(KJob): 1847 """""" 1848 def __init__(self, index, partName, parent = None): 1849 '''void Akonadi.PartFetcher.__init__(QModelIndex index, QByteArray partName, QObject parent = None)''' 1850 def item(self): 1851 '''Akonadi.Item Akonadi.PartFetcher.item()''' 1852 return Akonadi.Item() 1853 def partName(self): 1854 '''QByteArray Akonadi.PartFetcher.partName()''' 1855 return QByteArray() 1856 def index(self): 1857 '''QModelIndex Akonadi.PartFetcher.index()''' 1858 return QModelIndex() 1859 def start(self): 1860 '''void Akonadi.PartFetcher.start()''' 1861 class CollectionDialog(KDialog): 1862 """""" 1863 # Enum Akonadi.CollectionDialog.CollectionDialogOption 1864 __kdevpythondocumentation_builtin_None = 0 1865 AllowToCreateNewChildCollection = 0 1866 1867 def __init__(self, parent = None): 1868 '''void Akonadi.CollectionDialog.__init__(QWidget parent = None)''' 1869 def __init__(self, model, parent = None): 1870 '''void Akonadi.CollectionDialog.__init__(QAbstractItemModel model, QWidget parent = None)''' 1871 def __init__(self, options, model = None, parent = None): 1872 '''void Akonadi.CollectionDialog.__init__(Akonadi.CollectionDialog.CollectionDialogOptions options, QAbstractItemModel model = None, QWidget parent = None)''' 1873 def changeCollectionDialogOptions(self, options): 1874 '''void Akonadi.CollectionDialog.changeCollectionDialogOptions(Akonadi.CollectionDialog.CollectionDialogOptions options)''' 1875 def setDefaultCollection(self, collection): 1876 '''void Akonadi.CollectionDialog.setDefaultCollection(Akonadi.Collection collection)''' 1877 def setDescription(self, text): 1878 '''void Akonadi.CollectionDialog.setDescription(QString text)''' 1879 def accessRightsFilter(self): 1880 '''Akonadi.Collection.Rights Akonadi.CollectionDialog.accessRightsFilter()''' 1881 return Akonadi.Collection.Rights() 1882 def setAccessRightsFilter(self, rights): 1883 '''void Akonadi.CollectionDialog.setAccessRightsFilter(Akonadi.Collection.Rights rights)''' 1884 def selectionMode(self): 1885 '''QAbstractItemView.SelectionMode Akonadi.CollectionDialog.selectionMode()''' 1886 return QAbstractItemView.SelectionMode() 1887 def setSelectionMode(self, mode): 1888 '''void Akonadi.CollectionDialog.setSelectionMode(QAbstractItemView.SelectionMode mode)''' 1889 def mimeTypeFilter(self): 1890 '''QStringList Akonadi.CollectionDialog.mimeTypeFilter()''' 1891 return QStringList() 1892 def setMimeTypeFilter(self, mimeTypes): 1893 '''void Akonadi.CollectionDialog.setMimeTypeFilter(QStringList mimeTypes)''' 1894 def selectedCollections(self): 1895 '''list-of-Akonadi.Collection Akonadi.CollectionDialog.selectedCollections()''' 1896 return [Akonadi.Collection()] 1897 def selectedCollection(self): 1898 '''Akonadi.Collection Akonadi.CollectionDialog.selectedCollection()''' 1899 return Akonadi.Collection() 1900 class EntityHiddenAttribute(Akonadi.Attribute): 1901 """""" 1902 def __init__(self): 1903 '''void Akonadi.EntityHiddenAttribute.__init__()''' 1904 def deserialize(self, data): 1905 '''void Akonadi.EntityHiddenAttribute.deserialize(QByteArray data)''' 1906 def serialized(self): 1907 '''QByteArray Akonadi.EntityHiddenAttribute.serialized()''' 1908 return QByteArray() 1909 def clone(self): 1910 '''Akonadi.EntityHiddenAttribute Akonadi.EntityHiddenAttribute.clone()''' 1911 return Akonadi.EntityHiddenAttribute() 1912 def type(self): 1913 '''QByteArray Akonadi.EntityHiddenAttribute.type()''' 1914 return QByteArray() 1915 class FavoriteCollectionsModel(Akonadi.SelectionProxyModel): 1916 """""" 1917 def __init__(self, model, group, parent = None): 1918 '''void Akonadi.FavoriteCollectionsModel.__init__(QAbstractItemModel model, KConfigGroup group, QObject parent = None)''' 1919 def flags(self, index): 1920 '''Qt.ItemFlags Akonadi.FavoriteCollectionsModel.flags(QModelIndex index)''' 1921 return Qt.ItemFlags() 1922 def mimeTypes(self): 1923 '''QStringList Akonadi.FavoriteCollectionsModel.mimeTypes()''' 1924 return QStringList() 1925 def dropMimeData(self, data, action, row, column, parent): 1926 '''bool Akonadi.FavoriteCollectionsModel.dropMimeData(QMimeData data, Qt.DropAction action, int row, int column, QModelIndex parent)''' 1927 return bool() 1928 def setData(self, index, value, role = None): 1929 '''bool Akonadi.FavoriteCollectionsModel.setData(QModelIndex index, QVariant value, int role = Qt.EditRole)''' 1930 return bool() 1931 def collectionIds(self): 1932 '''unknown-type Akonadi.FavoriteCollectionsModel.collectionIds()''' 1933 return unknown-type() 1934 def favoriteLabel(self, col): 1935 '''QString Akonadi.FavoriteCollectionsModel.favoriteLabel(Akonadi.Collection col)''' 1936 return QString() 1937 def setFavoriteLabel(self, collection, label): 1938 '''void Akonadi.FavoriteCollectionsModel.setFavoriteLabel(Akonadi.Collection collection, QString label)''' 1939 def removeCollection(self, collection): 1940 '''void Akonadi.FavoriteCollectionsModel.removeCollection(Akonadi.Collection collection)''' 1941 def addCollection(self, collection): 1942 '''void Akonadi.FavoriteCollectionsModel.addCollection(Akonadi.Collection collection)''' 1943 def setCollections(self, collections): 1944 '''void Akonadi.FavoriteCollectionsModel.setCollections(list-of-Akonadi.Collection collections)''' 1945 def headerData(self, section, orientation, role = None): 1946 '''QVariant Akonadi.FavoriteCollectionsModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 1947 return QVariant() 1948 def data(self, index, role = None): 1949 '''QVariant Akonadi.FavoriteCollectionsModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 1950 return QVariant() 1951 def collections(self): 1952 '''list-of-Akonadi.Collection Akonadi.FavoriteCollectionsModel.collections()''' 1953 return [Akonadi.Collection()] 1954 class CachePolicy(): 1955 """""" 1956 def __init__(self): 1957 '''void Akonadi.CachePolicy.__init__()''' 1958 def __init__(self, other): 1959 '''void Akonadi.CachePolicy.__init__(Akonadi.CachePolicy other)''' 1960 def __ne__(self, other): 1961 '''bool Akonadi.CachePolicy.__ne__(Akonadi.CachePolicy other)''' 1962 return bool() 1963 def __eq__(self, other): 1964 '''bool Akonadi.CachePolicy.__eq__(Akonadi.CachePolicy other)''' 1965 return bool() 1966 def setSyncOnDemand(self, enable): 1967 '''void Akonadi.CachePolicy.setSyncOnDemand(bool enable)''' 1968 def syncOnDemand(self): 1969 '''bool Akonadi.CachePolicy.syncOnDemand()''' 1970 return bool() 1971 def setIntervalCheckTime(self, time): 1972 '''void Akonadi.CachePolicy.setIntervalCheckTime(int time)''' 1973 def intervalCheckTime(self): 1974 '''int Akonadi.CachePolicy.intervalCheckTime()''' 1975 return int() 1976 def setCacheTimeout(self, timeout): 1977 '''void Akonadi.CachePolicy.setCacheTimeout(int timeout)''' 1978 def cacheTimeout(self): 1979 '''int Akonadi.CachePolicy.cacheTimeout()''' 1980 return int() 1981 def setLocalParts(self, parts): 1982 '''void Akonadi.CachePolicy.setLocalParts(QStringList parts)''' 1983 def localParts(self): 1984 '''QStringList Akonadi.CachePolicy.localParts()''' 1985 return QStringList() 1986 def setInheritFromParent(self, inherit): 1987 '''void Akonadi.CachePolicy.setInheritFromParent(bool inherit)''' 1988 def inheritFromParent(self): 1989 '''bool Akonadi.CachePolicy.inheritFromParent()''' 1990 return bool() 1991 class TrashJob(Akonadi.Job): 1992 """""" 1993 def __init__(self, item, parent = None): 1994 '''void Akonadi.TrashJob.__init__(Akonadi.Item item, QObject parent = None)''' 1995 def __init__(self, items, parent = None): 1996 '''void Akonadi.TrashJob.__init__(list-of-Akonadi.Item items, QObject parent = None)''' 1997 def __init__(self, collection, parent = None): 1998 '''void Akonadi.TrashJob.__init__(Akonadi.Collection collection, QObject parent = None)''' 1999 def doStart(self): 2000 '''void Akonadi.TrashJob.doStart()''' 2001 def items(self): 2002 '''list-of-Akonadi.Item Akonadi.TrashJob.items()''' 2003 return [Akonadi.Item()] 2004 def deleteIfInTrash(self, enable): 2005 '''void Akonadi.TrashJob.deleteIfInTrash(bool enable)''' 2006 def setTrashCollection(self, trashcollection): 2007 '''void Akonadi.TrashJob.setTrashCollection(Akonadi.Collection trashcollection)''' 2008 def keepTrashInCollection(self, enable): 2009 '''void Akonadi.TrashJob.keepTrashInCollection(bool enable)''' 2010 class CollectionPropertiesPageFactory(): 2011 """""" 2012 def __init__(self): 2013 '''void Akonadi.CollectionPropertiesPageFactory.__init__()''' 2014 def __init__(self): 2015 '''Akonadi.CollectionPropertiesPageFactory Akonadi.CollectionPropertiesPageFactory.__init__()''' 2016 return Akonadi.CollectionPropertiesPageFactory() 2017 def createWidget(self, parent = None): 2018 '''abstract Akonadi.CollectionPropertiesPage Akonadi.CollectionPropertiesPageFactory.createWidget(QWidget parent = None)''' 2019 return Akonadi.CollectionPropertiesPage() 2020 class CollectionStatisticsModel(Akonadi.CollectionModel): 2021 """""" 2022 # Enum Akonadi.CollectionStatisticsModel.Roles 2023 UnreadRole = 0 2024 TotalRole = 0 2025 StatisticsRole = 0 2026 RecursiveUnreadRole = 0 2027 RecursiveTotalRole = 0 2028 RecursiveStatisticsRole = 0 2029 SizeRole = 0 2030 RecursiveSizeRole = 0 2031 UserRole = 0 2032 2033 def __init__(self, parent = None): 2034 '''void Akonadi.CollectionStatisticsModel.__init__(QObject parent = None)''' 2035 def headerData(self, section, orientation, role = None): 2036 '''QVariant Akonadi.CollectionStatisticsModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 2037 return QVariant() 2038 def data(self, index, role = None): 2039 '''QVariant Akonadi.CollectionStatisticsModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 2040 return QVariant() 2041 def columnCount(self, parent = QModelIndex()): 2042 '''int Akonadi.CollectionStatisticsModel.columnCount(QModelIndex parent = QModelIndex())''' 2043 return int() 2044 class CollectionPropertiesDialog(KDialog): 2045 """""" 2046 # Enum Akonadi.CollectionPropertiesDialog.DefaultPage 2047 GeneralPage = 0 2048 CachePage = 0 2049 2050 def __init__(self, collection, parent = None): 2051 '''void Akonadi.CollectionPropertiesDialog.__init__(Akonadi.Collection collection, QWidget parent = None)''' 2052 def __init__(self, collection, pages, parent = None): 2053 '''void Akonadi.CollectionPropertiesDialog.__init__(Akonadi.Collection collection, QStringList pages, QWidget parent = None)''' 2054 def defaultPageObjectName(self, page): 2055 '''static QString Akonadi.CollectionPropertiesDialog.defaultPageObjectName(Akonadi.CollectionPropertiesDialog.DefaultPage page)''' 2056 return QString() 2057 def useDefaultPage(self, use): 2058 '''static void Akonadi.CollectionPropertiesDialog.useDefaultPage(bool use)''' 2059 def registerPage(self, factory): 2060 '''static void Akonadi.CollectionPropertiesDialog.registerPage(Akonadi.CollectionPropertiesPageFactory factory)''' 2061 class Job(KCompositeJob): 2062 """""" 2063 # Enum Akonadi.Job.Error 2064 ConnectionFailed = 0 2065 ProtocolVersionMismatch = 0 2066 UserCanceled = 0 2067 Unknown = 0 2068 UserError = 0 2069 2070 def __init__(self, parent = None): 2071 '''void Akonadi.Job.__init__(QObject parent = None)''' 2072 def slotResult(self, job): 2073 '''void Akonadi.Job.slotResult(KJob job)''' 2074 def emitWriteFinished(self): 2075 '''void Akonadi.Job.emitWriteFinished()''' 2076 def doKill(self): 2077 '''bool Akonadi.Job.doKill()''' 2078 return bool() 2079 def removeSubjob(self, job): 2080 '''bool Akonadi.Job.removeSubjob(KJob job)''' 2081 return bool() 2082 def addSubjob(self, job): 2083 '''bool Akonadi.Job.addSubjob(KJob job)''' 2084 return bool() 2085 def doHandleResponse(self, tag, data): 2086 '''void Akonadi.Job.doHandleResponse(QByteArray tag, QByteArray data)''' 2087 def doStart(self): 2088 '''abstract void Akonadi.Job.doStart()''' 2089 writeFinished = pyqtSignal() # void writeFinished(Akonadi::Job *) - signal 2090 aboutToStart = pyqtSignal() # void aboutToStart(Akonadi::Job *) - signal 2091 def errorString(self): 2092 '''QString Akonadi.Job.errorString()''' 2093 return QString() 2094 def start(self): 2095 '''void Akonadi.Job.start()''' 2096 class CollectionFetchJob(Akonadi.Job): 2097 """""" 2098 # Enum Akonadi.CollectionFetchJob.Type 2099 Base = 0 2100 FirstLevel = 0 2101 Recursive = 0 2102 NonOverlappingRoots = 0 2103 2104 def __init__(self, collection, type = None, parent = None): 2105 '''void Akonadi.CollectionFetchJob.__init__(Akonadi.Collection collection, Akonadi.CollectionFetchJob.Type type = Akonadi.CollectionFetchJob.FirstLevel, QObject parent = None)''' 2106 def __init__(self, collections, parent = None): 2107 '''void Akonadi.CollectionFetchJob.__init__(list-of-Akonadi.Collection collections, QObject parent = None)''' 2108 def __init__(self, collections, type, parent = None): 2109 '''void Akonadi.CollectionFetchJob.__init__(list-of-Akonadi.Collection collections, Akonadi.CollectionFetchJob.Type type, QObject parent = None)''' 2110 def fetchScope(self): 2111 '''Akonadi.CollectionFetchScope Akonadi.CollectionFetchJob.fetchScope()''' 2112 return Akonadi.CollectionFetchScope() 2113 def setFetchScope(self, fetchScope): 2114 '''void Akonadi.CollectionFetchJob.setFetchScope(Akonadi.CollectionFetchScope fetchScope)''' 2115 def slotResult(self, job): 2116 '''void Akonadi.CollectionFetchJob.slotResult(KJob job)''' 2117 def doHandleResponse(self, tag, data): 2118 '''void Akonadi.CollectionFetchJob.doHandleResponse(QByteArray tag, QByteArray data)''' 2119 def doStart(self): 2120 '''void Akonadi.CollectionFetchJob.doStart()''' 2121 collectionsReceived = pyqtSignal() # void collectionsReceived(const Akonadi::Collection::Listamp;) - signal 2122 def includeStatistics(self, include = True): 2123 '''void Akonadi.CollectionFetchJob.includeStatistics(bool include = True)''' 2124 def includeUnsubscribed(self, include = True): 2125 '''void Akonadi.CollectionFetchJob.includeUnsubscribed(bool include = True)''' 2126 def setResource(self, resource): 2127 '''void Akonadi.CollectionFetchJob.setResource(QString resource)''' 2128 def collections(self): 2129 '''list-of-Akonadi.Collection Akonadi.CollectionFetchJob.collections()''' 2130 return [Akonadi.Collection()] 2131 class EntityTreeView(QTreeView): 2132 """""" 2133 def __init__(self, parent = None): 2134 '''void Akonadi.EntityTreeView.__init__(QWidget parent = None)''' 2135 def __init__(self, xmlGuiClient, parent = None): 2136 '''void Akonadi.EntityTreeView.__init__(KXMLGUIClient xmlGuiClient, QWidget parent = None)''' 2137 def setManualSortingActive(self, active): 2138 '''void Akonadi.EntityTreeView.setManualSortingActive(bool active)''' 2139 def isManualSortingActive(self): 2140 '''bool Akonadi.EntityTreeView.isManualSortingActive()''' 2141 return bool() 2142 def isDropActionMenuEnabled(self): 2143 '''bool Akonadi.EntityTreeView.isDropActionMenuEnabled()''' 2144 return bool() 2145 def setDropActionMenuEnabled(self, enabled): 2146 '''void Akonadi.EntityTreeView.setDropActionMenuEnabled(bool enabled)''' 2147 def startDrag(self, supportedActions): 2148 '''void Akonadi.EntityTreeView.startDrag(Qt.DropActions supportedActions)''' 2149 def contextMenuEvent(self, event): 2150 '''void Akonadi.EntityTreeView.contextMenuEvent(QContextMenuEvent event)''' 2151 def dropEvent(self, event): 2152 '''void Akonadi.EntityTreeView.dropEvent(QDropEvent event)''' 2153 def timerEvent(self, event): 2154 '''void Akonadi.EntityTreeView.timerEvent(QTimerEvent event)''' 2155 def dragMoveEvent(self, event): 2156 '''void Akonadi.EntityTreeView.dragMoveEvent(QDragMoveEvent event)''' 2157 currentChanged = pyqtSignal() # void currentChanged(const Akonadi::Collectionamp;) - signal 2158 currentChanged = pyqtSignal() # void currentChanged(const Akonadi::Itemamp;) - signal 2159 doubleClicked = pyqtSignal() # void doubleClicked(const Akonadi::Collectionamp;) - signal 2160 doubleClicked = pyqtSignal() # void doubleClicked(const Akonadi::Itemamp;) - signal 2161 clicked = pyqtSignal() # void clicked(const Akonadi::Collectionamp;) - signal 2162 clicked = pyqtSignal() # void clicked(const Akonadi::Itemamp;) - signal 2163 def setModel(self, model): 2164 '''void Akonadi.EntityTreeView.setModel(QAbstractItemModel model)''' 2165 def setXmlGuiClient(self, xmlGuiClient): 2166 '''void Akonadi.EntityTreeView.setXmlGuiClient(KXMLGUIClient xmlGuiClient)''' 2167 class ItemModifyJob(Akonadi.Job): 2168 """""" 2169 def __init__(self, item, parent = None): 2170 '''void Akonadi.ItemModifyJob.__init__(Akonadi.Item item, QObject parent = None)''' 2171 def __init__(self, items, parent = None): 2172 '''void Akonadi.ItemModifyJob.__init__(list-of-Akonadi.Item items, QObject parent = None)''' 2173 def disableAutomaticConflictHandling(self): 2174 '''void Akonadi.ItemModifyJob.disableAutomaticConflictHandling()''' 2175 def items(self): 2176 '''list-of-Akonadi.Item Akonadi.ItemModifyJob.items()''' 2177 return [Akonadi.Item()] 2178 def doHandleResponse(self, tag, data): 2179 '''void Akonadi.ItemModifyJob.doHandleResponse(QByteArray tag, QByteArray data)''' 2180 def doStart(self): 2181 '''void Akonadi.ItemModifyJob.doStart()''' 2182 def item(self): 2183 '''Akonadi.Item Akonadi.ItemModifyJob.item()''' 2184 return Akonadi.Item() 2185 def disableRevisionCheck(self): 2186 '''void Akonadi.ItemModifyJob.disableRevisionCheck()''' 2187 def ignorePayload(self): 2188 '''bool Akonadi.ItemModifyJob.ignorePayload()''' 2189 return bool() 2190 def setIgnorePayload(self, ignore): 2191 '''void Akonadi.ItemModifyJob.setIgnorePayload(bool ignore)''' 2192 class ItemSerializerPlugin(): 2193 """""" 2194 def __init__(self): 2195 '''void Akonadi.ItemSerializerPlugin.__init__()''' 2196 def __init__(self): 2197 '''Akonadi.ItemSerializerPlugin Akonadi.ItemSerializerPlugin.__init__()''' 2198 return Akonadi.ItemSerializerPlugin() 2199 def parts(self, item): 2200 '''list-of-QByteArray Akonadi.ItemSerializerPlugin.parts(Akonadi.Item item)''' 2201 return [QByteArray()] 2202 def serialize(self, item, label, data, version): 2203 '''abstract void Akonadi.ItemSerializerPlugin.serialize(Akonadi.Item item, QByteArray label, QIODevice data, int version)''' 2204 def deserialize(self, item, label, data, version): 2205 '''abstract bool Akonadi.ItemSerializerPlugin.deserialize(Akonadi.Item item, QByteArray label, QIODevice data, int version)''' 2206 return bool() 2207 class TransportResourceBase(): 2208 """""" 2209 # Enum Akonadi.TransportResourceBase.TransportResult 2210 TransportSucceeded = 0 2211 TransportFailed = 0 2212 2213 def __init__(self): 2214 '''void Akonadi.TransportResourceBase.__init__()''' 2215 def __init__(self): 2216 '''Akonadi.TransportResourceBase Akonadi.TransportResourceBase.__init__()''' 2217 return Akonadi.TransportResourceBase() 2218 def itemSent(self, item, result, message = QString()): 2219 '''void Akonadi.TransportResourceBase.itemSent(Akonadi.Item item, Akonadi.TransportResourceBase.TransportResult result, QString message = QString())''' 2220 def sendItem(self, item): 2221 '''abstract void Akonadi.TransportResourceBase.sendItem(Akonadi.Item item)''' 2222 class MessageThreaderProxyModel(QAbstractProxyModel): 2223 """""" 2224 def __init__(self, parent = None): 2225 '''void Akonadi.MessageThreaderProxyModel.__init__(QObject parent = None)''' 2226 def setSourceModel(self, sourceMessageModel): 2227 '''void Akonadi.MessageThreaderProxyModel.setSourceModel(QAbstractItemModel sourceMessageModel)''' 2228 def mapToSource(self, index): 2229 '''QModelIndex Akonadi.MessageThreaderProxyModel.mapToSource(QModelIndex index)''' 2230 return QModelIndex() 2231 def mapFromSource(self, index): 2232 '''QModelIndex Akonadi.MessageThreaderProxyModel.mapFromSource(QModelIndex index)''' 2233 return QModelIndex() 2234 def mimeData(self, indexes): 2235 '''QMimeData Akonadi.MessageThreaderProxyModel.mimeData(list-of-QModelIndex indexes)''' 2236 return QMimeData() 2237 def mimeTypes(self): 2238 '''QStringList Akonadi.MessageThreaderProxyModel.mimeTypes()''' 2239 return QStringList() 2240 def columnCount(self, index): 2241 '''int Akonadi.MessageThreaderProxyModel.columnCount(QModelIndex index)''' 2242 return int() 2243 def createIndex(self, row, column, internalId): 2244 '''QModelIndex Akonadi.MessageThreaderProxyModel.createIndex(int row, int column, int internalId)''' 2245 return QModelIndex() 2246 def hasChildren(self, index): 2247 '''bool Akonadi.MessageThreaderProxyModel.hasChildren(QModelIndex index)''' 2248 return bool() 2249 def index(self, row, column, parent): 2250 '''QModelIndex Akonadi.MessageThreaderProxyModel.index(int row, int column, QModelIndex parent)''' 2251 return QModelIndex() 2252 def rowCount(self, index): 2253 '''int Akonadi.MessageThreaderProxyModel.rowCount(QModelIndex index)''' 2254 return int() 2255 def parent(self, index): 2256 '''QModelIndex Akonadi.MessageThreaderProxyModel.parent(QModelIndex index)''' 2257 return QModelIndex() 2258 class CollectionQuotaAttribute(Akonadi.Attribute): 2259 """""" 2260 def __init__(self): 2261 '''void Akonadi.CollectionQuotaAttribute.__init__()''' 2262 def __init__(self, currentValue, maxValue): 2263 '''void Akonadi.CollectionQuotaAttribute.__init__(int currentValue, int maxValue)''' 2264 def deserialize(self, data): 2265 '''void Akonadi.CollectionQuotaAttribute.deserialize(QByteArray data)''' 2266 def serialized(self): 2267 '''QByteArray Akonadi.CollectionQuotaAttribute.serialized()''' 2268 return QByteArray() 2269 def clone(self): 2270 '''Akonadi.Attribute Akonadi.CollectionQuotaAttribute.clone()''' 2271 return Akonadi.Attribute() 2272 def type(self): 2273 '''QByteArray Akonadi.CollectionQuotaAttribute.type()''' 2274 return QByteArray() 2275 def maximumValue(self): 2276 '''int Akonadi.CollectionQuotaAttribute.maximumValue()''' 2277 return int() 2278 def currentValue(self): 2279 '''int Akonadi.CollectionQuotaAttribute.currentValue()''' 2280 return int() 2281 def setMaximumValue(self, value): 2282 '''void Akonadi.CollectionQuotaAttribute.setMaximumValue(int value)''' 2283 def setCurrentValue(self, value): 2284 '''void Akonadi.CollectionQuotaAttribute.setCurrentValue(int value)''' 2285 class Entity(): 2286 """""" 2287 # Enum Akonadi.Entity.CreateOption 2288 AddIfMissing = 0 2289 2290 def __init__(self, other): 2291 '''void Akonadi.Entity.__init__(Akonadi.Entity other)''' 2292 def __ge__(self, other): 2293 '''bool Akonadi.Entity.__ge__(Akonadi.Entity other)''' 2294 return bool() 2295 def __lt__(self, other): 2296 '''bool Akonadi.Entity.__lt__(Akonadi.Entity other)''' 2297 return bool() 2298 def remoteRevision(self): 2299 '''QString Akonadi.Entity.remoteRevision()''' 2300 return QString() 2301 def setRemoteRevision(self, revision): 2302 '''void Akonadi.Entity.setRemoteRevision(QString revision)''' 2303 def setParentCollection(self, parent): 2304 '''void Akonadi.Entity.setParentCollection(Akonadi.Collection parent)''' 2305 def parentCollection(self): 2306 '''Akonadi.Collection Akonadi.Entity.parentCollection()''' 2307 return Akonadi.Collection() 2308 def setId(self, identifier): 2309 '''void Akonadi.Entity.setId(int identifier)''' 2310 def attribute(self, name): 2311 '''Akonadi.Attribute Akonadi.Entity.attribute(QByteArray name)''' 2312 return Akonadi.Attribute() 2313 def clearAttributes(self): 2314 '''void Akonadi.Entity.clearAttributes()''' 2315 def attributes(self): 2316 '''list-of-Akonadi.Attribute Akonadi.Entity.attributes()''' 2317 return [Akonadi.Attribute()] 2318 def hasAttribute(self, name): 2319 '''bool Akonadi.Entity.hasAttribute(QByteArray name)''' 2320 return bool() 2321 def removeAttribute(self, name): 2322 '''void Akonadi.Entity.removeAttribute(QByteArray name)''' 2323 def addAttribute(self, attribute): 2324 '''void Akonadi.Entity.addAttribute(Akonadi.Attribute attribute)''' 2325 def __ne__(self, other): 2326 '''bool Akonadi.Entity.__ne__(Akonadi.Entity other)''' 2327 return bool() 2328 def __eq__(self, other): 2329 '''bool Akonadi.Entity.__eq__(Akonadi.Entity other)''' 2330 return bool() 2331 def isValid(self): 2332 '''bool Akonadi.Entity.isValid()''' 2333 return bool() 2334 def remoteId(self): 2335 '''QString Akonadi.Entity.remoteId()''' 2336 return QString() 2337 def setRemoteId(self, id): 2338 '''void Akonadi.Entity.setRemoteId(QString id)''' 2339 def id(self): 2340 '''int Akonadi.Entity.id()''' 2341 return int() 2342 class AgentInstanceModel(QAbstractItemModel): 2343 """""" 2344 # Enum Akonadi.AgentInstanceModel.Roles 2345 TypeRole = 0 2346 TypeIdentifierRole = 0 2347 DescriptionRole = 0 2348 MimeTypesRole = 0 2349 CapabilitiesRole = 0 2350 InstanceRole = 0 2351 InstanceIdentifierRole = 0 2352 StatusRole = 0 2353 StatusMessageRole = 0 2354 ProgressRole = 0 2355 OnlineRole = 0 2356 UserRole = 0 2357 2358 def __init__(self, parent = None): 2359 '''void Akonadi.AgentInstanceModel.__init__(QObject parent = None)''' 2360 def setData(self, index, value, role): 2361 '''bool Akonadi.AgentInstanceModel.setData(QModelIndex index, QVariant value, int role)''' 2362 return bool() 2363 def flags(self, index): 2364 '''Qt.ItemFlags Akonadi.AgentInstanceModel.flags(QModelIndex index)''' 2365 return Qt.ItemFlags() 2366 def parent(self, index): 2367 '''QModelIndex Akonadi.AgentInstanceModel.parent(QModelIndex index)''' 2368 return QModelIndex() 2369 def index(self, row, column, parent = QModelIndex()): 2370 '''QModelIndex Akonadi.AgentInstanceModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 2371 return QModelIndex() 2372 def headerData(self, section, orientation, role = None): 2373 '''QVariant Akonadi.AgentInstanceModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 2374 return QVariant() 2375 def data(self, index, role = None): 2376 '''QVariant Akonadi.AgentInstanceModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 2377 return QVariant() 2378 def rowCount(self, parent = QModelIndex()): 2379 '''int Akonadi.AgentInstanceModel.rowCount(QModelIndex parent = QModelIndex())''' 2380 return int() 2381 def columnCount(self, parent = QModelIndex()): 2382 '''int Akonadi.AgentInstanceModel.columnCount(QModelIndex parent = QModelIndex())''' 2383 return int() 2384 class ItemCreateJob(Akonadi.Job): 2385 """""" 2386 def __init__(self, item, collection, parent = None): 2387 '''void Akonadi.ItemCreateJob.__init__(Akonadi.Item item, Akonadi.Collection collection, QObject parent = None)''' 2388 def doHandleResponse(self, tag, data): 2389 '''void Akonadi.ItemCreateJob.doHandleResponse(QByteArray tag, QByteArray data)''' 2390 def doStart(self): 2391 '''void Akonadi.ItemCreateJob.doStart()''' 2392 def item(self): 2393 '''Akonadi.Item Akonadi.ItemCreateJob.item()''' 2394 return Akonadi.Item() 2395 class Collection(Akonadi.Entity): 2396 """""" 2397 # Enum Akonadi.Collection.UrlType 2398 UrlShort = 0 2399 UrlWithName = 0 2400 2401 # Enum Akonadi.Collection.Right 2402 ReadOnly = 0 2403 CanChangeItem = 0 2404 CanCreateItem = 0 2405 CanDeleteItem = 0 2406 CanChangeCollection = 0 2407 CanCreateCollection = 0 2408 CanDeleteCollection = 0 2409 CanLinkItem = 0 2410 CanUnlinkItem = 0 2411 AllRights = 0 2412 2413 def __init__(self): 2414 '''void Akonadi.Collection.__init__()''' 2415 def __init__(self, other): 2416 '''void Akonadi.Collection.__init__(Akonadi.Collection other)''' 2417 def __init__(self, id): 2418 '''void Akonadi.Collection.__init__(int id)''' 2419 def isVirtual(self): 2420 '''bool Akonadi.Collection.isVirtual()''' 2421 return bool() 2422 def url(self): 2423 '''KUrl Akonadi.Collection.url()''' 2424 return KUrl() 2425 def url(self, type): 2426 '''KUrl Akonadi.Collection.url(Akonadi.Collection.UrlType type)''' 2427 return KUrl() 2428 def setStatistics(self, statistics): 2429 '''void Akonadi.Collection.setStatistics(Akonadi.CollectionStatistics statistics)''' 2430 def statistics(self): 2431 '''Akonadi.CollectionStatistics Akonadi.Collection.statistics()''' 2432 return Akonadi.CollectionStatistics() 2433 def setCachePolicy(self, policy): 2434 '''void Akonadi.Collection.setCachePolicy(Akonadi.CachePolicy policy)''' 2435 def cachePolicy(self): 2436 '''Akonadi.CachePolicy Akonadi.Collection.cachePolicy()''' 2437 return Akonadi.CachePolicy() 2438 def setResource(self, identifier): 2439 '''void Akonadi.Collection.setResource(QString identifier)''' 2440 def resource(self): 2441 '''QString Akonadi.Collection.resource()''' 2442 return QString() 2443 def mimeType(self): 2444 '''static QString Akonadi.Collection.mimeType()''' 2445 return QString() 2446 def root(self): 2447 '''static Akonadi.Collection Akonadi.Collection.root()''' 2448 return Akonadi.Collection() 2449 def setParentRemoteId(self, identifier): 2450 '''void Akonadi.Collection.setParentRemoteId(QString identifier)''' 2451 def parentRemoteId(self): 2452 '''QString Akonadi.Collection.parentRemoteId()''' 2453 return QString() 2454 def setParent(self, collection): 2455 '''void Akonadi.Collection.setParent(Akonadi.Collection collection)''' 2456 def setParent(self, parent): 2457 '''void Akonadi.Collection.setParent(int parent)''' 2458 def parent(self): 2459 '''int Akonadi.Collection.parent()''' 2460 return int() 2461 def setContentMimeTypes(self, types): 2462 '''void Akonadi.Collection.setContentMimeTypes(QStringList types)''' 2463 def contentMimeTypes(self): 2464 '''QStringList Akonadi.Collection.contentMimeTypes()''' 2465 return QStringList() 2466 def setRights(self, rights): 2467 '''void Akonadi.Collection.setRights(Akonadi.Collection.Rights rights)''' 2468 def rights(self): 2469 '''Akonadi.Collection.Rights Akonadi.Collection.rights()''' 2470 return Akonadi.Collection.Rights() 2471 def setName(self, name): 2472 '''void Akonadi.Collection.setName(QString name)''' 2473 def name(self): 2474 '''QString Akonadi.Collection.name()''' 2475 return QString() 2476 def fromUrl(self, url): 2477 '''static Akonadi.Collection Akonadi.Collection.fromUrl(KUrl url)''' 2478 return Akonadi.Collection() 2479 class ResourceSettings(Akonadi.ResourceBaseSettings): 2480 """""" 2481 def self(self): 2482 '''static Akonadi.ResourceSettings Akonadi.ResourceSettings.self()''' 2483 return Akonadi.ResourceSettings() 2484 class TrashFilterProxyModel(KRecursiveFilterProxyModel): 2485 """""" 2486 def __init__(self, parent = None): 2487 '''void Akonadi.TrashFilterProxyModel.__init__(QObject parent = None)''' 2488 def acceptRow(self, sourceRow, sourceParent): 2489 '''bool Akonadi.TrashFilterProxyModel.acceptRow(int sourceRow, QModelIndex sourceParent)''' 2490 return bool() 2491 def trashIsShown(self): 2492 '''bool Akonadi.TrashFilterProxyModel.trashIsShown()''' 2493 return bool() 2494 def showTrash(self, enable): 2495 '''void Akonadi.TrashFilterProxyModel.showTrash(bool enable)''' 2496 class ItemMoveJob(Akonadi.Job): 2497 """""" 2498 def __init__(self, item, destination, parent = None): 2499 '''void Akonadi.ItemMoveJob.__init__(Akonadi.Item item, Akonadi.Collection destination, QObject parent = None)''' 2500 def __init__(self, items, destination, parent = None): 2501 '''void Akonadi.ItemMoveJob.__init__(list-of-Akonadi.Item items, Akonadi.Collection destination, QObject parent = None)''' 2502 def items(self): 2503 '''list-of-Akonadi.Item Akonadi.ItemMoveJob.items()''' 2504 return [Akonadi.Item()] 2505 def destinationCollection(self): 2506 '''Akonadi.Collection Akonadi.ItemMoveJob.destinationCollection()''' 2507 return Akonadi.Collection() 2508 def doStart(self): 2509 '''void Akonadi.ItemMoveJob.doStart()''' 2510 class Session(QObject): 2511 """""" 2512 def __init__(self, sessionId = QByteArray(), parent = None): 2513 '''void Akonadi.Session.__init__(QByteArray sessionId = QByteArray(), QObject parent = None)''' 2514 reconnected = pyqtSignal() # void reconnected() - signal 2515 def clear(self): 2516 '''void Akonadi.Session.clear()''' 2517 def defaultSession(self): 2518 '''static Akonadi.Session Akonadi.Session.defaultSession()''' 2519 return Akonadi.Session() 2520 def sessionId(self): 2521 '''QByteArray Akonadi.Session.sessionId()''' 2522 return QByteArray() 2523 class CollectionStatisticsJob(Akonadi.Job): 2524 """""" 2525 def __init__(self, collection, parent = None): 2526 '''void Akonadi.CollectionStatisticsJob.__init__(Akonadi.Collection collection, QObject parent = None)''' 2527 def doHandleResponse(self, tag, data): 2528 '''void Akonadi.CollectionStatisticsJob.doHandleResponse(QByteArray tag, QByteArray data)''' 2529 def doStart(self): 2530 '''void Akonadi.CollectionStatisticsJob.doStart()''' 2531 def collection(self): 2532 '''Akonadi.Collection Akonadi.CollectionStatisticsJob.collection()''' 2533 return Akonadi.Collection() 2534 def statistics(self): 2535 '''Akonadi.CollectionStatistics Akonadi.CollectionStatisticsJob.statistics()''' 2536 return Akonadi.CollectionStatistics() 2537 class CollectionFetchScope(): 2538 """""" 2539 # Enum Akonadi.CollectionFetchScope.AncestorRetrieval 2540 __kdevpythondocumentation_builtin_None = 0 2541 Parent = 0 2542 All = 0 2543 2544 def __init__(self): 2545 '''void Akonadi.CollectionFetchScope.__init__()''' 2546 def __init__(self, other): 2547 '''void Akonadi.CollectionFetchScope.__init__(Akonadi.CollectionFetchScope other)''' 2548 def includeUnsubscribed(self): 2549 '''bool Akonadi.CollectionFetchScope.includeUnsubscribed()''' 2550 return bool() 2551 def isEmpty(self): 2552 '''bool Akonadi.CollectionFetchScope.isEmpty()''' 2553 return bool() 2554 def ancestorRetrieval(self): 2555 '''Akonadi.CollectionFetchScope.AncestorRetrieval Akonadi.CollectionFetchScope.ancestorRetrieval()''' 2556 return Akonadi.CollectionFetchScope.AncestorRetrieval() 2557 def setAncestorRetrieval(self, ancestorDepth): 2558 '''void Akonadi.CollectionFetchScope.setAncestorRetrieval(Akonadi.CollectionFetchScope.AncestorRetrieval ancestorDepth)''' 2559 def contentMimeTypes(self): 2560 '''QStringList Akonadi.CollectionFetchScope.contentMimeTypes()''' 2561 return QStringList() 2562 def setContentMimeTypes(self, mimeTypes): 2563 '''void Akonadi.CollectionFetchScope.setContentMimeTypes(QStringList mimeTypes)''' 2564 def setResource(self, resource): 2565 '''void Akonadi.CollectionFetchScope.setResource(QString resource)''' 2566 def resource(self): 2567 '''QString Akonadi.CollectionFetchScope.resource()''' 2568 return QString() 2569 def setIncludeStatistics(self, include): 2570 '''void Akonadi.CollectionFetchScope.setIncludeStatistics(bool include)''' 2571 def includeStatistics(self): 2572 '''bool Akonadi.CollectionFetchScope.includeStatistics()''' 2573 return bool() 2574 def setIncludeUnsubscribed(self, include): 2575 '''void Akonadi.CollectionFetchScope.setIncludeUnsubscribed(bool include)''' 2576 def includeUnubscribed(self): 2577 '''bool Akonadi.CollectionFetchScope.includeUnubscribed()''' 2578 return bool() 2579 class CollectionDeleteJob(Akonadi.Job): 2580 """""" 2581 def __init__(self, collection, parent = None): 2582 '''void Akonadi.CollectionDeleteJob.__init__(Akonadi.Collection collection, QObject parent = None)''' 2583 def doStart(self): 2584 '''void Akonadi.CollectionDeleteJob.doStart()''' 2585 class TrashRestoreJob(Akonadi.Job): 2586 """""" 2587 def __init__(self, item, parent = None): 2588 '''void Akonadi.TrashRestoreJob.__init__(Akonadi.Item item, QObject parent = None)''' 2589 def __init__(self, items, parent = None): 2590 '''void Akonadi.TrashRestoreJob.__init__(list-of-Akonadi.Item items, QObject parent = None)''' 2591 def __init__(self, collection, parent = None): 2592 '''void Akonadi.TrashRestoreJob.__init__(Akonadi.Collection collection, QObject parent = None)''' 2593 def doStart(self): 2594 '''void Akonadi.TrashRestoreJob.doStart()''' 2595 def items(self): 2596 '''list-of-Akonadi.Item Akonadi.TrashRestoreJob.items()''' 2597 return [Akonadi.Item()] 2598 def setTargetCollection(self, collection): 2599 '''void Akonadi.TrashRestoreJob.setTargetCollection(Akonadi.Collection collection)''' 2600 class TransactionSequence(Akonadi.Job): 2601 """""" 2602 def __init__(self, parent = None): 2603 '''void Akonadi.TransactionSequence.__init__(QObject parent = None)''' 2604 def rollback(self): 2605 '''void Akonadi.TransactionSequence.rollback()''' 2606 def setAutomaticCommittingEnabled(self, enable): 2607 '''void Akonadi.TransactionSequence.setAutomaticCommittingEnabled(bool enable)''' 2608 def setIgnoreJobFailure(self, job): 2609 '''void Akonadi.TransactionSequence.setIgnoreJobFailure(KJob job)''' 2610 def slotResult(self, job): 2611 '''void Akonadi.TransactionSequence.slotResult(KJob job)''' 2612 def doStart(self): 2613 '''void Akonadi.TransactionSequence.doStart()''' 2614 def addSubjob(self, job): 2615 '''bool Akonadi.TransactionSequence.addSubjob(KJob job)''' 2616 return bool() 2617 def commit(self): 2618 '''void Akonadi.TransactionSequence.commit()''' 2619 class StatisticsProxyModel(QSortFilterProxyModel): 2620 """""" 2621 def __init__(self, parent = None): 2622 '''void Akonadi.StatisticsProxyModel.__init__(QObject parent = None)''' 2623 def setSourceModel(self, sourceModel): 2624 '''void Akonadi.StatisticsProxyModel.setSourceModel(QAbstractItemModel sourceModel)''' 2625 def match(self, start, role, value, hits = 1, flags = None): 2626 '''list-of-QModelIndex Akonadi.StatisticsProxyModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))''' 2627 return [QModelIndex()] 2628 def columnCount(self, parent = QModelIndex()): 2629 '''int Akonadi.StatisticsProxyModel.columnCount(QModelIndex parent = QModelIndex())''' 2630 return int() 2631 def flags(self, index): 2632 '''Qt.ItemFlags Akonadi.StatisticsProxyModel.flags(QModelIndex index)''' 2633 return Qt.ItemFlags() 2634 def headerData(self, section, orientation, role = None): 2635 '''QVariant Akonadi.StatisticsProxyModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 2636 return QVariant() 2637 def data(self, index, role = None): 2638 '''QVariant Akonadi.StatisticsProxyModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 2639 return QVariant() 2640 def index(self, row, column, parent = QModelIndex()): 2641 '''QModelIndex Akonadi.StatisticsProxyModel.index(int row, int column, QModelIndex parent = QModelIndex())''' 2642 return QModelIndex() 2643 def isExtraColumnsEnabled(self): 2644 '''bool Akonadi.StatisticsProxyModel.isExtraColumnsEnabled()''' 2645 return bool() 2646 def setExtraColumnsEnabled(self, enable): 2647 '''void Akonadi.StatisticsProxyModel.setExtraColumnsEnabled(bool enable)''' 2648 def isToolTipEnabled(self): 2649 '''bool Akonadi.StatisticsProxyModel.isToolTipEnabled()''' 2650 return bool() 2651 def setToolTipEnabled(self, enable): 2652 '''void Akonadi.StatisticsProxyModel.setToolTipEnabled(bool enable)''' 2653 class ItemFetchScope(): 2654 """""" 2655 # Enum Akonadi.ItemFetchScope.AncestorRetrieval 2656 __kdevpythondocumentation_builtin_None = 0 2657 Parent = 0 2658 All = 0 2659 2660 def __init__(self): 2661 '''void Akonadi.ItemFetchScope.__init__()''' 2662 def __init__(self, other): 2663 '''void Akonadi.ItemFetchScope.__init__(Akonadi.ItemFetchScope other)''' 2664 def fetchModificationTime(self): 2665 '''bool Akonadi.ItemFetchScope.fetchModificationTime()''' 2666 return bool() 2667 def setFetchModificationTime(self, retrieveMtime): 2668 '''void Akonadi.ItemFetchScope.setFetchModificationTime(bool retrieveMtime)''' 2669 def ancestorRetrieval(self): 2670 '''Akonadi.ItemFetchScope.AncestorRetrieval Akonadi.ItemFetchScope.ancestorRetrieval()''' 2671 return Akonadi.ItemFetchScope.AncestorRetrieval() 2672 def setAncestorRetrieval(self, ancestorDepth): 2673 '''void Akonadi.ItemFetchScope.setAncestorRetrieval(Akonadi.ItemFetchScope.AncestorRetrieval ancestorDepth)''' 2674 def isEmpty(self): 2675 '''bool Akonadi.ItemFetchScope.isEmpty()''' 2676 return bool() 2677 def setCacheOnly(self, cacheOnly): 2678 '''void Akonadi.ItemFetchScope.setCacheOnly(bool cacheOnly)''' 2679 def cacheOnly(self): 2680 '''bool Akonadi.ItemFetchScope.cacheOnly()''' 2681 return bool() 2682 def fetchAllAttributes(self, fetch = True): 2683 '''void Akonadi.ItemFetchScope.fetchAllAttributes(bool fetch = True)''' 2684 def allAttributes(self): 2685 '''bool Akonadi.ItemFetchScope.allAttributes()''' 2686 return bool() 2687 def fetchAttribute(self, type, fetch = True): 2688 '''void Akonadi.ItemFetchScope.fetchAttribute(QByteArray type, bool fetch = True)''' 2689 def attributes(self): 2690 '''list-of-QByteArray Akonadi.ItemFetchScope.attributes()''' 2691 return [QByteArray()] 2692 def fetchFullPayload(self, fetch = True): 2693 '''void Akonadi.ItemFetchScope.fetchFullPayload(bool fetch = True)''' 2694 def fullPayload(self): 2695 '''bool Akonadi.ItemFetchScope.fullPayload()''' 2696 return bool() 2697 def fetchPayloadPart(self, part, fetch = True): 2698 '''void Akonadi.ItemFetchScope.fetchPayloadPart(QByteArray part, bool fetch = True)''' 2699 def payloadParts(self): 2700 '''list-of-QByteArray Akonadi.ItemFetchScope.payloadParts()''' 2701 return [QByteArray()] 2702 class PersistentSearchAttribute(Akonadi.Attribute): 2703 """""" 2704 def __init__(self): 2705 '''void Akonadi.PersistentSearchAttribute.__init__()''' 2706 def __init__(self): 2707 '''Akonadi.PersistentSearchAttribute Akonadi.PersistentSearchAttribute.__init__()''' 2708 return Akonadi.PersistentSearchAttribute() 2709 def deserialize(self, data): 2710 '''void Akonadi.PersistentSearchAttribute.deserialize(QByteArray data)''' 2711 def serialized(self): 2712 '''QByteArray Akonadi.PersistentSearchAttribute.serialized()''' 2713 return QByteArray() 2714 def clone(self): 2715 '''Akonadi.Attribute Akonadi.PersistentSearchAttribute.clone()''' 2716 return Akonadi.Attribute() 2717 def type(self): 2718 '''QByteArray Akonadi.PersistentSearchAttribute.type()''' 2719 return QByteArray() 2720 def setQueryString(self, query): 2721 '''void Akonadi.PersistentSearchAttribute.setQueryString(QString query)''' 2722 def queryString(self): 2723 '''QString Akonadi.PersistentSearchAttribute.queryString()''' 2724 return QString() 2725 def setQueryLanguage(self, language): 2726 '''void Akonadi.PersistentSearchAttribute.setQueryLanguage(QString language)''' 2727 def queryLanguage(self): 2728 '''QString Akonadi.PersistentSearchAttribute.queryLanguage()''' 2729 return QString() 2730 class ServerManager(QObject): 2731 """""" 2732 # Enum Akonadi.ServerManager.State 2733 NotRunning = 0 2734 Starting = 0 2735 Running = 0 2736 Stopping = 0 2737 Broken = 0 2738 2739 def __init__(self): 2740 '''void Akonadi.ServerManager.__init__()''' 2741 stateChanged = pyqtSignal() # void stateChanged(Akonadi::ServerManager::State) - signal 2742 def state(self): 2743 '''static Akonadi.ServerManager.State Akonadi.ServerManager.state()''' 2744 return Akonadi.ServerManager.State() 2745 stopped = pyqtSignal() # void stopped() - signal 2746 started = pyqtSignal() # void started() - signal 2747 def self(self): 2748 '''static Akonadi.ServerManager Akonadi.ServerManager.self()''' 2749 return Akonadi.ServerManager() 2750 def isRunning(self): 2751 '''static bool Akonadi.ServerManager.isRunning()''' 2752 return bool() 2753 def showSelfTestDialog(self, parent): 2754 '''static void Akonadi.ServerManager.showSelfTestDialog(QWidget parent)''' 2755 def stop(self): 2756 '''static bool Akonadi.ServerManager.stop()''' 2757 return bool() 2758 def start(self): 2759 '''static bool Akonadi.ServerManager.start()''' 2760 return bool() 2761 class CollectionPropertiesPage(QWidget): 2762 """""" 2763 def __init__(self, parent = None): 2764 '''void Akonadi.CollectionPropertiesPage.__init__(QWidget parent = None)''' 2765 def pageTitle(self): 2766 '''QString Akonadi.CollectionPropertiesPage.pageTitle()''' 2767 return QString() 2768 def setPageTitle(self, title): 2769 '''void Akonadi.CollectionPropertiesPage.setPageTitle(QString title)''' 2770 def canHandle(self, collection): 2771 '''bool Akonadi.CollectionPropertiesPage.canHandle(Akonadi.Collection collection)''' 2772 return bool() 2773 def save(self, collection): 2774 '''abstract void Akonadi.CollectionPropertiesPage.save(Akonadi.Collection collection)''' 2775 def load(self, collection): 2776 '''abstract void Akonadi.CollectionPropertiesPage.load(Akonadi.Collection collection)''' 2777 class CollectionComboBox(KComboBox): 2778 """""" 2779 def __init__(self, parent = None): 2780 '''void Akonadi.CollectionComboBox.__init__(QWidget parent = None)''' 2781 def __init__(self, model, parent = None): 2782 '''void Akonadi.CollectionComboBox.__init__(QAbstractItemModel model, QWidget parent = None)''' 2783 currentChanged = pyqtSignal() # void currentChanged(const Akonadi::Collectionamp;) - signal 2784 def currentCollection(self): 2785 '''Akonadi.Collection Akonadi.CollectionComboBox.currentCollection()''' 2786 return Akonadi.Collection() 2787 def setDefaultCollection(self, collection): 2788 '''void Akonadi.CollectionComboBox.setDefaultCollection(Akonadi.Collection collection)''' 2789 def accessRightsFilter(self): 2790 '''Akonadi.Collection.Rights Akonadi.CollectionComboBox.accessRightsFilter()''' 2791 return Akonadi.Collection.Rights() 2792 def setAccessRightsFilter(self, rights): 2793 '''void Akonadi.CollectionComboBox.setAccessRightsFilter(Akonadi.Collection.Rights rights)''' 2794 def mimeTypeFilter(self): 2795 '''QStringList Akonadi.CollectionComboBox.mimeTypeFilter()''' 2796 return QStringList() 2797 def setMimeTypeFilter(self, mimetypes): 2798 '''void Akonadi.CollectionComboBox.setMimeTypeFilter(QStringList mimetypes)''' 2799 class ItemDeleteJob(Akonadi.Job): 2800 """""" 2801 def __init__(self, item, parent = None): 2802 '''void Akonadi.ItemDeleteJob.__init__(Akonadi.Item item, QObject parent = None)''' 2803 def __init__(self, items, parent = None): 2804 '''void Akonadi.ItemDeleteJob.__init__(list-of-Akonadi.Item items, QObject parent = None)''' 2805 def __init__(self, collection, parent = None): 2806 '''void Akonadi.ItemDeleteJob.__init__(Akonadi.Collection collection, QObject parent = None)''' 2807 def deletedItems(self): 2808 '''list-of-Akonadi.Item Akonadi.ItemDeleteJob.deletedItems()''' 2809 return [Akonadi.Item()] 2810 def doStart(self): 2811 '''void Akonadi.ItemDeleteJob.doStart()''' 2812 class ItemSerializerPluginV2(Akonadi.ItemSerializerPlugin): 2813 """""" 2814 def __init__(self): 2815 '''void Akonadi.ItemSerializerPluginV2.__init__()''' 2816 def __init__(self): 2817 '''Akonadi.ItemSerializerPluginV2 Akonadi.ItemSerializerPluginV2.__init__()''' 2818 return Akonadi.ItemSerializerPluginV2() 2819 def availableParts(self, item): 2820 '''list-of-QByteArray Akonadi.ItemSerializerPluginV2.availableParts(Akonadi.Item item)''' 2821 return [QByteArray()] 2822 def apply(self, item, other): 2823 '''void Akonadi.ItemSerializerPluginV2.apply(Akonadi.Item item, Akonadi.Item other)''' 2824 class ItemFetchJob(Akonadi.Job): 2825 """""" 2826 def __init__(self, collection, parent = None): 2827 '''void Akonadi.ItemFetchJob.__init__(Akonadi.Collection collection, QObject parent = None)''' 2828 def __init__(self, item, parent = None): 2829 '''void Akonadi.ItemFetchJob.__init__(Akonadi.Item item, QObject parent = None)''' 2830 def __init__(self, items, parent = None): 2831 '''void Akonadi.ItemFetchJob.__init__(list-of-Akonadi.Item items, QObject parent = None)''' 2832 def setFetchScope(self, fetchScope): 2833 '''void Akonadi.ItemFetchJob.setFetchScope(Akonadi.ItemFetchScope fetchScope)''' 2834 def doHandleResponse(self, tag, data): 2835 '''void Akonadi.ItemFetchJob.doHandleResponse(QByteArray tag, QByteArray data)''' 2836 def doStart(self): 2837 '''void Akonadi.ItemFetchJob.doStart()''' 2838 itemsReceived = pyqtSignal() # void itemsReceived(const Akonadi::Item::Listamp;) - signal 2839 def setCollection(self, collection): 2840 '''void Akonadi.ItemFetchJob.setCollection(Akonadi.Collection collection)''' 2841 def fetchScope(self): 2842 '''Akonadi.ItemFetchScope Akonadi.ItemFetchJob.fetchScope()''' 2843 return Akonadi.ItemFetchScope() 2844 def items(self): 2845 '''list-of-Akonadi.Item Akonadi.ItemFetchJob.items()''' 2846 return [Akonadi.Item()] 2847 class EntityRightsFilterModel(KRecursiveFilterProxyModel): 2848 """""" 2849 def __init__(self, parent = None): 2850 '''void Akonadi.EntityRightsFilterModel.__init__(QObject parent = None)''' 2851 def acceptRow(self, sourceRow, sourceParent): 2852 '''bool Akonadi.EntityRightsFilterModel.acceptRow(int sourceRow, QModelIndex sourceParent)''' 2853 return bool() 2854 def match(self, start, role, value, hits = 1, flags = None): 2855 '''list-of-QModelIndex Akonadi.EntityRightsFilterModel.match(QModelIndex start, int role, QVariant value, int hits = 1, Qt.MatchFlags flags = Qt.MatchFlags(Qt.MatchStartsWith|Qt.MatchWrap))''' 2856 return [QModelIndex()] 2857 def flags(self, index): 2858 '''Qt.ItemFlags Akonadi.EntityRightsFilterModel.flags(QModelIndex index)''' 2859 return Qt.ItemFlags() 2860 def accessRights(self): 2861 '''Akonadi.Collection.Rights Akonadi.EntityRightsFilterModel.accessRights()''' 2862 return Akonadi.Collection.Rights() 2863 def setAccessRights(self, rights): 2864 '''void Akonadi.EntityRightsFilterModel.setAccessRights(Akonadi.Collection.Rights rights)''' 2865 class PreprocessorBase(Akonadi.AgentBase): 2866 """""" 2867 # Enum Akonadi.PreprocessorBase.ProcessingResult 2868 ProcessingCompleted = 0 2869 ProcessingDelayed = 0 2870 ProcessingFailed = 0 2871 ProcessingRefused = 0 2872 2873 def __init__(self, id): 2874 '''void Akonadi.PreprocessorBase.__init__(QString id)''' 2875 def fetchScope(self): 2876 '''Akonadi.ItemFetchScope Akonadi.PreprocessorBase.fetchScope()''' 2877 return Akonadi.ItemFetchScope() 2878 def setFetchScope(self, fetchScope): 2879 '''void Akonadi.PreprocessorBase.setFetchScope(Akonadi.ItemFetchScope fetchScope)''' 2880 def finishProcessing(self, result): 2881 '''void Akonadi.PreprocessorBase.finishProcessing(Akonadi.PreprocessorBase.ProcessingResult result)''' 2882 def processItem(self, item): 2883 '''abstract Akonadi.PreprocessorBase.ProcessingResult Akonadi.PreprocessorBase.processItem(Akonadi.Item item)''' 2884 return Akonadi.PreprocessorBase.ProcessingResult() 2885 class UnlinkJob(Akonadi.Job): 2886 """""" 2887 def __init__(self, collection, items, parent = None): 2888 '''void Akonadi.UnlinkJob.__init__(Akonadi.Collection collection, list-of-Akonadi.Item items, QObject parent = None)''' 2889 def doStart(self): 2890 '''void Akonadi.UnlinkJob.doStart()''' 2891 class AgentInstance(): 2892 """""" 2893 # Enum Akonadi.AgentInstance.Status 2894 Idle = 0 2895 Running = 0 2896 Broken = 0 2897 2898 def __init__(self): 2899 '''void Akonadi.AgentInstance.__init__()''' 2900 def __init__(self, other): 2901 '''void Akonadi.AgentInstance.__init__(Akonadi.AgentInstance other)''' 2902 def __ne__(self, other): 2903 '''bool Akonadi.AgentInstance.__ne__(Akonadi.AgentInstance other)''' 2904 return bool() 2905 def abortCurrentTask(self): 2906 '''void Akonadi.AgentInstance.abortCurrentTask()''' 2907 def restart(self): 2908 '''void Akonadi.AgentInstance.restart()''' 2909 def reconfigure(self): 2910 '''void Akonadi.AgentInstance.reconfigure()''' 2911 def __eq__(self, other): 2912 '''bool Akonadi.AgentInstance.__eq__(Akonadi.AgentInstance other)''' 2913 return bool() 2914 def synchronizeCollectionTree(self): 2915 '''void Akonadi.AgentInstance.synchronizeCollectionTree()''' 2916 def synchronize(self): 2917 '''void Akonadi.AgentInstance.synchronize()''' 2918 def configure(self, parent = None): 2919 '''void Akonadi.AgentInstance.configure(QWidget parent = None)''' 2920 def setIsOnline(self, online): 2921 '''void Akonadi.AgentInstance.setIsOnline(bool online)''' 2922 def isOnline(self): 2923 '''bool Akonadi.AgentInstance.isOnline()''' 2924 return bool() 2925 def progress(self): 2926 '''int Akonadi.AgentInstance.progress()''' 2927 return int() 2928 def statusMessage(self): 2929 '''QString Akonadi.AgentInstance.statusMessage()''' 2930 return QString() 2931 def status(self): 2932 '''Akonadi.AgentInstance.Status Akonadi.AgentInstance.status()''' 2933 return Akonadi.AgentInstance.Status() 2934 def setName(self, name): 2935 '''void Akonadi.AgentInstance.setName(QString name)''' 2936 def name(self): 2937 '''QString Akonadi.AgentInstance.name()''' 2938 return QString() 2939 def identifier(self): 2940 '''QString Akonadi.AgentInstance.identifier()''' 2941 return QString() 2942 def type(self): 2943 '''Akonadi.AgentType Akonadi.AgentInstance.type()''' 2944 return Akonadi.AgentType() 2945 def isValid(self): 2946 '''bool Akonadi.AgentInstance.isValid()''' 2947 return bool() 2948 class CollectionMoveJob(Akonadi.Job): 2949 """""" 2950 def __init__(self, collection, destination, parent = None): 2951 '''void Akonadi.CollectionMoveJob.__init__(Akonadi.Collection collection, Akonadi.Collection destination, QObject parent = None)''' 2952 def doStart(self): 2953 '''void Akonadi.CollectionMoveJob.doStart()''' 2954 class Control(QObject): 2955 """""" 2956 def __init__(self): 2957 '''void Akonadi.Control.__init__()''' 2958 def widgetNeedsAkonadi(self, widget): 2959 '''static void Akonadi.Control.widgetNeedsAkonadi(QWidget widget)''' 2960 def restart(self): 2961 '''static bool Akonadi.Control.restart()''' 2962 return bool() 2963 def restart(self, parent): 2964 '''static bool Akonadi.Control.restart(QWidget parent)''' 2965 return bool() 2966 def stop(self): 2967 '''static bool Akonadi.Control.stop()''' 2968 return bool() 2969 def stop(self, parent): 2970 '''static bool Akonadi.Control.stop(QWidget parent)''' 2971 return bool() 2972 def start(self): 2973 '''static bool Akonadi.Control.start()''' 2974 return bool() 2975 def start(self, parent): 2976 '''static bool Akonadi.Control.start(QWidget parent)''' 2977 return bool() 2978 class AgentFactoryBase(QObject): 2979 """""" 2980 def __init__(self, catalogName, parent = None): 2981 '''void Akonadi.AgentFactoryBase.__init__(str catalogName, QObject parent = None)''' 2982 def createComponentData(self, identifier): 2983 '''void Akonadi.AgentFactoryBase.createComponentData(QString identifier)''' 2984 def createInstance(self, identifier): 2985 '''abstract QObject Akonadi.AgentFactoryBase.createInstance(QString identifier)''' 2986 return QObject() 2987 class StandardActionManager(QObject): 2988 """""" 2989 # Enum Akonadi.StandardActionManager.TextContext 2990 DialogTitle = 0 2991 DialogText = 0 2992 MessageBoxTitle = 0 2993 MessageBoxText = 0 2994 MessageBoxAlternativeText = 0 2995 ErrorMessageTitle = 0 2996 ErrorMessageText = 0 2997 2998 # Enum Akonadi.StandardActionManager.Type 2999 CreateCollection = 0 3000 CopyCollections = 0 3001 DeleteCollections = 0 3002 SynchronizeCollections = 0 3003 CollectionProperties = 0 3004 CopyItems = 0 3005 Paste = 0 3006 DeleteItems = 0 3007 ManageLocalSubscriptions = 0 3008 AddToFavoriteCollections = 0 3009 RemoveFromFavoriteCollections = 0 3010 RenameFavoriteCollection = 0 3011 CopyCollectionToMenu = 0 3012 CopyItemToMenu = 0 3013 MoveItemToMenu = 0 3014 MoveCollectionToMenu = 0 3015 CutItems = 0 3016 CutCollections = 0 3017 CreateResource = 0 3018 DeleteResources = 0 3019 ResourceProperties = 0 3020 SynchronizeResources = 0 3021 ToggleWorkOffline = 0 3022 CopyCollectionToDialog = 0 3023 MoveCollectionToDialog = 0 3024 CopyItemToDialog = 0 3025 MoveItemToDialog = 0 3026 SynchronizeCollectionsRecursive = 0 3027 MoveCollectionsToTrash = 0 3028 MoveItemsToTrash = 0 3029 RestoreCollectionsFromTrash = 0 3030 RestoreItemsFromTrash = 0 3031 MoveToTrashRestoreCollection = 0 3032 MoveToTrashRestoreCollectionAlternative = 0 3033 MoveToTrashRestoreItem = 0 3034 MoveToTrashRestoreItemAlternative = 0 3035 SynchronizeFavoriteCollections = 0 3036 LastType = 0 3037 3038 def __init__(self, actionCollection, parent = None): 3039 '''void Akonadi.StandardActionManager.__init__(KActionCollection actionCollection, QWidget parent = None)''' 3040 def createActionFolderMenu(self, menu, type): 3041 '''void Akonadi.StandardActionManager.createActionFolderMenu(QMenu menu, Akonadi.StandardActionManager.Type type)''' 3042 def setCollectionPropertiesPageNames(self, names): 3043 '''void Akonadi.StandardActionManager.setCollectionPropertiesPageNames(QStringList names)''' 3044 def setCapabilityFilter(self, capabilities): 3045 '''void Akonadi.StandardActionManager.setCapabilityFilter(QStringList capabilities)''' 3046 def setMimeTypeFilter(self, mimeTypes): 3047 '''void Akonadi.StandardActionManager.setMimeTypeFilter(QStringList mimeTypes)''' 3048 def setContextText(self, type, context, text): 3049 '''void Akonadi.StandardActionManager.setContextText(Akonadi.StandardActionManager.Type type, Akonadi.StandardActionManager.TextContext context, QString text)''' 3050 def setContextText(self, type, context, text): 3051 '''void Akonadi.StandardActionManager.setContextText(Akonadi.StandardActionManager.Type type, Akonadi.StandardActionManager.TextContext context, KLocalizedString text)''' 3052 def selectedItems(self): 3053 '''list-of-Akonadi.Item Akonadi.StandardActionManager.selectedItems()''' 3054 return [Akonadi.Item()] 3055 def selectedCollections(self): 3056 '''list-of-Akonadi.Collection Akonadi.StandardActionManager.selectedCollections()''' 3057 return [Akonadi.Collection()] 3058 def interceptAction(self, type, intercept = True): 3059 '''void Akonadi.StandardActionManager.interceptAction(Akonadi.StandardActionManager.Type type, bool intercept = True)''' 3060 def setFavoriteSelectionModel(self, selectionModel): 3061 '''void Akonadi.StandardActionManager.setFavoriteSelectionModel(QItemSelectionModel selectionModel)''' 3062 def setFavoriteCollectionsModel(self, favoritesModel): 3063 '''void Akonadi.StandardActionManager.setFavoriteCollectionsModel(Akonadi.FavoriteCollectionsModel favoritesModel)''' 3064 actionStateUpdated = pyqtSignal() # void actionStateUpdated() - signal 3065 def setActionText(self, type, text): 3066 '''void Akonadi.StandardActionManager.setActionText(Akonadi.StandardActionManager.Type type, KLocalizedString text)''' 3067 def action(self, type): 3068 '''KAction Akonadi.StandardActionManager.action(Akonadi.StandardActionManager.Type type)''' 3069 return KAction() 3070 def createAllActions(self): 3071 '''void Akonadi.StandardActionManager.createAllActions()''' 3072 def createAction(self, type): 3073 '''KAction Akonadi.StandardActionManager.createAction(Akonadi.StandardActionManager.Type type)''' 3074 return KAction() 3075 def setItemSelectionModel(self, selectionModel): 3076 '''void Akonadi.StandardActionManager.setItemSelectionModel(QItemSelectionModel selectionModel)''' 3077 def setCollectionSelectionModel(self, selectionModel): 3078 '''void Akonadi.StandardActionManager.setCollectionSelectionModel(QItemSelectionModel selectionModel)''' 3079 class TransactionCommitJob(Akonadi.Job): 3080 """""" 3081 def __init__(self, parent): 3082 '''void Akonadi.TransactionCommitJob.__init__(QObject parent)''' 3083 def doStart(self): 3084 '''void Akonadi.TransactionCommitJob.doStart()''' 3085 class CollectionFilterProxyModel(QSortFilterProxyModel): 3086 """""" 3087 def __init__(self, parent = None): 3088 '''void Akonadi.CollectionFilterProxyModel.__init__(QObject parent = None)''' 3089 def setExcludeVirtualCollections(self, exclude): 3090 '''void Akonadi.CollectionFilterProxyModel.setExcludeVirtualCollections(bool exclude)''' 3091 def flags(self, index): 3092 '''Qt.ItemFlags Akonadi.CollectionFilterProxyModel.flags(QModelIndex index)''' 3093 return Qt.ItemFlags() 3094 def filterAcceptsRow(self, sourceRow, sourceParent): 3095 '''bool Akonadi.CollectionFilterProxyModel.filterAcceptsRow(int sourceRow, QModelIndex sourceParent)''' 3096 return bool() 3097 def clearFilters(self): 3098 '''void Akonadi.CollectionFilterProxyModel.clearFilters()''' 3099 def mimeTypeFilters(self): 3100 '''QStringList Akonadi.CollectionFilterProxyModel.mimeTypeFilters()''' 3101 return QStringList() 3102 def addMimeTypeFilter(self, mimeType): 3103 '''void Akonadi.CollectionFilterProxyModel.addMimeTypeFilter(QString mimeType)''' 3104 def addMimeTypeFilters(self, mimeTypes): 3105 '''void Akonadi.CollectionFilterProxyModel.addMimeTypeFilters(QStringList mimeTypes)''' 3106 class EntityDeletedAttribute(Akonadi.Attribute): 3107 """""" 3108 def __init__(self): 3109 '''void Akonadi.EntityDeletedAttribute.__init__()''' 3110 def deserialize(self, data): 3111 '''void Akonadi.EntityDeletedAttribute.deserialize(QByteArray data)''' 3112 def serialized(self): 3113 '''QByteArray Akonadi.EntityDeletedAttribute.serialized()''' 3114 return QByteArray() 3115 def clone(self): 3116 '''Akonadi.EntityDeletedAttribute Akonadi.EntityDeletedAttribute.clone()''' 3117 return Akonadi.EntityDeletedAttribute() 3118 def type(self): 3119 '''QByteArray Akonadi.EntityDeletedAttribute.type()''' 3120 return QByteArray() 3121 def restoreResource(self): 3122 '''QString Akonadi.EntityDeletedAttribute.restoreResource()''' 3123 return QString() 3124 def restoreCollection(self): 3125 '''Akonadi.Collection Akonadi.EntityDeletedAttribute.restoreCollection()''' 3126 return Akonadi.Collection() 3127 def setRestoreCollection(self, col): 3128 '''void Akonadi.EntityDeletedAttribute.setRestoreCollection(Akonadi.Collection col)''' 3129 class MimeTypeChecker(): 3130 """""" 3131 def __init__(self): 3132 '''void Akonadi.MimeTypeChecker.__init__()''' 3133 def __init__(self, other): 3134 '''void Akonadi.MimeTypeChecker.__init__(Akonadi.MimeTypeChecker other)''' 3135 def containsWantedMimeType(self, mimeTypes): 3136 '''bool Akonadi.MimeTypeChecker.containsWantedMimeType(QStringList mimeTypes)''' 3137 return bool() 3138 def isWantedMimeType(self, mimeType): 3139 '''bool Akonadi.MimeTypeChecker.isWantedMimeType(QString mimeType)''' 3140 return bool() 3141 def isWantedCollection(self, collection): 3142 '''bool Akonadi.MimeTypeChecker.isWantedCollection(Akonadi.Collection collection)''' 3143 return bool() 3144 def isWantedCollection(self, collection, wantedMimeType): 3145 '''static bool Akonadi.MimeTypeChecker.isWantedCollection(Akonadi.Collection collection, QString wantedMimeType)''' 3146 return bool() 3147 def isWantedItem(self, item): 3148 '''bool Akonadi.MimeTypeChecker.isWantedItem(Akonadi.Item item)''' 3149 return bool() 3150 def isWantedItem(self, item, wantedMimeType): 3151 '''static bool Akonadi.MimeTypeChecker.isWantedItem(Akonadi.Item item, QString wantedMimeType)''' 3152 return bool() 3153 def removeWantedMimeType(self, mimeType): 3154 '''void Akonadi.MimeTypeChecker.removeWantedMimeType(QString mimeType)''' 3155 def addWantedMimeType(self, mimeType): 3156 '''void Akonadi.MimeTypeChecker.addWantedMimeType(QString mimeType)''' 3157 def setWantedMimeTypes(self, mimeTypes): 3158 '''void Akonadi.MimeTypeChecker.setWantedMimeTypes(QStringList mimeTypes)''' 3159 def wantedMimeTypes(self): 3160 '''QStringList Akonadi.MimeTypeChecker.wantedMimeTypes()''' 3161 return QStringList() 3162 class RecursiveCollectionFilterProxyModel(KRecursiveFilterProxyModel): 3163 """""" 3164 def __init__(self, parent = None): 3165 '''void Akonadi.RecursiveCollectionFilterProxyModel.__init__(QObject parent = None)''' 3166 def columnCount(self, index): 3167 '''int Akonadi.RecursiveCollectionFilterProxyModel.columnCount(QModelIndex index)''' 3168 return int() 3169 def setSearchPattern(self, pattern): 3170 '''void Akonadi.RecursiveCollectionFilterProxyModel.setSearchPattern(QString pattern)''' 3171 def acceptRow(self, sourceRow, sourceParent): 3172 '''bool Akonadi.RecursiveCollectionFilterProxyModel.acceptRow(int sourceRow, QModelIndex sourceParent)''' 3173 return bool() 3174 def contentMimeTypeInclusionFilters(self): 3175 '''QStringList Akonadi.RecursiveCollectionFilterProxyModel.contentMimeTypeInclusionFilters()''' 3176 return QStringList() 3177 def setContentMimeTypeInclusionFilters(self, mimeTypes): 3178 '''void Akonadi.RecursiveCollectionFilterProxyModel.setContentMimeTypeInclusionFilters(QStringList mimeTypes)''' 3179 def clearFilters(self): 3180 '''void Akonadi.RecursiveCollectionFilterProxyModel.clearFilters()''' 3181 def addContentMimeTypeInclusionFilters(self, mimeTypes): 3182 '''void Akonadi.RecursiveCollectionFilterProxyModel.addContentMimeTypeInclusionFilters(QStringList mimeTypes)''' 3183 def addContentMimeTypeInclusionFilter(self, mimeType): 3184 '''void Akonadi.RecursiveCollectionFilterProxyModel.addContentMimeTypeInclusionFilter(QString mimeType)''' 3185 class Item(Akonadi.Entity): 3186 """""" 3187 # Enum Akonadi.Item.UrlType 3188 UrlShort = 0 3189 UrlWithMimeType = 0 3190 3191 FullPayload = None # str - member 3192 def __init__(self): 3193 '''void Akonadi.Item.__init__()''' 3194 def __init__(self, mimeType): 3195 '''void Akonadi.Item.__init__(QString mimeType)''' 3196 def __init__(self, other): 3197 '''void Akonadi.Item.__init__(Akonadi.Item other)''' 3198 def __init__(self, id): 3199 '''void Akonadi.Item.__init__(int id)''' 3200 def availablePayloadMetaTypeIds(self): 3201 '''unknown-type Akonadi.Item.availablePayloadMetaTypeIds()''' 3202 return unknown-type() 3203 def clearPayload(self): 3204 '''void Akonadi.Item.clearPayload()''' 3205 def apply(self, other): 3206 '''void Akonadi.Item.apply(Akonadi.Item other)''' 3207 def availablePayloadParts(self): 3208 '''list-of-QByteArray Akonadi.Item.availablePayloadParts()''' 3209 return [QByteArray()] 3210 def url(self, type = None): 3211 '''KUrl Akonadi.Item.url(Akonadi.Item.UrlType type = Akonadi.Item.UrlShort)''' 3212 return KUrl() 3213 def hasPayload(self): 3214 '''bool Akonadi.Item.hasPayload()''' 3215 return bool() 3216 def mimeType(self): 3217 '''QString Akonadi.Item.mimeType()''' 3218 return QString() 3219 def setMimeType(self, mimeType): 3220 '''void Akonadi.Item.setMimeType(QString mimeType)''' 3221 def size(self): 3222 '''int Akonadi.Item.size()''' 3223 return int() 3224 def setSize(self, size): 3225 '''void Akonadi.Item.setSize(int size)''' 3226 def storageCollectionId(self): 3227 '''int Akonadi.Item.storageCollectionId()''' 3228 return int() 3229 def revision(self): 3230 '''int Akonadi.Item.revision()''' 3231 return int() 3232 def setRevision(self, revision): 3233 '''void Akonadi.Item.setRevision(int revision)''' 3234 def loadedPayloadParts(self): 3235 '''list-of-QByteArray Akonadi.Item.loadedPayloadParts()''' 3236 return [QByteArray()] 3237 def payloadData(self): 3238 '''QByteArray Akonadi.Item.payloadData()''' 3239 return QByteArray() 3240 def setPayloadFromData(self, data): 3241 '''void Akonadi.Item.setPayloadFromData(QByteArray data)''' 3242 def clearFlags(self): 3243 '''void Akonadi.Item.clearFlags()''' 3244 def setFlags(self, flags): 3245 '''void Akonadi.Item.setFlags(list-of-QByteArray flags)''' 3246 def clearFlag(self, name): 3247 '''void Akonadi.Item.clearFlag(QByteArray name)''' 3248 def setFlag(self, name): 3249 '''void Akonadi.Item.setFlag(QByteArray name)''' 3250 def hasFlag(self, name): 3251 '''bool Akonadi.Item.hasFlag(QByteArray name)''' 3252 return bool() 3253 def setModificationTime(self, datetime): 3254 '''void Akonadi.Item.setModificationTime(QDateTime datetime)''' 3255 def modificationTime(self): 3256 '''QDateTime Akonadi.Item.modificationTime()''' 3257 return QDateTime() 3258 def flags(self): 3259 '''list-of-QByteArray Akonadi.Item.flags()''' 3260 return [QByteArray()] 3261 def fromUrl(self, url): 3262 '''static Akonadi.Item Akonadi.Item.fromUrl(KUrl url)''' 3263 return Akonadi.Item() 3264 class CollectionStatisticsDelegate(QStyledItemDelegate): 3265 """""" 3266 def __init__(self, parent): 3267 '''void Akonadi.CollectionStatisticsDelegate.__init__(QTreeView parent)''' 3268 def __init__(self, parent): 3269 '''void Akonadi.CollectionStatisticsDelegate.__init__(QAbstractItemView parent)''' 3270 def progressAnimationEnabled(self): 3271 '''bool Akonadi.CollectionStatisticsDelegate.progressAnimationEnabled()''' 3272 return bool() 3273 def setProgressAnimationEnabled(self, enable): 3274 '''void Akonadi.CollectionStatisticsDelegate.setProgressAnimationEnabled(bool enable)''' 3275 def initStyleOption(self, option, index): 3276 '''void Akonadi.CollectionStatisticsDelegate.initStyleOption(QStyleOptionViewItem option, QModelIndex index)''' 3277 def paint(self, painter, option, index): 3278 '''void Akonadi.CollectionStatisticsDelegate.paint(QPainter painter, QStyleOptionViewItem option, QModelIndex index)''' 3279 def unreadCountShown(self): 3280 '''bool Akonadi.CollectionStatisticsDelegate.unreadCountShown()''' 3281 return bool() 3282 def setUnreadCountShown(self, enable): 3283 '''void Akonadi.CollectionStatisticsDelegate.setUnreadCountShown(bool enable)''' 3284 class MessageModel(Akonadi.ItemModel): 3285 """""" 3286 # Enum Akonadi.MessageModel.Column 3287 Subject = 0 3288 Sender = 0 3289 Receiver = 0 3290 Date = 0 3291 Size = 0 3292 3293 def __init__(self, parent = None): 3294 '''void Akonadi.MessageModel.__init__(QObject parent = None)''' 3295 def mimeTypes(self): 3296 '''QStringList Akonadi.MessageModel.mimeTypes()''' 3297 return QStringList() 3298 def rowCount(self, parent = QModelIndex()): 3299 '''int Akonadi.MessageModel.rowCount(QModelIndex parent = QModelIndex())''' 3300 return int() 3301 def headerData(self, section, orientation, role = None): 3302 '''QVariant Akonadi.MessageModel.headerData(int section, Qt.Orientation orientation, int role = Qt.DisplayRole)''' 3303 return QVariant() 3304 def data(self, index, role = None): 3305 '''QVariant Akonadi.MessageModel.data(QModelIndex index, int role = Qt.DisplayRole)''' 3306 return QVariant() 3307 def columnCount(self, parent = QModelIndex()): 3308 '''int Akonadi.MessageModel.columnCount(QModelIndex parent = QModelIndex())''' 3309 return int() 3310 3311 3312 def qHash(collection): 3313 '''static int qHash(Akonadi.Collection collection)''' 3314 return int() 3315 3316 def qHash(): 3317 '''static Akonadi.Entity qHash()''' 3318 return Akonadi.Entity() 3319