diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:11:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:11:21 -0600 |
commit | f537c21b68e08f649b1b297bce8f3904603137e0 (patch) | |
tree | fb33065387509dea898c90022ddec9c3f8ede86d /klipper/configdialog.cpp | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'klipper/configdialog.cpp')
-rw-r--r-- | klipper/configdialog.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/klipper/configdialog.cpp b/klipper/configdialog.cpp index fd81beffc..0c1b5379a 100644 --- a/klipper/configdialog.cpp +++ b/klipper/configdialog.cpp @@ -214,7 +214,7 @@ void ListView::rename( TQListViewItem* item, int c ) } else - KListView::rename( item ,c ); + TDEListView::rename( item ,c ); } @@ -250,8 +250,8 @@ ActionWidget::ActionWidget( const ActionList *list, ConfigDialog* configWidget, connect( listView, TQT_SIGNAL( selectionChanged ( TQListViewItem * )), TQT_SLOT(selectionChanged ( TQListViewItem * ))); connect(listView, - TQT_SIGNAL(contextMenu(KListView *, TQListViewItem *, const TQPoint&)), - TQT_SLOT( slotContextMenu(KListView*, TQListViewItem*, const TQPoint&))); + TQT_SIGNAL(contextMenu(TDEListView *, TQListViewItem *, const TQPoint&)), + TQT_SLOT( slotContextMenu(TDEListView*, TQListViewItem*, const TQPoint&))); ClipAction *action = 0L; ClipCommand *command = 0L; @@ -321,14 +321,14 @@ void ActionWidget::selectionChanged ( TQListViewItem * item) delActionButton->setEnabled(item!=0); } -void ActionWidget::slotContextMenu( KListView *, TQListViewItem *item, +void ActionWidget::slotContextMenu( TDEListView *, TQListViewItem *item, const TQPoint& pos ) { if ( !item ) return; int addCmd = 0, rmCmd = 0; - KPopupMenu *menu = new KPopupMenu; + TDEPopupMenu *menu = new TDEPopupMenu; addCmd = menu->insertItem( i18n("Add Command") ); rmCmd = menu->insertItem( i18n("Remove Command") ); if ( !item->parent() ) {// no "command" item @@ -451,7 +451,7 @@ void AdvancedWidget::setWMClasses( const TQStringList& items ) ////////// /* -KeysWidget::KeysWidget( KAccelActions &keyMap, TQWidget *parent, const char *name) +KeysWidget::KeysWidget( TDEAccelActions &keyMap, TQWidget *parent, const char *name) : TQVBox( parent, name ) { keyChooser = new KKeyChooser( keyMap, this ); |