summaryrefslogtreecommitdiffstats
path: root/klipper/klipperpopup.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /klipper/klipperpopup.cpp
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-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.cpp14
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 );
}