summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoSelectAction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/KoSelectAction.cpp')
-rw-r--r--lib/kofficeui/KoSelectAction.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/lib/kofficeui/KoSelectAction.cpp b/lib/kofficeui/KoSelectAction.cpp
index 171c455b..eb308452 100644
--- a/lib/kofficeui/KoSelectAction.cpp
+++ b/lib/kofficeui/KoSelectAction.cpp
@@ -37,7 +37,7 @@ class KoSelectAction::KoSelectActionPrivate
public:
KoSelectActionPrivate()
{
- m_popup = new KPopupMenu(0L,"KoLineStyleAction::popup");
+ m_popup = new TDEPopupMenu(0L,"KoLineStyleAction::popup");
m_currentSelection = 0;
}
@@ -47,12 +47,12 @@ class KoSelectAction::KoSelectActionPrivate
m_popup = 0;
}
- KPopupMenu* m_popup;
+ TDEPopupMenu* m_popup;
int m_currentSelection;
};
KoSelectAction::KoSelectAction(const TQString &text, const TQString& icon,
- TQObject* parent, const char* name) : KAction(text, icon, 0, parent, name)
+ TQObject* parent, const char* name) : TDEAction(text, icon, 0, parent, name)
{
d = new KoSelectActionPrivate;
setShowCurrentSelection(true);
@@ -61,7 +61,7 @@ KoSelectAction::KoSelectAction(const TQString &text, const TQString& icon,
}
KoSelectAction::KoSelectAction(const TQString &text, const TQString& icon, const TQObject* receiver,
- const char* slot, TQObject* parent, const char* name) : KAction(text, icon, 0, parent, name)
+ const char* slot, TQObject* parent, const char* name) : TDEAction(text, icon, 0, parent, name)
{
d = new KoSelectActionPrivate;
@@ -74,7 +74,7 @@ KoSelectAction::~KoSelectAction()
delete d;
}
-KPopupMenu* KoSelectAction::popupMenu() const
+TDEPopupMenu* KoSelectAction::popupMenu() const
{
return d->m_popup;
}
@@ -86,10 +86,10 @@ void KoSelectAction::popup(const TQPoint& global)
int KoSelectAction::plug(TQWidget* widget, int index)
{
- // This function is copied from KActionMenu::plug
- if (kapp && !kapp->authorizeKAction(name()))
+ // This function is copied from TDEActionMenu::plug
+ if (kapp && !kapp->authorizeTDEAction(name()))
return -1;
- kdDebug(129) << "KAction::plug( " << widget << ", " << index << " )" << endl; // remove -- ellis
+ kdDebug(129) << "TDEAction::plug( " << widget << ", " << index << " )" << endl; // remove -- ellis
if ( widget->inherits(TQPOPUPMENU_OBJECT_NAME_STRING) )
{
TQPopupMenu* menu = static_cast<TQPopupMenu*>( widget );
@@ -109,11 +109,11 @@ int KoSelectAction::plug(TQWidget* widget, int index)
return containerCount() - 1;
}
- else if ( widget->inherits( "KToolBar" ) )
+ else if ( widget->inherits( "TDEToolBar" ) )
{
- KToolBar *bar = static_cast<KToolBar *>( widget );
+ TDEToolBar *bar = static_cast<TDEToolBar *>( widget );
- int id_ = KAction::getToolButtonID();
+ int id_ = TDEAction::getToolButtonID();
if ( icon().isEmpty() && !iconSet().isNull() ) {
bar->insertButton( iconSet().pixmap(), id_, TQT_SIGNAL( clicked() ), this,