diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /khotkeys/shared/khlistview.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khotkeys/shared/khlistview.cpp')
-rw-r--r-- | khotkeys/shared/khlistview.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/khotkeys/shared/khlistview.cpp b/khotkeys/shared/khlistview.cpp index 45a1d04f9..2afa9db17 100644 --- a/khotkeys/shared/khlistview.cpp +++ b/khotkeys/shared/khlistview.cpp @@ -21,19 +21,19 @@ namespace KHotKeys { -KHListView::KHListView( QWidget* parent_P, const char* name_P ) +KHListView::KHListView( TQWidget* parent_P, const char* name_P ) : KListView( parent_P, name_P ), saved_current_item( NULL ), in_clear( false ), ignore( false ), force_select( false ) { - connect( this, SIGNAL( selectionChanged( QListViewItem* )), - SLOT( slot_selection_changed( QListViewItem* ))); - connect( this, SIGNAL( currentChanged( QListViewItem* )), - SLOT( slot_current_changed( QListViewItem* ))); + connect( this, TQT_SIGNAL( selectionChanged( TQListViewItem* )), + TQT_SLOT( slot_selection_changed( TQListViewItem* ))); + connect( this, TQT_SIGNAL( currentChanged( TQListViewItem* )), + TQT_SLOT( slot_current_changed( TQListViewItem* ))); // CHECKME grrr - connect( this, SIGNAL( selectionChanged()), - SLOT( slot_selection_changed())); - connect( &insert_select_timer, SIGNAL( timeout()), - SLOT( slot_insert_select())); + connect( this, TQT_SIGNAL( selectionChanged()), + TQT_SLOT( slot_selection_changed())); + connect( &insert_select_timer, TQT_SIGNAL( timeout()), + TQT_SLOT( slot_insert_select())); } void KHListView::slot_selection_changed() @@ -46,7 +46,7 @@ void KHListView::slot_selection_changed() setSelected( saved_current_item, true ); } -void KHListView::slot_selection_changed( QListViewItem* item_P ) +void KHListView::slot_selection_changed( TQListViewItem* item_P ) { if( ignore ) return; @@ -57,7 +57,7 @@ void KHListView::slot_selection_changed( QListViewItem* item_P ) emit current_changed( saved_current_item ); } -void KHListView::slot_current_changed( QListViewItem* item_P ) +void KHListView::slot_current_changed( TQListViewItem* item_P ) { if( ignore ) return; @@ -77,7 +77,7 @@ void KHListView::clear() slot_selection_changed( NULL ); } -void KHListView::insertItem( QListViewItem* item_P ) +void KHListView::insertItem( TQListViewItem* item_P ) { bool set = false; if( !in_clear ) @@ -100,7 +100,7 @@ void KHListView::clearSelection() slot_current_changed( currentItem()); } -// items are often inserted using the QListViewItem constructor, +// items are often inserted using the TQListViewItem constructor, // which means that a derived class are not yet fully created void KHListView::slot_insert_select() { @@ -109,7 +109,7 @@ void KHListView::slot_insert_select() slot_current_changed( currentItem()); } -void KHListView::contentsDropEvent( QDropEvent* e ) +void KHListView::contentsDropEvent( TQDropEvent* e ) { bool save_ignore = ignore; ignore = true; |