summaryrefslogtreecommitdiffstats
path: root/kresources/scalix/scalixadmin/otheruserview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kresources/scalix/scalixadmin/otheruserview.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-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.cpp18
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 ] );
}