diff options
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 ] ); } |