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/identitylistview.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 'kmail/identitylistview.cpp')
-rw-r--r-- | kmail/identitylistview.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmail/identitylistview.cpp b/kmail/identitylistview.cpp index 9666a38d8..d40673800 100644 --- a/kmail/identitylistview.cpp +++ b/kmail/identitylistview.cpp @@ -57,7 +57,7 @@ namespace KMail { init( ident ); } - IdentityListViewItem::IdentityListViewItem( IdentityListView * parent, QListViewItem * after, const KPIM::Identity & ident ) + IdentityListViewItem::IdentityListViewItem( IdentityListView * parent, TQListViewItem * after, const KPIM::Identity & ident ) : KListViewItem( parent, after ), mUOID( ident.uoid() ) { init( ident ); } @@ -95,7 +95,7 @@ namespace KMail { // // - IdentityListView::IdentityListView( QWidget * parent, const char * name ) + IdentityListView::IdentityListView( TQWidget * parent, const char * name ) : KListView( parent, name ) { setFullWidth( true ); @@ -114,7 +114,7 @@ namespace KMail { setSelectionModeExt( Single ); // ### Extended would be nicer... } - void IdentityListView::rename( QListViewItem * i, int col ) { + void IdentityListView::rename( TQListViewItem * i, int col ) { if ( col == 0 && isRenameable( col ) ) { IdentityListViewItem * item = dynamic_cast<IdentityListViewItem*>( i ); if ( item ) { @@ -126,12 +126,12 @@ namespace KMail { KListView::rename( i, col ); } - bool IdentityListView::acceptDrag( QDropEvent * e ) const { + bool IdentityListView::acceptDrag( TQDropEvent * e ) const { // disallow moving: return e->source() != viewport() && IdentityDrag::canDecode( e ); } - QDragObject * IdentityListView::dragObject() { + TQDragObject * IdentityListView::dragObject() { IdentityListViewItem * item = dynamic_cast<IdentityListViewItem*>( currentItem() ); if ( !item ) return 0; |