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 /kresources/scalix/scalixadmin/otheruserview.cpp | |
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 'kresources/scalix/scalixadmin/otheruserview.cpp')
-rw-r--r-- | kresources/scalix/scalixadmin/otheruserview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kresources/scalix/scalixadmin/otheruserview.cpp b/kresources/scalix/scalixadmin/otheruserview.cpp index 70bc9e3d5..19b9c3b65 100644 --- a/kresources/scalix/scalixadmin/otheruserview.cpp +++ b/kresources/scalix/scalixadmin/otheruserview.cpp @@ -27,43 +27,43 @@ class OtherUserItem : public QListViewItem { public: - OtherUserItem( QListView *parent, const QString &user ) - : QListViewItem( parent ), mUser( user ) + OtherUserItem( TQListView *parent, const TQString &user ) + : TQListViewItem( parent ), mUser( user ) { setText( 0, mUser ); } - QString user() const { return mUser; } + TQString user() const { return mUser; } private: - QString mUser; + TQString mUser; }; -OtherUserView::OtherUserView( OtherUserManager *manager, QWidget *parent ) +OtherUserView::OtherUserView( OtherUserManager *manager, TQWidget *parent ) : KListView( parent ), mManager( manager ) { addColumn( i18n( "Registered Accounts" ) ); setFullWidth( true ); - connect( mManager, SIGNAL( changed() ), SLOT( userChanged() ) ); + connect( mManager, TQT_SIGNAL( changed() ), TQT_SLOT( userChanged() ) ); userChanged(); } -QString OtherUserView::selectedUser() const +TQString OtherUserView::selectedUser() const { OtherUserItem *item = dynamic_cast<OtherUserItem*>( selectedItem() ); if ( item ) return item->user(); - return QString(); + return TQString(); } void OtherUserView::userChanged() { clear(); - QStringList users = mManager->otherUsers(); + TQStringList users = mManager->otherUsers(); for ( uint i = 0; i < users.count(); ++i ) new OtherUserItem( this, users[ i ] ); } |