summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoTooluButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/KoTooluButton.cpp')
-rw-r--r--lib/kofficeui/KoTooluButton.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/kofficeui/KoTooluButton.cpp b/lib/kofficeui/KoTooluButton.cpp
index 9f500bb1f..7260bbea6 100644
--- a/lib/kofficeui/KoTooluButton.cpp
+++ b/lib/kofficeui/KoTooluButton.cpp
@@ -41,8 +41,8 @@ namespace {
int ARROW_WIDTH = 12;
}
-KoColorPanel::KoColorPanel( TQWidget* tqparent, const char* name ) :
- TQWidget( tqparent, name, WStaticContents | WRepaintNoErase | WResizeNoErase )
+KoColorPanel::KoColorPanel( TQWidget* parent, const char* name ) :
+ TQWidget( parent, name, WStaticContents | WRepaintNoErase | WResizeNoErase )
{
setMouseTracking( true );
setAcceptDrops( true );
@@ -65,9 +65,9 @@ TQSize KoColorPanel::tqminimumSizeHint() const
TQPopupMenu* KoColorPanel::createColorPopup( KoColorPanel::MenuStyle style, const TQColor& defaultColor,
const TQObject* receiver, const char* slot,
- TQWidget* tqparent, const char* name )
+ TQWidget* parent, const char* name )
{
- TQPopupMenu* menu = new TQPopupMenu( tqparent, name );
+ TQPopupMenu* menu = new TQPopupMenu( parent, name );
KoColorPopupProxy* proxy = 0;
if ( defaultColor.isValid() ) {
@@ -613,8 +613,8 @@ bool operator<( const KoColorPanel::Position& lhs, const KoColorPanel::Position&
}
-KoColorPopupProxy::KoColorPopupProxy( const TQColor& defaultColor, KoColorPanel* recentColors, TQObject* tqparent, const char* name ) :
- TQObject( tqparent, name ), m_defaultColor( defaultColor ), m_recentColors( recentColors )
+KoColorPopupProxy::KoColorPopupProxy( const TQColor& defaultColor, KoColorPanel* recentColors, TQObject* parent, const char* name ) :
+ TQObject( parent, name ), m_defaultColor( defaultColor ), m_recentColors( recentColors )
{
}
@@ -635,8 +635,8 @@ void KoColorPopupProxy::slotMoreColors()
TQColor newColor;
TQWidget* p = 0;
- if ( tqparent() && tqparent()->isWidgetType() )
- p = TQT_TQWIDGET( tqparent() );
+ if ( parent() && parent()->isWidgetType() )
+ p = TQT_TQWIDGET( parent() );
if ( KColorDialog::getColor( newColor, p ) == TQDialog::Accepted ) {
m_recentColors->insertColor( newColor );
@@ -645,16 +645,16 @@ void KoColorPopupProxy::slotMoreColors()
}
-KoToolButton::KoToolButton( const TQString& icon, int id, TQWidget* tqparent,
+KoToolButton::KoToolButton( const TQString& icon, int id, TQWidget* parent,
const char* name, const TQString& txt, KInstance* _instance ) :
- KToolBarButton( icon, id, tqparent, name, txt, _instance ), m_arrowPressed( false )
+ KToolBarButton( icon, id, parent, name, txt, _instance ), m_arrowPressed( false )
{
init();
}
-KoToolButton::KoToolButton( const TQPixmap& pixmap, int id, TQWidget* tqparent,
+KoToolButton::KoToolButton( const TQPixmap& pixmap, int id, TQWidget* parent,
const char* name, const TQString& txt ) :
- KToolBarButton( pixmap, id, tqparent, name, txt ), m_arrowPressed( false )
+ KToolBarButton( pixmap, id, parent, name, txt ), m_arrowPressed( false )
{
init();
}