summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/compat
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:03 -0600
commit9c9412b30c54468adc9e506cc76c5d113fbf5056 (patch)
tree68a0c0d5bc770fc58596b8c5624cdf33d8625027 /kopete/libkopete/compat
parent2e53bd0b77676f879fad7baeecea5879bf496a7d (diff)
downloadtdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.tar.gz
tdenetwork-9c9412b30c54468adc9e506cc76c5d113fbf5056.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kopete/libkopete/compat')
-rw-r--r--kopete/libkopete/compat/kpixmapregionselectorwidget.cpp10
-rw-r--r--kopete/libkopete/compat/kpixmapregionselectorwidget.h6
2 files changed, 8 insertions, 8 deletions
diff --git a/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp b/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp
index 967a47eb..ccecf81a 100644
--- a/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp
+++ b/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp
@@ -135,17 +135,17 @@ void KPixmapRegionSelectorWidget::updatePixmap()
}
-KPopupMenu *KPixmapRegionSelectorWidget::createPopupMenu()
+TDEPopupMenu *KPixmapRegionSelectorWidget::createPopupMenu()
{
- KPopupMenu *popup=new KPopupMenu(this, "PixmapRegionSelectorPopup");
+ TDEPopupMenu *popup=new TDEPopupMenu(this, "PixmapRegionSelectorPopup");
popup->insertTitle(i18n("Image Operations"));
- KAction *action = new KAction(i18n("&Rotate Clockwise"), "rotate_cw",
+ TDEAction *action = new TDEAction(i18n("&Rotate Clockwise"), "rotate_cw",
0, this, TQT_SLOT(rotateClockwise()),
popup, "rotateclockwise");
action->plug(popup);
- action = new KAction(i18n("Rotate &Counterclockwise"), "rotate_ccw",
+ action = new TDEAction(i18n("Rotate &Counterclockwise"), "rotate_ccw",
0, this, TQT_SLOT(rotateCounterclockwise()),
popup, "rotatecounterclockwise");
action->plug(popup);
@@ -215,7 +215,7 @@ bool KPixmapRegionSelectorWidget::eventFilter(TQObject *obj, TQEvent *ev)
if ( mev->button() == RightButton )
{
- KPopupMenu *popup = createPopupMenu( );
+ TDEPopupMenu *popup = createPopupMenu( );
popup->exec( mev->globalPos() );
delete popup;
return TRUE;
diff --git a/kopete/libkopete/compat/kpixmapregionselectorwidget.h b/kopete/libkopete/compat/kpixmapregionselectorwidget.h
index db95ee37..0eb626ed 100644
--- a/kopete/libkopete/compat/kpixmapregionselectorwidget.h
+++ b/kopete/libkopete/compat/kpixmapregionselectorwidget.h
@@ -25,7 +25,7 @@
#include <tqlabel.h>
#include <kimageeffect.h>
-class KPopupMenu;
+class TDEPopupMenu;
#include "kopete_export.h"
@@ -136,9 +136,9 @@ public slots:
protected:
/**
- * Creates a KPopupMenu with the menu that appears when clicking with the right button on the label
+ * Creates a TDEPopupMenu with the menu that appears when clicking with the right button on the label
*/
- virtual KPopupMenu *createPopupMenu();
+ virtual TDEPopupMenu *createPopupMenu();
private:
bool eventFilter(TQObject *obj, TQEvent *ev);