summaryrefslogtreecommitdiffstats
path: root/kmail/folderstorage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kmail/folderstorage.h
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/folderstorage.h')
-rw-r--r--kmail/folderstorage.h42
1 files changed, 21 insertions, 21 deletions
diff --git a/kmail/folderstorage.h b/kmail/folderstorage.h
index 7d7165431..b7effe082 100644
--- a/kmail/folderstorage.h
+++ b/kmail/folderstorage.h
@@ -63,7 +63,7 @@ namespace KMail {
}
using KMail::AttachmentStrategy;
-typedef TQValueList<Q_UINT32> SerNumList;
+typedef TQValueList<TQ_UINT32> SerNumList;
/**
* @short The FolderStorage class is the bass class for the storage related
@@ -238,13 +238,13 @@ public:
virtual int countUnread();
/** Total size of the contents of this folder. */
- Q_INT64 folderSize() const;
+ TQ_INT64 folderSize() const;
/** Return whether the folder is close to its quota limit, which can
* be reflected in the UI. */
virtual bool isCloseToQuota() const;
- /** Called by KMMsgBase::setStatus when status of a message has changed
+ /** Called by KMMsgBase::seStatus when status of a message has changed
required to keep the number unread messages variable current. */
virtual void msgStatusChanged( const KMMsgStatus oldStatus,
const KMMsgStatus newStatus,
@@ -324,7 +324,7 @@ public:
/** Change the dirty flag. */
void setDirty(bool f);
- /** Returns TRUE if the folder contains deleted messages */
+ /** Returns TRUE if the folder tqcontains deleted messages */
bool needsCompacting() const { return needsCompact; }
virtual void setNeedsCompacting(bool f) { needsCompact = f; }
@@ -363,10 +363,10 @@ public:
void deregisterFromMessageDict();
/** Set the status of the message at index @p idx to @p status. */
- virtual void setStatus(int idx, KMMsgStatus status, bool toggle=false);
+ virtual void seStatus(int idx, KMMsgStatus status, bool toggle=false);
/** Set the status of the message(s) in the TQValueList @p ids to @p status. */
- virtual void setStatus(TQValueList<int>& ids, KMMsgStatus status, bool toggle=false);
+ virtual void seStatus(TQValueList<int>& ids, KMMsgStatus status, bool toggle=false);
void removeJobs();
@@ -412,7 +412,7 @@ public:
* Check if the message matches the search criteria
* The end is signaled with searchDone()
*/
- virtual void search( const KMSearchPattern*, Q_UINT32 serNum );
+ virtual void search( const KMSearchPattern*, TQ_UINT32 serNum );
/** Returns true if this folder can be moved */
virtual bool isMoveable() const;
@@ -437,8 +437,8 @@ 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 * );
+ /** Emitted when the serial numbers of this folder were tqinvalidated. */
+ void tqinvalidated( KMFolder * );
/** Emitted when the name of the folder changes. */
void nameChanged();
@@ -459,7 +459,7 @@ signals:
void noContentChanged();
/** Emitted before a message is removed from the folder. */
- void msgRemoved(KMFolder*, Q_UINT32 sernum);
+ void msgRemoved(KMFolder*, TQ_UINT32 sernum);
/** Emitted after a message is removed from the folder. */
void msgRemoved( int idx, TQString msgIdMD5 );
@@ -467,10 +467,10 @@ signals:
/** Emitted when a message is added from the folder. */
void msgAdded(int idx);
- void msgAdded(KMFolder*, Q_UINT32 sernum);
+ void msgAdded(KMFolder*, TQ_UINT32 sernum);
/** Emitted, when the status of a message is changed */
- void msgChanged(KMFolder*, Q_UINT32 sernum, int delta);
+ void msgChanged(KMFolder*, TQ_UINT32 sernum, int delta);
/** Emitted when a field of the header of a specific message changed. */
void msgHeaderChanged(KMFolder*, int);
@@ -489,14 +489,14 @@ signals:
* The matching serial numbers are included
* If @p complete is true the search is done
*/
- void searchResult( KMFolder*, TQValueList<Q_UINT32>,
+ void searchResult( KMFolder*, TQValueList<TQ_UINT32>,
const KMSearchPattern*, bool complete );
/**
* Emitted when a search for a single message is completed
* The serial number and a bool matching yes/no is included
*/
- void searchDone( KMFolder*, Q_UINT32, const KMSearchPattern*, bool );
+ void searchDone( KMFolder*, TQ_UINT32, const KMSearchPattern*, bool );
/** Emitted when the folder's size changes. */
void folderSizeChanged();
@@ -553,7 +553,7 @@ protected:
friend class KMMsgDict;
/** Inserts messages into the message dictionary. The messages will get
* new serial numbers. This is only used on newly appeared folders, where
- * there is no .ids file yet, or when that has been invalidated. */
+ * there is no .ids file yet, or when that has been tqinvalidated. */
virtual void fillMessageDict() {}
/** Read the on-disk cache of serial numbers of messages in this store
@@ -581,12 +581,12 @@ friend class KMMsgDict;
/** Replaces the serial number for the message @p msg at index @p idx with
* @p sernum */
- void replaceMsgSerNum( unsigned long sernum, KMMsgBase* msg, int idx );
+ void tqreplaceMsgSerNum( unsigned long sernum, KMMsgBase* msg, int idx );
- /** Called when serial numbers for a folder are invalidated,
- invalidates/recreates data structures dependent on the
+ /** Called when serial numbers for a folder are tqinvalidated,
+ tqinvalidates/recreates data structures dependent on the
serial numbers for this folder */
- void invalidateFolder();
+ void tqinvalidateFolder();
/** Called by KMFolder::remove() to delete the actual contents.
At the time of the call the folder has already been closed, and
@@ -605,7 +605,7 @@ friend class KMMsgDict;
virtual void clearIndex(bool autoDelete=true, bool syncDict = false) = 0;
virtual void truncateIndex() = 0;
- virtual Q_INT64 doFolderSize() const { return 0; };
+ virtual TQ_INT64 doFolderSize() const { return 0; };
int mOpenCount;
int mQuiet;
@@ -623,7 +623,7 @@ friend class KMMsgDict;
/** number of unread messages, -1 if not yet set */
int mUnreadMsgs, mGuessedUnreadMsgs;
int mTotalMsgs;
- Q_INT64 mSize;
+ TQ_INT64 mSize;
bool mWriteConfigEnabled :1;
/** sven: true if on destruct folder needs to be compacted. */
bool needsCompact :1;