summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/kcoloractions.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/kcoloractions.cpp')
-rw-r--r--lib/kofficeui/kcoloractions.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/lib/kofficeui/kcoloractions.cpp b/lib/kofficeui/kcoloractions.cpp
index b6dc0408..96e48001 100644
--- a/lib/kofficeui/kcoloractions.cpp
+++ b/lib/kofficeui/kcoloractions.cpp
@@ -30,7 +30,7 @@
KColorAction::KColorAction( const TQString& text, int accel,
TQObject* parent, const char* name )
- : KAction( text, accel, parent, name )
+ : TDEAction( text, accel, parent, name )
{
typ = TextColor;
init();
@@ -39,7 +39,7 @@ KColorAction::KColorAction( const TQString& text, int accel,
KColorAction::KColorAction( const TQString& text, int accel,
TQObject* receiver, const char* slot, TQObject* parent,
const char* name )
- : KAction( text, accel, receiver, slot, parent, name )
+ : TDEAction( text, accel, receiver, slot, parent, name )
{
typ = TextColor;
init();
@@ -47,7 +47,7 @@ KColorAction::KColorAction( const TQString& text, int accel,
KColorAction::KColorAction( const TQString& text, Type type, int accel,
TQObject* parent, const char* name )
- : KAction( text, accel, parent, name )
+ : TDEAction( text, accel, parent, name )
{
typ = type;
init();
@@ -56,14 +56,14 @@ KColorAction::KColorAction( const TQString& text, Type type, int accel,
KColorAction::KColorAction( const TQString& text, Type type, int accel,
TQObject* receiver, const char* slot, TQObject* parent,
const char* name )
- : KAction( text, accel, receiver, slot, parent, name )
+ : TDEAction( text, accel, receiver, slot, parent, name )
{
typ = type;
init();
}
KColorAction::KColorAction( TQObject* parent, const char* name )
- : KAction( parent, name )
+ : TDEAction( parent, name )
{
typ = TextColor;
init();
@@ -216,25 +216,25 @@ void KColorAction::createPixmap()
}
-KSelectColorAction::KSelectColorAction( const TQString& text, Type type,
+TDESelectColorAction::TDESelectColorAction( const TQString& text, Type type,
const TQObject* receiver, const char* slot,
- KActionCollection* parent, const char* name ) :
- KAction( text, KShortcut(), receiver, slot, parent, name ), m_type( type ),
+ TDEActionCollection* parent, const char* name ) :
+ TDEAction( text, TDEShortcut(), receiver, slot, parent, name ), m_type( type ),
m_color( TQt::black )
{
}
-KSelectColorAction::~KSelectColorAction()
+TDESelectColorAction::~TDESelectColorAction()
{
}
-int KSelectColorAction::plug( TQWidget* w, int index )
+int TDESelectColorAction::plug( TQWidget* w, int index )
{
if (w == 0) {
- kdWarning() << "KSelectColorAction::plug called with 0 argument\n";
+ kdWarning() << "TDESelectColorAction::plug called with 0 argument\n";
return -1;
}
- if (kapp && !kapp->authorizeKAction(name()))
+ if (kapp && !kapp->authorizeTDEAction(name()))
return -1;
if ( w->inherits(TQPOPUPMENU_OBJECT_NAME_STRING) )
@@ -276,9 +276,9 @@ int KSelectColorAction::plug( TQWidget* w, int index )
return containerCount() - 1;
}
- else if ( w->inherits( "KToolBar" ) )
+ else if ( w->inherits( "TDEToolBar" ) )
{
- KToolBar *bar = static_cast<KToolBar *>( w );
+ TDEToolBar *bar = static_cast<TDEToolBar *>( w );
int id_ = getToolButtonID();
TDEInstance *instance;
@@ -319,25 +319,25 @@ int KSelectColorAction::plug( TQWidget* w, int index )
return -1;
}
-TQColor KSelectColorAction::color() const
+TQColor TDESelectColorAction::color() const
{
return m_color;
}
-KSelectColorAction::Type KSelectColorAction::type() const
+TDESelectColorAction::Type TDESelectColorAction::type() const
{
return m_type;
}
-void KSelectColorAction::setColor( const TQColor &/*c*/ )
+void TDESelectColorAction::setColor( const TQColor &/*c*/ )
{
}
-void KSelectColorAction::setType( Type /*t*/ )
+void TDESelectColorAction::setType( Type /*t*/ )
{
}
-TQString KSelectColorAction::whatsThisWithIcon() const
+TQString TDESelectColorAction::whatsThisWithIcon() const
{
TQString text = whatsThis();
if (!icon().isEmpty())