summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui/KoContextCelp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui/KoContextCelp.cpp')
-rw-r--r--lib/kofficeui/KoContextCelp.cpp44
1 files changed, 22 insertions, 22 deletions
diff --git a/lib/kofficeui/KoContextCelp.cpp b/lib/kofficeui/KoContextCelp.cpp
index c2a237bd..82f786e8 100644
--- a/lib/kofficeui/KoContextCelp.cpp
+++ b/lib/kofficeui/KoContextCelp.cpp
@@ -34,8 +34,8 @@
#include <kapplication.h>
#include <tqstring.h>
-KoVerticalLabel::KoVerticalLabel( TQWidget* tqparent, const char* name )
- : TQWidget( tqparent, name, TQt::WRepaintNoErase )
+KoVerticalLabel::KoVerticalLabel( TQWidget* parent, const char* name )
+ : TQWidget( parent, name, TQt::WRepaintNoErase )
{
TQFont f( font() );
f.setPointSize( f.pointSize() + 2 );
@@ -74,8 +74,8 @@ void KoVerticalLabel::paintEvent( TQPaintEvent* )
static unsigned char upbits[] = { 0xc, 0x1e, 0x3f, 0x3f };
static unsigned char downbits[] = { 0x3f, 0x3f, 0x1e, 0xc };
-KoHelpNavButton::KoHelpNavButton( NavDirection d, TQWidget* tqparent )
- : TQWidget( tqparent )
+KoHelpNavButton::KoHelpNavButton( NavDirection d, TQWidget* parent )
+ : TQWidget( parent )
{
m_pressed = false;
m_bitmap = TQBitmap( 8, 4, ( d == Up ? upbits : downbits ), true );
@@ -117,8 +117,8 @@ static unsigned char notstickybits[] = { 0x8, 0x1e, 0xc, 0xa, 0x1 };
static unsigned char stickybits[] = { 0xe, 0x11, 0x15, 0x11, 0xe };
static unsigned char closebits[] = { 0x11, 0xa, 0x4, 0xa, 0x11 };
-KoTinyButton::KoTinyButton( Action a, TQWidget* tqparent )
- : TQWidget( tqparent ), m_action( a )
+KoTinyButton::KoTinyButton( Action a, TQWidget* parent )
+ : TQWidget( parent ), m_action( a )
{
m_pressed = false;
m_toggled = false;
@@ -179,12 +179,12 @@ void KoTinyButton::mouseReleaseEvent( TQMouseEvent* )
}
} // KoTinyButton::mouseReleaseEvent
-KoHelpView::KoHelpView( TQWidget* tqparent )
- : TQWidget( tqparent )
+KoHelpView::KoHelpView( TQWidget* parent )
+ : TQWidget( parent )
{
currentText = 0L;
setBackgroundMode( PaletteLight );
- tqparent->installEventFilter( this );
+ parent->installEventFilter( this );
setMouseTracking( true );
} // KoHelpView::KoHelpView
@@ -268,8 +268,8 @@ void KoHelpView::paintEvent( TQPaintEvent* )
currentText->draw( &p, 0, 0, TQRect(), tqcolorGroup() );
} // KoHelpView::paintEvent
-KoHelpWidget::KoHelpWidget( TQString help, TQWidget* tqparent )
- : TQWidget( tqparent )
+KoHelpWidget::KoHelpWidget( TQString help, TQWidget* parent )
+ : TQWidget( parent )
{
TQGridLayout* tqlayout = new TQGridLayout( this, 3, 3 );
tqlayout->setMargin( 2 );
@@ -367,8 +367,8 @@ void KoHelpWidget::stopScrolling()
TQT_TQOBJECT(this)->killTimers();
} // KoHelpWidget::stopScrolling
-KoContextHelpPopup::KoContextHelpPopup( TQWidget* tqparent )
- : TQWidget( tqparent, "", WType_Dialog | WStyle_Customize | WStyle_NoBorder )
+KoContextHelpPopup::KoContextHelpPopup( TQWidget* parent )
+ : TQWidget( parent, "", WType_Dialog | WStyle_Customize | WStyle_NoBorder )
{
TQGridLayout* tqlayout = new TQGridLayout( this );
TQHBoxLayout* buttonLayout;
@@ -418,9 +418,9 @@ void KoContextHelpPopup::mouseMoveEvent( TQMouseEvent* e )
void KoContextHelpPopup::resizeEvent( TQResizeEvent* )
{
- TQBitmap tqmask( width(), height() );
+ TQBitmap mask( width(), height() );
TQPointArray a;
- TQPainter p( &tqmask );
+ TQPainter p( &mask );
p.fillRect( 0, 0, width(), height(), color1 );
p.setPen( color0 );
p.setBrush( color0 );
@@ -444,7 +444,7 @@ void KoContextHelpPopup::resizeEvent( TQResizeEvent* )
p.drawRect( width() - 2, 0, width() - 1, height() - 1 );
p.drawRect( width() - 4, height() - 4, width() - 2, height() - 2 );
p.end();
- setMask( TQRegion( tqmask ) );
+ setMask( TQRegion( mask ) );
} // KoContextHelpPopup::resizeEvent
void KoContextHelpPopup::paintEvent( TQPaintEvent* )
@@ -507,8 +507,8 @@ void KoContextHelpPopup::keyReleaseEvent( TQKeyEvent* e )
}
} // KoContextHelpPopup::keyPressEvent
-KoContextHelpAction::KoContextHelpAction( KActionCollection* tqparent, TQWidget* /*popupParent*/ )
- : KToggleAction( i18n( "Context Help" ), BarIcon( "help" ), KShortcut( "CTRL+SHIFT+F1" ), 0, 0, tqparent, "help_context" )
+KoContextHelpAction::KoContextHelpAction( KActionCollection* parent, TQWidget* /*popupParent*/ )
+ : KToggleAction( i18n( "Context Help" ), BarIcon( "help" ), KShortcut( "CTRL+SHIFT+F1" ), 0, 0, parent, "help_context" )
{
m_popup = new KoContextHelpPopup( 0L );
connect( m_popup, TQT_SIGNAL( wantsToBeClosed() ), this, TQT_SLOT( closePopup() ) );
@@ -533,8 +533,8 @@ void KoContextHelpAction::closePopup()
} // KoContextHelpAction::closePopup
-KoContextHelpWidget::KoContextHelpWidget( TQWidget* tqparent, const char* name )
- : TQWidget( tqparent, name )
+KoContextHelpWidget::KoContextHelpWidget( TQWidget* parent, const char* name )
+ : TQWidget( parent, name )
{
setCaption( i18n( "Context Help" ) );
TQGridLayout* tqlayout = new TQGridLayout( this );
@@ -562,8 +562,8 @@ void KoContextHelpWidget::setContextHelp( const TQString& title, const TQString&
} // KoContextHelpWidget::updateHelp
-KoContextHelpDocker::KoContextHelpDocker( TQWidget* tqparent, const char* name )
- : TQDockWindow( tqparent, name )
+KoContextHelpDocker::KoContextHelpDocker( TQWidget* parent, const char* name )
+ : TQDockWindow( parent, name )
{
setCaption( i18n( "Context Help" ) );
TQWidget* mainWidget = new TQWidget( this );