diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:53:50 +0000 |
commit | 7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch) | |
tree | 8474f9b444b2756228600050f07a7ff25de532b2 /kmail/folderdiaacltab.h | |
parent | f587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff) | |
download | tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/folderdiaacltab.h')
-rw-r--r-- | kmail/folderdiaacltab.h | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/kmail/folderdiaacltab.h b/kmail/folderdiaacltab.h index a800af9b7..466ec2d62 100644 --- a/kmail/folderdiaacltab.h +++ b/kmail/folderdiaacltab.h @@ -48,7 +48,7 @@ namespace KMail { enum IMAPUserIdFormat { FullEmail, UserName }; struct ACLListEntry; -typedef QValueVector<KMail::ACLListEntry> ACLList; +typedef TQValueVector<KMail::ACLListEntry> ACLList; class ImapAccountBase; @@ -60,12 +60,12 @@ class ACLEntryDialog :public KDialogBase { Q_OBJECT public: - ACLEntryDialog( IMAPUserIdFormat userIdFormat, const QString& caption, QWidget* parent, const char* name = 0 ); + ACLEntryDialog( IMAPUserIdFormat userIdFormat, const TQString& caption, TQWidget* parent, const char* name = 0 ); - void setValues( const QString& userId, unsigned int permissions ); + void setValues( const TQString& userId, unsigned int permissions ); - QString userId() const; - QStringList userIds() const; + TQString userId() const; + TQStringList userIds() const; unsigned int permissions() const; private slots: @@ -73,7 +73,7 @@ private slots: void slotChanged(); private: - QVButtonGroup* mButtonGroup; + TQVButtonGroup* mButtonGroup; KLineEdit* mUserIdLineEdit; IMAPUserIdFormat mUserIdFormat; }; @@ -87,7 +87,7 @@ class FolderDiaACLTab : public FolderDiaTab Q_OBJECT public: - FolderDiaACLTab( KMFolderDialog* dlg, QWidget* parent, const char* name = 0 ); + FolderDiaACLTab( KMFolderDialog* dlg, TQWidget* parent, const char* name = 0 ); virtual void load(); virtual bool save(); @@ -97,16 +97,16 @@ public: private slots: // Network (KIO) slots - void slotConnectionResult( int, const QString& ); + void slotConnectionResult( int, const TQString& ); void slotReceivedACL( KMFolder*, KIO::Job*, const KMail::ACLList& ); void slotMultiSetACLResult(KIO::Job *); - void slotACLChanged( const QString&, int ); + void slotACLChanged( const TQString&, int ); void slotReceivedUserRights( KMFolder* folder ); void slotDirectoryListingFinished(KMFolderImap*); // User (KListView) slots - void slotEditACL(QListViewItem*); - void slotSelectionChanged(QListViewItem*); + void slotEditACL(TQListViewItem*); + void slotSelectionChanged(TQListViewItem*); // User (pushbuttons) slots void slotAddACL(); @@ -121,11 +121,11 @@ private: void startListing(); void loadListView( const KMail::ACLList& aclList ); void loadFinished( const KMail::ACLList& aclList ); - void addACLs( const QStringList& userIds, unsigned int permissions ); + void addACLs( const TQStringList& userIds, unsigned int permissions ); private: // The widget containing the ACL widgets (listview and buttons) - QHBox* mACLWidget; + TQHBox* mACLWidget; //class ListView; class ListViewItem; KListView* mListView; @@ -133,8 +133,8 @@ private: KPushButton* mEditACL; KPushButton* mRemoveACL; - QStringList mRemovedACLs; - QString mImapPath; + TQStringList mRemovedACLs; + TQString mImapPath; ImapAccountBase* mImapAccount; int mUserRights; KMFolderType mFolderType; @@ -142,8 +142,8 @@ private: ACLList mACLList; // to be set IMAPUserIdFormat mUserIdFormat; - QLabel* mLabel; - QWidgetStack* mStack; + TQLabel* mLabel; + TQWidgetStack* mStack; KMFolderDialog* mDlg; bool mChanged; |