summaryrefslogtreecommitdiffstats
path: root/kmail/acljobs.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /kmail/acljobs.h
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
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
Diffstat (limited to 'kmail/acljobs.h')
-rw-r--r--kmail/acljobs.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/kmail/acljobs.h b/kmail/acljobs.h
index d6a9b245b..d548c621e 100644
--- a/kmail/acljobs.h
+++ b/kmail/acljobs.h
@@ -19,11 +19,11 @@
*
* In addition, as a special exception, the copyright holders give
* permission to link the code of this program with any edition of
- * the Qt library by Trolltech AS, Norway (or with modified versions
- * of Qt that use the same license as Qt), and distribute linked
+ * the TQt library by Trolltech AS, Norway (or with modified versions
+ * of TQt that use the same license as TQt), and distribute linked
* combinations including the two. You must obey the GNU General
* Public License in all respects for all of the code used other than
- * Qt. If you modify this file, you may extend this exception to
+ * TQt. If you modify this file, you may extend this exception to
* your version of the file, but you are not obligated to do so. If
* you do not wish to do so, delete this exception statement from
* your version.
@@ -39,7 +39,7 @@ namespace KMail {
/// One entry in the ACL list: user and permissions
struct ACLListEntry {
- ACLListEntry() {} // for QValueVector
+ ACLListEntry() {} // for TQValueVector
ACLListEntry( const TQString& u, const TQString& irl, int p )
: userId( u ), internalRightsList( irl ), permissions( p ), changed( false ) {}
TQString userId;
@@ -51,7 +51,7 @@ namespace KMail {
typedef TQValueVector<ACLListEntry> ACLList;
/**
- * This namespace tqcontains functions that return jobs for ACL operations.
+ * This namespace contains functions that return jobs for ACL operations.
*
* The current implementation is tied to IMAP.
* If someone wants to extend this to other protocols, turn the class into a namespace
@@ -108,6 +108,7 @@ namespace ACLJobs {
class GetACLJob : public KIO::SimpleJob
{
Q_OBJECT
+ TQ_OBJECT
public:
GetACLJob( const KURL& url, const TQByteArray &packedArgs,
bool showProgressInfo );
@@ -124,6 +125,7 @@ namespace ACLJobs {
class GetUserRightsJob : public KIO::SimpleJob
{
Q_OBJECT
+ TQ_OBJECT
public:
GetUserRightsJob( const KURL& url, const TQByteArray &packedArgs,
bool showProgressInfo );
@@ -140,6 +142,7 @@ namespace ACLJobs {
class DeleteACLJob : public KIO::SimpleJob
{
Q_OBJECT
+ TQ_OBJECT
public:
DeleteACLJob( const KURL& url, const TQString& userId,
const TQByteArray &packedArgs,
@@ -154,6 +157,7 @@ namespace ACLJobs {
/// Set and delete a list of permissions for different users on a given url
class MultiSetACLJob : public KIO::Job {
Q_OBJECT
+ TQ_OBJECT
public:
MultiSetACLJob( KIO::Slave* slave, const KURL& url, const ACLList& acl, bool showProgressInfo );