From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: Initial conversion of kdepim to TQt This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/kmheaders.h | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'kmail/kmheaders.h') diff --git a/kmail/kmheaders.h b/kmail/kmheaders.h index 4eddbdf4..e6bbe422 100644 --- a/kmail/kmheaders.h +++ b/kmail/kmheaders.h @@ -10,7 +10,7 @@ using KMail::HeaderItem; #include #include // for KPaintInfo -#include // for KMMsgStatus +#include // for KMMsgtqStatus #include #include @@ -48,11 +48,12 @@ enum NestingPolicy { AlwaysOpen = 0, DefaultOpen, DefaultClosed, OpenUnread }; class KMHeaders : public KListView { Q_OBJECT + TQ_OBJECT friend class ::KMail::HeaderItem; // For easy access to the pixmaps public: - KMHeaders(KMMainWidget *owner, TQWidget *parent=0, const char *name=0); + KMHeaders(KMMainWidget *owner, TQWidget *tqparent=0, const char *name=0); virtual ~KMHeaders(); /** A new folder has been selected update the list of headers shown @@ -76,13 +77,13 @@ public: /** Set all messages in the current thread to status @p status or toggle it, if specified. */ - virtual void setThreadStatus(KMMsgStatus status, bool toggle=false); + virtual void setThreadtqStatus(KMMsgtqStatus status, bool toggle=false); /* Set message status to read if it is new, or unread */ virtual void setMsgRead(int msgId); /** The following methods processes all selected messages. */ - virtual void setMsgStatus(KMMsgStatus status, bool toggle=false); + virtual void setMsgtqStatus(KMMsgtqStatus status, bool toggle=false); virtual void deleteMsg(); virtual void applyFiltersOnMsg(); virtual void undo(); @@ -113,7 +114,7 @@ public: /** Returns the sernums of all selected items. */ TQValueList selectedSernums(); - /** Returns the sernums of all visible (ie. items with expanded parent, not hidden by + /** Returns the sernums of all visible (ie. items with expanded tqparent, not hidden by eg. the quick search) selected items. */ TQValueList selectedVisibleSernums(); @@ -284,13 +285,13 @@ public slots: virtual void ensureCurrentItemVisible(); - /** Select an item and if it is the parent of a closed thread, also - recursively select its children. */ + /** Select an item and if it is the tqparent of a closed thread, also + recursively select its tqchildren. */ virtual void setSelected(TQListViewItem *item, bool selected); /** Select several items by message index - * and if they are the parent of a closed thread, also - * recursively select their children. */ + * and if they are the tqparent of a closed thread, also + * recursively select their tqchildren. */ void setSelectedByIndex(TQValueList items, bool selected); /** switch a column with the given id (see KPaintInfo enum) @@ -298,7 +299,7 @@ public slots: void slotToggleColumn(int id, int mode = -1); /** Provide information about number of messages in a folder */ - void setFolderInfoStatus(); + void setFolderInfotqStatus(); protected: static TQPixmap *pixNew, *pixUns, *pixDel, *pixRead, *pixRep, *pixSent, -- cgit v1.2.3