summaryrefslogtreecommitdiffstats
path: root/kresources/scalix/scalixadmin/jobs.h
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/scalix/scalixadmin/jobs.h')
-rw-r--r--kresources/scalix/scalixadmin/jobs.h54
1 files changed, 27 insertions, 27 deletions
diff --git a/kresources/scalix/scalixadmin/jobs.h b/kresources/scalix/scalixadmin/jobs.h
index 3b5a1b81f..24ce1c020 100644
--- a/kresources/scalix/scalixadmin/jobs.h
+++ b/kresources/scalix/scalixadmin/jobs.h
@@ -46,37 +46,37 @@ namespace Scalix {
class Delegate
{
public:
- typedef QValueList<Delegate> List;
+ typedef TQValueList<Delegate> List;
Delegate();
- Delegate( const QString &email, int rights );
+ Delegate( const TQString &email, int rights );
bool isValid() const;
- QString email() const;
+ TQString email() const;
int rights() const;
- static QString rightsAsString( int rights );
+ static TQString rightsAsString( int rights );
private:
- QString mEmail;
+ TQString mEmail;
int mRights;
};
/**
* Sets/Changes the password of the user encoded in @p url.
*/
- SetPasswordJob* setPassword( KIO::Slave* slave, const KURL& url, const QString& oldPassword, const QString& newPassword );
+ SetPasswordJob* setPassword( KIO::Slave* slave, const KURL& url, const TQString& oldPassword, const TQString& newPassword );
/**
* Adds a delegate represented by @p email with the given @p params for the user encoded in @p url.
*/
- SetDelegateJob* setDelegate( KIO::Slave* slave, const KURL& url, const QString& email, int params );
+ SetDelegateJob* setDelegate( KIO::Slave* slave, const KURL& url, const TQString& email, int params );
/**
* Deletes the delegate represented by @p email for the user encoded in @p url.
*/
- DeleteDelegateJob* deleteDelegate( KIO::Slave* slave, const KURL& url, const QString& email );
+ DeleteDelegateJob* deleteDelegate( KIO::Slave* slave, const KURL& url, const TQString& email );
/**
* Retrieves the delegates for the user encoded in @p url.
@@ -86,12 +86,12 @@ namespace Scalix {
/**
* Adds the mailbox of another user represented by @p email to the users 'Other Users' namespace.
*/
- AddOtherUserJob* addOtherUser( KIO::Slave* slave, const KURL& url, const QString& email );
+ AddOtherUserJob* addOtherUser( KIO::Slave* slave, const KURL& url, const TQString& email );
/**
* Deletes the mailbox of another user represented by @p email from the users 'Other Users' namespace.
*/
- DeleteOtherUserJob* deleteOtherUser( KIO::Slave* slave, const KURL& url, const QString& email );
+ DeleteOtherUserJob* deleteOtherUser( KIO::Slave* slave, const KURL& url, const TQString& email );
/**
* Retrieves the list of all other users.
@@ -104,7 +104,7 @@ namespace Scalix {
* @param enabled Whether the out-of-office functionality is enabled.
* @param msg The out-of-office message.
*/
- SetOutOfOfficeJob* setOutOfOffice( KIO::Slave* slave, const KURL& url, bool enabled, const QString& msg );
+ SetOutOfOfficeJob* setOutOfOffice( KIO::Slave* slave, const KURL& url, bool enabled, const TQString& msg );
/**
* Retrieves the out-of-office data.
@@ -115,19 +115,19 @@ namespace Scalix {
class SetPasswordJob : public KIO::SimpleJob
{
public:
- SetPasswordJob( const KURL& url, const QByteArray &packedArgs, bool showProgressInfo );
+ SetPasswordJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
};
class SetDelegateJob : public KIO::SimpleJob
{
public:
- SetDelegateJob( const KURL& url, const QByteArray &packedArgs, bool showProgressInfo );
+ SetDelegateJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
};
class DeleteDelegateJob : public KIO::SimpleJob
{
public:
- DeleteDelegateJob( const KURL& url, const QByteArray &packedArgs, bool showProgressInfo );
+ DeleteDelegateJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
};
class GetDelegatesJob : public KIO::SimpleJob
@@ -135,12 +135,12 @@ namespace Scalix {
Q_OBJECT
public:
- GetDelegatesJob( const KURL& url, const QByteArray &packedArgs, bool showProgressInfo );
+ GetDelegatesJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
Delegate::List delegates() const;
private slots:
- void slotInfoMessage( KIO::Job*, const QString& );
+ void slotInfoMessage( KIO::Job*, const TQString& );
private:
Delegate::List mDelegates;
@@ -149,13 +149,13 @@ namespace Scalix {
class AddOtherUserJob : public KIO::SimpleJob
{
public:
- AddOtherUserJob( const KURL& url, const QByteArray &packedArgs, bool showProgressInfo );
+ AddOtherUserJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
};
class DeleteOtherUserJob : public KIO::SimpleJob
{
public:
- DeleteOtherUserJob( const KURL& url, const QByteArray &packedArgs, bool showProgressInfo );
+ DeleteOtherUserJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
};
class GetOtherUsersJob : public KIO::SimpleJob
@@ -163,21 +163,21 @@ namespace Scalix {
Q_OBJECT
public:
- GetOtherUsersJob( const KURL& url, const QByteArray &packedArgs, bool showProgressInfo );
+ GetOtherUsersJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
- QStringList otherUsers() const;
+ TQStringList otherUsers() const;
private slots:
- void slotInfoMessage( KIO::Job*, const QString& );
+ void slotInfoMessage( KIO::Job*, const TQString& );
private:
- QStringList mOtherUsers;
+ TQStringList mOtherUsers;
};
class SetOutOfOfficeJob : public KIO::SimpleJob
{
public:
- SetOutOfOfficeJob( const KURL& url, const QByteArray &packedArgs, bool showProgressInfo );
+ SetOutOfOfficeJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
};
class GetOutOfOfficeJob : public KIO::SimpleJob
@@ -185,17 +185,17 @@ namespace Scalix {
Q_OBJECT
public:
- GetOutOfOfficeJob( const KURL& url, const QByteArray &packedArgs, bool showProgressInfo );
+ GetOutOfOfficeJob( const KURL& url, const TQByteArray &packedArgs, bool showProgressInfo );
bool enabled() const;
- QString message() const;
+ TQString message() const;
private slots:
- void slotInfoMessage( KIO::Job*, const QString& );
+ void slotInfoMessage( KIO::Job*, const TQString& );
private:
bool mEnabled;
- QString mMessage;
+ TQString mMessage;
};
}