summaryrefslogtreecommitdiffstats
path: root/quanta/parts/preview
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/parts/preview')
-rw-r--r--quanta/parts/preview/whtmlpart.cpp2
-rw-r--r--quanta/parts/preview/whtmlpart.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/quanta/parts/preview/whtmlpart.cpp b/quanta/parts/preview/whtmlpart.cpp
index 51b41628..6560191b 100644
--- a/quanta/parts/preview/whtmlpart.cpp
+++ b/quanta/parts/preview/whtmlpart.cpp
@@ -52,7 +52,7 @@ WHTMLPart::WHTMLPart(TQWidget *parentWidget, const char *widgetName, bool enable
m_enableViewSource = enableViewSource;
if (m_enableViewSource)
{
- m_contextMenu = new KPopupMenu(parentWidget);
+ m_contextMenu = new TDEPopupMenu(parentWidget);
m_contextMenu->insertItem(i18n("View &Document Source"), this, TQT_SLOT(slotViewSource()));
connect(this, TQT_SIGNAL(popupMenu(const TQString&, const TQPoint&)), TQT_SLOT(popupMenu(const TQString&, const TQPoint&)));
diff --git a/quanta/parts/preview/whtmlpart.h b/quanta/parts/preview/whtmlpart.h
index 41212459..73bd23e5 100644
--- a/quanta/parts/preview/whtmlpart.h
+++ b/quanta/parts/preview/whtmlpart.h
@@ -22,7 +22,7 @@
#include <tdehtml_part.h>
-class KPopupMenu;
+class TDEPopupMenu;
/**
*@author Dmitry Poplavsky & Alexander Yakovlev & Eric Laffoon
*/
@@ -68,7 +68,7 @@ protected:
private:
KURL m_previewedURL;
- KPopupMenu *m_contextMenu;
+ TDEPopupMenu *m_contextMenu;
TQStrList history;
unsigned int hpos;
bool m_enableViewSource;