summaryrefslogtreecommitdiffstats
path: root/kmail/folderstorage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-01 00:37:02 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-09-01 00:37:02 +0000
commitcc29364f06178f8f6b457384f2ec37a042bd9d43 (patch)
tree7c77a3184c698bbf9d98cef09fb1ba8124daceba /kmail/folderstorage.h
parent4f6c584bacc8c3c694228f36ada3de77a76614a6 (diff)
downloadtdepim-cc29364f06178f8f6b457384f2ec37a042bd9d43.tar.gz
tdepim-cc29364f06178f8f6b457384f2ec37a042bd9d43.zip
* Massive set of changes to bring in all fixes and enhancements from the Enterprise PIM branch
* Ensured that the Trinity changes were applied on top of those enhancements, and any redundancy removed * Added journal read support to the CalDAV resource * Fixed CalDAV resource to use events URL for tasks and journals when separate URL checkbox unchecked git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1170461 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/folderstorage.h')
-rw-r--r--kmail/folderstorage.h18
1 files changed, 15 insertions, 3 deletions
diff --git a/kmail/folderstorage.h b/kmail/folderstorage.h
index e132c7b07..7d7165431 100644
--- a/kmail/folderstorage.h
+++ b/kmail/folderstorage.h
@@ -106,8 +106,7 @@ public:
virtual bool noContent() const { return mNoContent; }
/** Specify, that the folder can't contain mails. */
- virtual void setNoContent(bool aNoContent)
- { mNoContent = aNoContent; }
+ virtual void setNoContent(bool aNoContent);
/** Returns, if the folder can't have children */
virtual bool noChildren() const { return mNoChildren; }
@@ -342,6 +341,9 @@ public:
/** Is the folder read-only? */
virtual bool isReadOnly() const = 0;
+ /** Can messages in this folder be deleted? */
+ virtual bool canDeleteMessages() const;
+
/** Returns the label of the folder for visualization. */
TQString label() const;
@@ -417,6 +419,8 @@ public:
virtual KMAccount* account() const;
+ virtual bool mailCheckInProgress() const;
+
signals:
/** Emitted when the status, name, or associated accounts of this
folder changed. */
@@ -432,7 +436,7 @@ signals:
/** Emitted when the folder was closed and ticket owners have to reopen */
void closed( KMFolder* );
-
+
/** Emitted when the serial numbers of this folder were invalidated. */
void invalidated( KMFolder * );
@@ -451,6 +455,9 @@ signals:
/** Emitted when the readonly status of the folder changes. */
void readOnlyChanged(KMFolder*);
+ /** Emitted when the no content state of the folder changes. */
+ void noContentChanged();
+
/** Emitted before a message is removed from the folder. */
void msgRemoved(KMFolder*, Q_UINT32 sernum);
@@ -494,6 +501,11 @@ signals:
/** Emitted when the folder's size changes. */
void folderSizeChanged();
+ /**
+ * Emiitted when the sync state, i.e. mailCheckInProgress(), changes.
+ * Currently only supported for disconnected IMAP.
+ */
+ void syncStateChanged();
public slots:
/** Incrementally update the index if possible else call writeIndex */