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/klipperpopup.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/klipperpopup.cpp')
-rw-r--r-- | klipper/klipperpopup.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/klipper/klipperpopup.cpp b/klipper/klipperpopup.cpp index 3e1db75bd..048ea8b1b 100644 --- a/klipper/klipperpopup.cpp +++ b/klipper/klipperpopup.cpp @@ -94,7 +94,7 @@ protected: }; KlipperPopup::KlipperPopup( History* history, TQWidget* parent, const char* name ) - : KPopupMenu( parent, name ), + : TDEPopupMenu( parent, name ), m_dirty( true ), QSempty( i18n( "<empty clipboard>" ) ), QSnomatch( i18n( "<no matches>" ) ), @@ -155,7 +155,7 @@ void KlipperPopup::buildFromScratch() { // Insert Help-menu at the butttom of the "default" group. TQString group; TQString defaultGroup( "default" ); - for ( KAction* action = m_actions.first(); action; action = m_actions.next() ) { + for ( TDEAction* action = m_actions.first(); action; action = m_actions.next() ) { group = action->group(); if ( group != lastGroup ) { if ( lastGroup == defaultGroup ) { @@ -213,7 +213,7 @@ void KlipperPopup::rebuild( const TQString& filter ) { } -void KlipperPopup::plugAction( KAction* action ) { +void KlipperPopup::plugAction( TDEAction* action ) { m_actions.append( action ); } @@ -233,9 +233,9 @@ void KlipperPopup::keyPressEvent( TQKeyEvent* e ) { e->text(), e->isAutoRepeat(), e->count() ); - KPopupMenu::keyPressEvent( &ke ); + TDEPopupMenu::keyPressEvent( &ke ); #ifdef DEBUG_EVENTS__ - kdDebug() << "Passing this event to ancestor (KPopupMenu): " << e "->" << ke << endl; + kdDebug() << "Passing this event to ancestor (TDEPopupMenu): " << e "->" << ke << endl; #endif if ( ke.isAccepted() ) { e->accept(); @@ -260,9 +260,9 @@ void KlipperPopup::keyPressEvent( TQKeyEvent* e ) { case Qt::Key_Enter: { #ifdef DEBUG_EVENTS__ - kdDebug() << "Passing this event to ancestor (KPopupMenu): " << e << endl; + kdDebug() << "Passing this event to ancestor (TDEPopupMenu): " << e << endl; #endif - KPopupMenu::keyPressEvent( e ); + TDEPopupMenu::keyPressEvent( e ); if ( isItemActive( m_filterWidgetId ) ) { setActiveItem( TOP_HISTORY_ITEM_INDEX ); } |