summaryrefslogtreecommitdiffstats
path: root/konq-plugins/uachanger
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:10:05 -0600
commit74a2067d286867e313f736d6733407586b71195e (patch)
tree182ea565d6909db1541424e4ffb3168b4b139c21 /konq-plugins/uachanger
parent081670a12774435ae60cf8eba9226b91d27852b3 (diff)
downloadtdeaddons-74a2067d286867e313f736d6733407586b71195e.tar.gz
tdeaddons-74a2067d286867e313f736d6733407586b71195e.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'konq-plugins/uachanger')
-rw-r--r--konq-plugins/uachanger/uachangerplugin.cpp4
-rw-r--r--konq-plugins/uachanger/uachangerplugin.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/uachanger/uachangerplugin.cpp b/konq-plugins/uachanger/uachangerplugin.cpp
index fe671a9..1c9187f 100644
--- a/konq-plugins/uachanger/uachangerplugin.cpp
+++ b/konq-plugins/uachanger/uachangerplugin.cpp
@@ -57,7 +57,7 @@ UAChangerPlugin::UAChangerPlugin( TQObject* parent, const char* name,
{
setInstance(UAChangerPlugin::instance());
- m_pUAMenu = new KActionMenu( i18n("Change Browser &Identification"), "agent",
+ m_pUAMenu = new TDEActionMenu( i18n("Change Browser &Identification"), "agent",
actionCollection(), "changeuseragent" );
m_pUAMenu->setDelayed( false );
connect( m_pUAMenu->popupMenu(), TQT_SIGNAL( aboutToShow() ),
@@ -226,7 +226,7 @@ void UAChangerPlugin::slotAboutToShow()
AliasConstIterator map = m_mapAlias.begin();
for( ; map != m_mapAlias.end(); ++map )
{
- KPopupMenu *browserMenu = new KPopupMenu;
+ TDEPopupMenu *browserMenu = new TDEPopupMenu;
BrowserGroup::ConstIterator e = map.data().begin();
for( ; e != map.data().end(); ++e )
{
diff --git a/konq-plugins/uachanger/uachangerplugin.h b/konq-plugins/uachanger/uachangerplugin.h
index d90ac76..67936b3 100644
--- a/konq-plugins/uachanger/uachangerplugin.h
+++ b/konq-plugins/uachanger/uachangerplugin.h
@@ -30,7 +30,7 @@
#include <tdeparts/plugin.h>
class TDEHTMLPart;
-class KActionMenu;
+class TDEActionMenu;
class TDEConfig;
namespace TDEIO
@@ -73,7 +73,7 @@ private:
bool m_bSettingsLoaded;
TDEHTMLPart* m_part;
- KActionMenu* m_pUAMenu;
+ TDEActionMenu* m_pUAMenu;
TDEConfig* m_config;
KURL m_currentURL;