summaryrefslogtreecommitdiffstats
path: root/lib/kofficeui
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficeui')
-rw-r--r--lib/kofficeui/KoCharSelectDia.cpp12
-rw-r--r--lib/kofficeui/KoCharSelectDia.h6
-rw-r--r--lib/kofficeui/KoCommandHistory.cpp4
-rw-r--r--lib/kofficeui/KoCommandHistory.h2
-rw-r--r--lib/kofficeui/KoContextCelp.cpp44
-rw-r--r--lib/kofficeui/KoContextCelp.h18
-rw-r--r--lib/kofficeui/KoEditPath.cpp8
-rw-r--r--lib/kofficeui/KoEditPath.h4
-rw-r--r--lib/kofficeui/KoGuideLineDia.cpp8
-rw-r--r--lib/kofficeui/KoGuideLineDia.h8
-rw-r--r--lib/kofficeui/KoInsertLink.cpp24
-rw-r--r--lib/kofficeui/KoInsertLink.h12
-rw-r--r--lib/kofficeui/KoPageLayoutColumns.cpp4
-rw-r--r--lib/kofficeui/KoPageLayoutColumns.h4
-rw-r--r--lib/kofficeui/KoPageLayoutDia.cpp20
-rw-r--r--lib/kofficeui/KoPageLayoutDia.h12
-rw-r--r--lib/kofficeui/KoPageLayoutHeader.cpp4
-rw-r--r--lib/kofficeui/KoPageLayoutHeader.h4
-rw-r--r--lib/kofficeui/KoPageLayoutSize.cpp4
-rw-r--r--lib/kofficeui/KoPageLayoutSize.h4
-rw-r--r--lib/kofficeui/KoPartSelectAction.cpp12
-rw-r--r--lib/kofficeui/KoPartSelectAction.h6
-rw-r--r--lib/kofficeui/KoPartSelectDia.cpp8
-rw-r--r--lib/kofficeui/KoPartSelectDia.h4
-rw-r--r--lib/kofficeui/KoPictureFilePreview.cpp8
-rw-r--r--lib/kofficeui/KoPictureFilePreview.h2
-rw-r--r--lib/kofficeui/KoSelectAction.cpp4
-rw-r--r--lib/kofficeui/KoSelectAction.h10
-rw-r--r--lib/kofficeui/KoTabBar.cpp4
-rw-r--r--lib/kofficeui/KoTabBar.h2
-rw-r--r--lib/kofficeui/KoTabChooser.cpp4
-rw-r--r--lib/kofficeui/KoTabChooser.h2
-rw-r--r--lib/kofficeui/KoTemplateChooseDia.cpp16
-rw-r--r--lib/kofficeui/KoTemplateChooseDia.h26
-rw-r--r--lib/kofficeui/KoTemplateCreateDia.cpp14
-rw-r--r--lib/kofficeui/KoTemplateCreateDia.h4
-rw-r--r--lib/kofficeui/KoToolBox.cpp8
-rw-r--r--lib/kofficeui/KoToolBox.h4
-rw-r--r--lib/kofficeui/KoTooluButton.cpp24
-rw-r--r--lib/kofficeui/KoTooluButton.h14
-rw-r--r--lib/kofficeui/KoUnitWidgets.cpp36
-rw-r--r--lib/kofficeui/KoUnitWidgets.h20
-rw-r--r--lib/kofficeui/KoZoomAction.cpp8
-rw-r--r--lib/kofficeui/KoZoomAction.h4
-rw-r--r--lib/kofficeui/Kolinestyleaction.cpp10
-rw-r--r--lib/kofficeui/Kolinestyleaction.h10
-rw-r--r--lib/kofficeui/Kolinewidthaction.cpp14
-rw-r--r--lib/kofficeui/Kolinewidthaction.h12
-rw-r--r--lib/kofficeui/kcoloractions.cpp24
-rw-r--r--lib/kofficeui/kcoloractions.h12
-rw-r--r--lib/kofficeui/tests/coloraction_test.cpp2
-rw-r--r--lib/kofficeui/tests/coloraction_test.h2
-rw-r--r--lib/kofficeui/tkaction.cpp16
-rw-r--r--lib/kofficeui/tkaction.h8
-rw-r--r--lib/kofficeui/tkcoloractions.cpp20
-rw-r--r--lib/kofficeui/tkcoloractions.h10
-rw-r--r--lib/kofficeui/tkcombobox.cpp8
-rw-r--r--lib/kofficeui/tkcombobox.h4
-rw-r--r--lib/kofficeui/tktoolbarbutton.cpp8
-rw-r--r--lib/kofficeui/tktoolbarbutton.h4
60 files changed, 307 insertions, 307 deletions
diff --git a/lib/kofficeui/KoCharSelectDia.cpp b/lib/kofficeui/KoCharSelectDia.cpp
index a7f09b3f..c8b104a9 100644
--- a/lib/kofficeui/KoCharSelectDia.cpp
+++ b/lib/kofficeui/KoCharSelectDia.cpp
@@ -29,8 +29,8 @@
/* class KoCharSelectDia */
/******************************************************************/
-KoCharSelectDia::KoCharSelectDia( TQWidget *tqparent, const char *name, const TQChar &_chr, const TQString &_font, bool _enableFont , bool _modal)
- : KDialogBase( Plain, i18n("Select Character"), Ok | Cancel, Ok , tqparent, name, _modal )
+KoCharSelectDia::KoCharSelectDia( TQWidget *parent, const char *name, const TQChar &_chr, const TQString &_font, bool _enableFont , bool _modal)
+ : KDialogBase( Plain, i18n("Select Character"), Ok | Cancel, Ok , parent, name, _modal )
{
initDialog(_chr,_font,_enableFont);
@@ -40,8 +40,8 @@ KoCharSelectDia::KoCharSelectDia( TQWidget *tqparent, const char *name, const TQ
setButtonOK( okItem );
}
-KoCharSelectDia::KoCharSelectDia( TQWidget *tqparent, const char *name, const TQString &_font, const TQChar &_chr, bool _modal )
- : KDialogBase( Plain, i18n("Select Character"), User1 | Close, User1 , tqparent, name, _modal )
+KoCharSelectDia::KoCharSelectDia( TQWidget *parent, const char *name, const TQString &_font, const TQChar &_chr, bool _modal )
+ : KDialogBase( Plain, i18n("Select Character"), User1 | Close, User1 , parent, name, _modal )
{
initDialog(_chr,_font,true);
@@ -77,11 +77,11 @@ void KoCharSelectDia::closeDialog()
KDialogBase::close();
}
-bool KoCharSelectDia::selectChar( TQString &_font, TQChar &_chr, bool _enableFont, TQWidget* tqparent, const char* name )
+bool KoCharSelectDia::selectChar( TQString &_font, TQChar &_chr, bool _enableFont, TQWidget* parent, const char* name )
{
bool res = false;
- KoCharSelectDia *dlg = new KoCharSelectDia( tqparent, name, _chr, _font, _enableFont );
+ KoCharSelectDia *dlg = new KoCharSelectDia( parent, name, _chr, _font, _enableFont );
dlg->setFocus();
if ( dlg->exec() == Accepted )
{
diff --git a/lib/kofficeui/KoCharSelectDia.h b/lib/kofficeui/KoCharSelectDia.h
index 507c0704..b281cd12 100644
--- a/lib/kofficeui/KoCharSelectDia.h
+++ b/lib/kofficeui/KoCharSelectDia.h
@@ -41,15 +41,15 @@ class KOFFICEUI_EXPORT KoCharSelectDia : public KDialogBase
public:
// constructor - destructor
- KoCharSelectDia( TQWidget *tqparent, const char *name, const TQChar &_chr,
+ KoCharSelectDia( TQWidget *parent, const char *name, const TQChar &_chr,
const TQString &_font, bool _enableFont, bool _modal=true );
//constructor when you want to insert multi char
- KoCharSelectDia( TQWidget *tqparent, const char *name, const TQString &_font,
+ KoCharSelectDia( TQWidget *parent, const char *name, const TQString &_font,
const TQChar &_chr, bool _modal=true );
~KoCharSelectDia();
// select char dialog
- KOFFICEUI_EXPORT static bool selectChar( TQString &_font, TQChar &_chr, bool _enableFont = true, TQWidget* tqparent = 0, const char* name = 0);
+ KOFFICEUI_EXPORT static bool selectChar( TQString &_font, TQChar &_chr, bool _enableFont = true, TQWidget* parent = 0, const char* name = 0);
// internal
TQChar chr() const;
diff --git a/lib/kofficeui/KoCommandHistory.cpp b/lib/kofficeui/KoCommandHistory.cpp
index cfde2802..27c51e79 100644
--- a/lib/kofficeui/KoCommandHistory.cpp
+++ b/lib/kofficeui/KoCommandHistory.cpp
@@ -33,8 +33,8 @@
#include "KoCommandHistory.h"
-KoListBox::KoListBox( TQWidget *tqparent , const char *name , WFlags f)
- : TQListBox( tqparent, name, f)
+KoListBox::KoListBox( TQWidget *parent , const char *name , WFlags f)
+ : TQListBox( parent, name, f)
{
setVScrollBarMode( AlwaysOn );
}
diff --git a/lib/kofficeui/KoCommandHistory.h b/lib/kofficeui/KoCommandHistory.h
index 34fd1b50..8522da3b 100644
--- a/lib/kofficeui/KoCommandHistory.h
+++ b/lib/kofficeui/KoCommandHistory.h
@@ -36,7 +36,7 @@ class KoListBox : public TQListBox {
Q_OBJECT
TQ_OBJECT
public:
- KoListBox( TQWidget *tqparent = 0, const char *name = 0, WFlags f = 0 );
+ KoListBox( TQWidget *parent = 0, const char *name = 0, WFlags f = 0 );
protected:
virtual void contentsMouseMoveEvent ( TQMouseEvent * );
virtual TQSize tqsizeHint() const;
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 );
diff --git a/lib/kofficeui/KoContextCelp.h b/lib/kofficeui/KoContextCelp.h
index b21eba5b..889e006d 100644
--- a/lib/kofficeui/KoContextCelp.h
+++ b/lib/kofficeui/KoContextCelp.h
@@ -36,7 +36,7 @@ class KoVerticalLabel : public TQWidget
TQ_OBJECT
public:
- KoVerticalLabel( TQWidget* tqparent = 0, const char* name = 0 );
+ KoVerticalLabel( TQWidget* parent = 0, const char* name = 0 );
~KoVerticalLabel();
public slots:
@@ -60,7 +60,7 @@ class KoHelpNavButton : public TQWidget
Down
};
- KoHelpNavButton( NavDirection d, TQWidget* tqparent );
+ KoHelpNavButton( NavDirection d, TQWidget* parent );
signals:
void pressed();
@@ -87,7 +87,7 @@ class KoTinyButton : public TQWidget
Sticky
};
- KoTinyButton( Action a, TQWidget* tqparent );
+ KoTinyButton( Action a, TQWidget* parent );
signals:
void clicked();
@@ -111,7 +111,7 @@ class KoHelpView : public TQWidget
TQ_OBJECT
public:
- KoHelpView( TQWidget* tqparent );
+ KoHelpView( TQWidget* parent );
~KoHelpView();
void setText( const TQString& text );
@@ -137,7 +137,7 @@ class KoHelpWidget : public TQWidget
TQ_OBJECT
public:
- KoHelpWidget( TQString help, TQWidget* tqparent );
+ KoHelpWidget( TQString help, TQWidget* parent );
void setText( TQString text );
void timerEvent( TQTimerEvent* );
@@ -174,7 +174,7 @@ class KoContextHelpPopup : public TQWidget
TQ_OBJECT
public:
- KoContextHelpPopup( TQWidget* tqparent = 0 );
+ KoContextHelpPopup( TQWidget* parent = 0 );
~KoContextHelpPopup();
public slots:
@@ -220,7 +220,7 @@ class KOFFICEUI_EXPORT KoContextHelpAction : public KToggleAction
TQ_OBJECT
public:
- KoContextHelpAction( KActionCollection* parentCollection, TQWidget* tqparent = 0 );
+ KoContextHelpAction( KActionCollection* parentCollection, TQWidget* parent = 0 );
virtual ~KoContextHelpAction();
public slots:
@@ -243,7 +243,7 @@ class KoContextHelpWidget : public TQWidget
TQ_OBJECT
public:
- KoContextHelpWidget( TQWidget* tqparent = 0, const char* name = 0 );
+ KoContextHelpWidget( TQWidget* parent = 0, const char* name = 0 );
~KoContextHelpWidget();
public slots:
@@ -267,7 +267,7 @@ class KoContextHelpDocker : public TQDockWindow
TQ_OBJECT
public:
- KoContextHelpDocker( TQWidget* tqparent = 0, const char* name = 0 );
+ KoContextHelpDocker( TQWidget* parent = 0, const char* name = 0 );
~KoContextHelpDocker();
public slots:
diff --git a/lib/kofficeui/KoEditPath.cpp b/lib/kofficeui/KoEditPath.cpp
index f84431c7..963ee7e8 100644
--- a/lib/kofficeui/KoEditPath.cpp
+++ b/lib/kofficeui/KoEditPath.cpp
@@ -32,8 +32,8 @@
#include <tqcheckbox.h>
#include <tqlabel.h>
-KoEditPathDia::KoEditPathDia( const TQString & _path, TQWidget *tqparent, const char *name )
- : KDialogBase( tqparent, name , true, "", Ok|Cancel, Ok, true )
+KoEditPathDia::KoEditPathDia( const TQString & _path, TQWidget *parent, const char *name )
+ : KDialogBase( parent, name , true, "", Ok|Cancel, Ok, true )
{
setCaption( i18n("Edit Path") );
TQWidget *page = new TQWidget( this );
@@ -67,8 +67,8 @@ TQString KoEditPathDia::newPath()const
}
-KoChangePathDia::KoChangePathDia( const TQString & _path, TQWidget *tqparent, const char *name )
- : KDialogBase( tqparent, name , true, "", Ok|Cancel, Ok, true )
+KoChangePathDia::KoChangePathDia( const TQString & _path, TQWidget *parent, const char *name )
+ : KDialogBase( parent, name , true, "", Ok|Cancel, Ok, true )
{
setCaption( i18n("Edit Path") );
diff --git a/lib/kofficeui/KoEditPath.h b/lib/kofficeui/KoEditPath.h
index 0b56ccad..2b45009c 100644
--- a/lib/kofficeui/KoEditPath.h
+++ b/lib/kofficeui/KoEditPath.h
@@ -32,7 +32,7 @@ class KOFFICEUI_EXPORT KoEditPathDia : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- KoEditPathDia( const TQString & _path, TQWidget *tqparent, const char *name );
+ KoEditPathDia( const TQString & _path, TQWidget *parent, const char *name );
TQString newPath()const;
private:
@@ -45,7 +45,7 @@ class KOFFICEUI_EXPORT KoChangePathDia : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- KoChangePathDia( const TQString & _path, TQWidget *tqparent, const char *name );
+ KoChangePathDia( const TQString & _path, TQWidget *parent, const char *name );
TQString newPath()const;
private slots:
void slotChangeDefaultValue( bool );
diff --git a/lib/kofficeui/KoGuideLineDia.cpp b/lib/kofficeui/KoGuideLineDia.cpp
index f91627ec..a889b3d8 100644
--- a/lib/kofficeui/KoGuideLineDia.cpp
+++ b/lib/kofficeui/KoGuideLineDia.cpp
@@ -32,9 +32,9 @@
#include <KoUnitWidgets.h>
-KoGuideLineDia::KoGuideLineDia( TQWidget *tqparent, double pos, double minPos, double maxPos,
+KoGuideLineDia::KoGuideLineDia( TQWidget *parent, double pos, double minPos, double maxPos,
KoUnit::Unit unit, const char *name )
-: KDialogBase( tqparent, name , true, "", Ok | Cancel, Ok, true )
+: KDialogBase( parent, name , true, "", Ok | Cancel, Ok, true )
, m_hButton( 0 )
, m_vButton( 0 )
{
@@ -46,9 +46,9 @@ KoGuideLineDia::KoGuideLineDia( TQWidget *tqparent, double pos, double minPos, d
}
-KoGuideLineDia::KoGuideLineDia( TQWidget *tqparent, KoPoint &pos, KoRect &rect,
+KoGuideLineDia::KoGuideLineDia( TQWidget *parent, KoPoint &pos, KoRect &rect,
KoUnit::Unit unit, const char *name )
-: KDialogBase( tqparent, name , true, "", Ok | Cancel, Ok, true )
+: KDialogBase( parent, name , true, "", Ok | Cancel, Ok, true )
, m_rect( rect )
, m_pos( pos )
, m_positionChanged( false )
diff --git a/lib/kofficeui/KoGuideLineDia.h b/lib/kofficeui/KoGuideLineDia.h
index 7dc9e0f8..0f2fcecf 100644
--- a/lib/kofficeui/KoGuideLineDia.h
+++ b/lib/kofficeui/KoGuideLineDia.h
@@ -42,14 +42,14 @@ public:
/**
* @brief Constructor
*
- * @param tqparent The tqparent widget
+ * @param parent The parent widget
* @param pos the actual position of the guide line
* @param minPos the minimal position of the guide line
* @param maxPos the maximal position of the guide line
* @param unit The unit used in the document
* @param name The name is send to the TQObject constructor
*/
- KoGuideLineDia( TQWidget *tqparent, double pos, double minPos, double maxPos,
+ KoGuideLineDia( TQWidget *parent, double pos, double minPos, double maxPos,
KoUnit::Unit unit, const char *name = 0L );
/**
@@ -59,13 +59,13 @@ public:
* and the orientation of the guide line is changed the value will be set to pos.x()
* or pos.y() according to the orientation.
*
- * @param tqparent the tqparent widget
+ * @param parent the parent widget
* @param pos the actual position of cursor
* @param rect the rect in where the guide can be placed
* @param unit the unit used in the document
* @param name the name is send to the TQObject constructor
*/
- KoGuideLineDia( TQWidget *tqparent, KoPoint &pos, KoRect &rect,
+ KoGuideLineDia( TQWidget *parent, KoPoint &pos, KoRect &rect,
KoUnit::Unit unit, const char *name = 0L );
/**
* @brief the position
diff --git a/lib/kofficeui/KoInsertLink.cpp b/lib/kofficeui/KoInsertLink.cpp
index 4c863935..342889c4 100644
--- a/lib/kofficeui/KoInsertLink.cpp
+++ b/lib/kofficeui/KoInsertLink.cpp
@@ -36,10 +36,10 @@
using namespace KOfficePrivate;
-KoInsertLinkDia::KoInsertLinkDia( TQWidget *tqparent, const char *name, bool displayBookmarkLink )
+KoInsertLinkDia::KoInsertLinkDia( TQWidget *parent, const char *name, bool displayBookmarkLink )
: KDialogBase( KDialogBase::IconList, i18n("Insert Link"),
KDialogBase::Ok | KDialogBase::Cancel,
- KDialogBase::Ok, tqparent, name )
+ KDialogBase::Ok, parent, name )
{
bookmarkLink = 0L;
TQVBox *page=addVBoxPage(i18n("Internet"), TQString(),BarIcon("html",KIcon::SizeMedium));
@@ -98,11 +98,11 @@ void KoInsertLinkDia::slotTextChanged ( )
currentText = linkName();
}
-bool KoInsertLinkDia::createLinkDia(TQString & _linkName, TQString & _hrefName, const TQStringList& bkmlist, bool displayBookmarkLink, TQWidget* tqparent, const char* name)
+bool KoInsertLinkDia::createLinkDia(TQString & _linkName, TQString & _hrefName, const TQStringList& bkmlist, bool displayBookmarkLink, TQWidget* parent, const char* name)
{
bool res = false;
- KoInsertLinkDia *dlg = new KoInsertLinkDia( tqparent, name, displayBookmarkLink );
+ KoInsertLinkDia *dlg = new KoInsertLinkDia( parent, name, displayBookmarkLink );
dlg->setHrefLinkName(_hrefName,_linkName, bkmlist);
if ( dlg->exec() == Accepted )
{
@@ -217,8 +217,8 @@ void KoInsertLinkDia::slotOk()
}
-internetLinkPage::internetLinkPage( TQWidget *tqparent , char *name )
- : TQWidget(tqparent,name)
+internetLinkPage::internetLinkPage( TQWidget *parent , char *name )
+ : TQWidget(parent,name)
{
TQVBoxLayout *lay1 = new TQVBoxLayout( this );
lay1->setSpacing( KDialog::spacingHint() );
@@ -290,8 +290,8 @@ void internetLinkPage::textChanged ( const TQString & )
emit textChanged();
}
-bookmarkLinkPage::bookmarkLinkPage( TQWidget *tqparent , char *name )
- : TQWidget(tqparent,name)
+bookmarkLinkPage::bookmarkLinkPage( TQWidget *parent , char *name )
+ : TQWidget(parent,name)
{
TQVBoxLayout *lay1 = new TQVBoxLayout( this );
lay1->setSpacing( KDialog::spacingHint() );
@@ -372,8 +372,8 @@ void bookmarkLinkPage::textChanged ( const TQString & )
emit textChanged();
}
-mailLinkPage::mailLinkPage( TQWidget *tqparent , char *name )
- : TQWidget(tqparent,name)
+mailLinkPage::mailLinkPage( TQWidget *parent , char *name )
+ : TQWidget(parent,name)
{
TQVBoxLayout *lay1 = new TQVBoxLayout( this );
lay1->setSpacing( KDialog::spacingHint() );
@@ -442,8 +442,8 @@ void mailLinkPage::textChanged ( const TQString & )
emit textChanged();
}
-fileLinkPage::fileLinkPage( TQWidget *tqparent , char *name )
- : TQWidget(tqparent,name)
+fileLinkPage::fileLinkPage( TQWidget *parent , char *name )
+ : TQWidget(parent,name)
{
TQVBoxLayout *lay1 = new TQVBoxLayout( this );
lay1->setSpacing( KDialog::spacingHint() );
diff --git a/lib/kofficeui/KoInsertLink.h b/lib/kofficeui/KoInsertLink.h
index cb10a7f0..d71263aa 100644
--- a/lib/kofficeui/KoInsertLink.h
+++ b/lib/kofficeui/KoInsertLink.h
@@ -34,7 +34,7 @@ class internetLinkPage : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- internetLinkPage( TQWidget *tqparent = 0, char *name = 0 );
+ internetLinkPage( TQWidget *parent = 0, char *name = 0 );
TQString linkName()const;
TQString hrefName();
void setLinkName(const TQString & _name);
@@ -56,7 +56,7 @@ class bookmarkLinkPage : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- bookmarkLinkPage( TQWidget *tqparent = 0, char *name = 0 );
+ bookmarkLinkPage( TQWidget *parent = 0, char *name = 0 );
TQString linkName()const;
TQString hrefName();
void setLinkName(const TQString & _name);
@@ -80,7 +80,7 @@ class mailLinkPage : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- mailLinkPage( TQWidget *tqparent = 0, char *name = 0 );
+ mailLinkPage( TQWidget *parent = 0, char *name = 0 );
TQString linkName()const;
TQString hrefName();
void setLinkName(const TQString & _name);
@@ -103,7 +103,7 @@ class fileLinkPage : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- fileLinkPage( TQWidget *tqparent = 0, char *name = 0 );
+ fileLinkPage( TQWidget *parent = 0, char *name = 0 );
TQString linkName()const;
TQString hrefName();
void setLinkName(const TQString & _name);
@@ -129,9 +129,9 @@ class KOFFICEUI_EXPORT KoInsertLinkDia : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- KoInsertLinkDia( TQWidget *tqparent, const char *name = 0,bool displayBookmarkLink=true );
+ KoInsertLinkDia( TQWidget *parent, const char *name = 0,bool displayBookmarkLink=true );
static bool createLinkDia(TQString & linkName, TQString & hrefName, const TQStringList& bkmlist, bool displayBookmarkLink = true,
- TQWidget* tqparent = 0, const char* name = 0);
+ TQWidget* parent = 0, const char* name = 0);
//internal
TQString linkName() const;
diff --git a/lib/kofficeui/KoPageLayoutColumns.cpp b/lib/kofficeui/KoPageLayoutColumns.cpp
index 60057c88..8ea3b0b9 100644
--- a/lib/kofficeui/KoPageLayoutColumns.cpp
+++ b/lib/kofficeui/KoPageLayoutColumns.cpp
@@ -25,8 +25,8 @@
#include <tqlabel.h>
#include <tqlayout.h>
-KoPageLayoutColumns::KoPageLayoutColumns(TQWidget *tqparent, const KoColumns& columns, KoUnit::Unit unit, const KoPageLayout& tqlayout)
- : KoPageLayoutColumnsBase(tqparent) {
+KoPageLayoutColumns::KoPageLayoutColumns(TQWidget *parent, const KoColumns& columns, KoUnit::Unit unit, const KoPageLayout& tqlayout)
+ : KoPageLayoutColumnsBase(parent) {
m_columns = columns;
TQHBoxLayout *lay = new TQHBoxLayout(previewPane);
m_preview = new KoPagePreview( previewPane, "Preview", tqlayout );
diff --git a/lib/kofficeui/KoPageLayoutColumns.h b/lib/kofficeui/KoPageLayoutColumns.h
index 09bad9d5..8ebac1b2 100644
--- a/lib/kofficeui/KoPageLayoutColumns.h
+++ b/lib/kofficeui/KoPageLayoutColumns.h
@@ -40,12 +40,12 @@ class KoPageLayoutColumns : public KoPageLayoutColumnsBase {
public:
/**
* Contructor
- * @param tqparent the tqparent widget
+ * @param parent the parent widget
* @param columns the KoColumns data structure that this dialog should be initialzed with
* @param unit the unit-type (mm/cm/inch) that the dialog should show
* @param tqlayout the page tqlayout that the preview should be initialzed with.
*/
- KoPageLayoutColumns(TQWidget *tqparent, const KoColumns& columns, KoUnit::Unit unit, const KoPageLayout& tqlayout);
+ KoPageLayoutColumns(TQWidget *parent, const KoColumns& columns, KoUnit::Unit unit, const KoPageLayout& tqlayout);
/**
* Update the page preview widget with the param tqlayout.
diff --git a/lib/kofficeui/KoPageLayoutDia.cpp b/lib/kofficeui/KoPageLayoutDia.cpp
index 1f07358a..0b410bf1 100644
--- a/lib/kofficeui/KoPageLayoutDia.cpp
+++ b/lib/kofficeui/KoPageLayoutDia.cpp
@@ -49,8 +49,8 @@
/******************************************************************/
/*===================== constrcutor ==============================*/
-KoPagePreview::KoPagePreview( TQWidget* tqparent, const char *name, const KoPageLayout& tqlayout )
- : TQGroupBox( i18n( "Page Preview" ), tqparent, name )
+KoPagePreview::KoPagePreview( TQWidget* parent, const char *name, const KoPageLayout& tqlayout )
+ : TQGroupBox( i18n( "Page Preview" ), parent, name )
{
setPageLayout( tqlayout );
columns = 1;
@@ -128,12 +128,12 @@ void KoPagePreview::drawContents( TQPainter *painter )
/******************************************************************/
/*==================== constructor ===============================*/
-KoPageLayoutDia::KoPageLayoutDia( TQWidget* tqparent, const char* name,
+KoPageLayoutDia::KoPageLayoutDia( TQWidget* parent, const char* name,
const KoPageLayout& tqlayout,
const KoHeadFoot& hf, int tabs,
KoUnit::Unit unit, bool modal )
: KDialogBase( KDialogBase::Tabbed, i18n("Page Layout"), KDialogBase::Ok | KDialogBase::Cancel,
- KDialogBase::Ok, tqparent, name, modal)
+ KDialogBase::Ok, parent, name, modal)
{
flags = tabs;
@@ -153,14 +153,14 @@ KoPageLayoutDia::KoPageLayoutDia( TQWidget* tqparent, const char* name,
}
/*==================== constructor ===============================*/
-KoPageLayoutDia::KoPageLayoutDia( TQWidget* tqparent, const char* name,
+KoPageLayoutDia::KoPageLayoutDia( TQWidget* parent, const char* name,
const KoPageLayout& tqlayout,
const KoHeadFoot& hf,
const KoColumns& columns,
const KoKWHeaderFooter& kwhf,
int tabs, KoUnit::Unit unit )
: KDialogBase( KDialogBase::Tabbed, i18n("Page Layout"), KDialogBase::Ok | KDialogBase::Cancel,
- KDialogBase::Ok, tqparent, name, true)
+ KDialogBase::Ok, parent, name, true)
{
flags = tabs;
@@ -186,10 +186,10 @@ KoPageLayoutDia::~KoPageLayoutDia()
}
/*======================= show dialog ============================*/
-bool KoPageLayoutDia::pageLayout( KoPageLayout& tqlayout, KoHeadFoot& hf, int tabs, KoUnit::Unit& unit, TQWidget* tqparent )
+bool KoPageLayoutDia::pageLayout( KoPageLayout& tqlayout, KoHeadFoot& hf, int tabs, KoUnit::Unit& unit, TQWidget* parent )
{
bool res = false;
- KoPageLayoutDia *dlg = new KoPageLayoutDia( tqparent, "PageLayout", tqlayout, hf, tabs, unit );
+ KoPageLayoutDia *dlg = new KoPageLayoutDia( parent, "PageLayout", tqlayout, hf, tabs, unit );
if ( dlg->exec() == TQDialog::Accepted ) {
res = true;
@@ -205,10 +205,10 @@ bool KoPageLayoutDia::pageLayout( KoPageLayout& tqlayout, KoHeadFoot& hf, int ta
/*======================= show dialog ============================*/
bool KoPageLayoutDia::pageLayout( KoPageLayout& tqlayout, KoHeadFoot& hf, KoColumns& columns,
- KoKWHeaderFooter &_kwhf, int tabs, KoUnit::Unit& unit, TQWidget* tqparent )
+ KoKWHeaderFooter &_kwhf, int tabs, KoUnit::Unit& unit, TQWidget* parent )
{
bool res = false;
- KoPageLayoutDia *dlg = new KoPageLayoutDia( tqparent, "PageLayout", tqlayout, hf, columns, _kwhf, tabs, unit );
+ KoPageLayoutDia *dlg = new KoPageLayoutDia( parent, "PageLayout", tqlayout, hf, columns, _kwhf, tabs, unit );
if ( dlg->exec() == TQDialog::Accepted ) {
res = true;
diff --git a/lib/kofficeui/KoPageLayoutDia.h b/lib/kofficeui/KoPageLayoutDia.h
index 05f8f3db..21fe7df3 100644
--- a/lib/kofficeui/KoPageLayoutDia.h
+++ b/lib/kofficeui/KoPageLayoutDia.h
@@ -90,7 +90,7 @@ public:
/**
* Constructor.
*
- * @param tqparent The tqparent of the dialog.
+ * @param parent The parent of the dialog.
* @param name The name of the dialog.
* @param tqlayout The tqlayout.
* @param headfoot The header and the footer.
@@ -98,7 +98,7 @@ public:
* @param unit The unit to use for displaying the values to the user.
* @param modal Whether the dialog is modal or not.
*/
- KoPageLayoutDia( TQWidget* tqparent, const char* name,
+ KoPageLayoutDia( TQWidget* parent, const char* name,
const KoPageLayout& tqlayout,
const KoHeadFoot& headfoot,
int flags, KoUnit::Unit unit, bool modal=true );
@@ -106,7 +106,7 @@ public:
/**
* Constructor.
*
- * @param tqparent The tqparent of the dialog.
+ * @param parent The parent of the dialog.
* @param name The name of the dialog.
* @param tqlayout The tqlayout.
* @param headfoot The header and the footer.
@@ -115,7 +115,7 @@ public:
* @param tabs The number of tabs.
* @param unit The unit to use for displaying the values to the user
*/
- KoPageLayoutDia( TQWidget* tqparent, const char* name,
+ KoPageLayoutDia( TQWidget* parent, const char* name,
const KoPageLayout& tqlayout,
const KoHeadFoot& headfoot,
const KoColumns& columns,
@@ -131,13 +131,13 @@ public:
* Show page tqlayout dialog.
* See constructor for documentation on the parameters
*/
- static bool pageLayout( KoPageLayout&, KoHeadFoot&, int tabs, KoUnit::Unit& unit, TQWidget* tqparent = 0 );
+ static bool pageLayout( KoPageLayout&, KoHeadFoot&, int tabs, KoUnit::Unit& unit, TQWidget* parent = 0 );
/**
* Show page tqlayout dialog.
* See constructor for documentation on the parameters
*/
- static bool pageLayout( KoPageLayout&, KoHeadFoot&, KoColumns&, KoKWHeaderFooter&, int tabs, KoUnit::Unit& unit, TQWidget* tqparent = 0 );
+ static bool pageLayout( KoPageLayout&, KoHeadFoot&, KoColumns&, KoKWHeaderFooter&, int tabs, KoUnit::Unit& unit, TQWidget* parent = 0 );
/**
* Retrieves a standard page tqlayout.
* Deprecated: better use KoPageLayout::standardLayout()
diff --git a/lib/kofficeui/KoPageLayoutHeader.cpp b/lib/kofficeui/KoPageLayoutHeader.cpp
index b436447b..00296957 100644
--- a/lib/kofficeui/KoPageLayoutHeader.cpp
+++ b/lib/kofficeui/KoPageLayoutHeader.cpp
@@ -23,8 +23,8 @@
#include <tqlayout.h>
#include <tqcheckbox.h>
-KoPageLayoutHeader::KoPageLayoutHeader(TQWidget *tqparent, KoUnit::Unit unit, const KoKWHeaderFooter &kwhf)
- : KoPageLayoutHeaderBase(tqparent) {
+KoPageLayoutHeader::KoPageLayoutHeader(TQWidget *parent, KoUnit::Unit unit, const KoKWHeaderFooter &kwhf)
+ : KoPageLayoutHeaderBase(parent) {
m_headerFooters = kwhf;
TQHBoxLayout *lay = new TQHBoxLayout(headerSpacingPane);
m_headerSpacing = new KoUnitDoubleSpinBox( headerSpacingPane, 0.0, 999.0, 0.5, kwhf.ptHeaderBodySpacing, unit );
diff --git a/lib/kofficeui/KoPageLayoutHeader.h b/lib/kofficeui/KoPageLayoutHeader.h
index da97f34c..5473403b 100644
--- a/lib/kofficeui/KoPageLayoutHeader.h
+++ b/lib/kofficeui/KoPageLayoutHeader.h
@@ -37,11 +37,11 @@ class KoPageLayoutHeader : public KoPageLayoutHeaderBase {
public:
/**
* Contructor
- * @param tqparent the tqparent widget
+ * @param parent the parent widget
* @param unit the unit-type (mm/cm/inch) that the dialog should show
* @param kwhf the data that this widget will be filled with initially
*/
- KoPageLayoutHeader(TQWidget *tqparent, KoUnit::Unit unit, const KoKWHeaderFooter &kwhf);
+ KoPageLayoutHeader(TQWidget *parent, KoUnit::Unit unit, const KoKWHeaderFooter &kwhf);
/**
* @return the altered data as it is currently set by the user.
*/
diff --git a/lib/kofficeui/KoPageLayoutSize.cpp b/lib/kofficeui/KoPageLayoutSize.cpp
index c191f565..6ddf9409 100644
--- a/lib/kofficeui/KoPageLayoutSize.cpp
+++ b/lib/kofficeui/KoPageLayoutSize.cpp
@@ -34,8 +34,8 @@
#include <tqvgroupbox.h>
#include <tqhbuttongroup.h>
-KoPageLayoutSize::KoPageLayoutSize(TQWidget *tqparent, const KoPageLayout& tqlayout, KoUnit::Unit unit,const KoColumns& columns, bool unitChooser, bool enableBorders)
- : TQWidget(tqparent), m_blockSignals(false) {
+KoPageLayoutSize::KoPageLayoutSize(TQWidget *parent, const KoPageLayout& tqlayout, KoUnit::Unit unit,const KoColumns& columns, bool unitChooser, bool enableBorders)
+ : TQWidget(parent), m_blockSignals(false) {
m_layout = tqlayout;
m_unit = unit;
diff --git a/lib/kofficeui/KoPageLayoutSize.h b/lib/kofficeui/KoPageLayoutSize.h
index f1f4f358..d917b349 100644
--- a/lib/kofficeui/KoPageLayoutSize.h
+++ b/lib/kofficeui/KoPageLayoutSize.h
@@ -41,14 +41,14 @@ class KoPageLayoutSize : public TQWidget {
public:
/**
* Contructor
- * @param tqparent the tqparent widget
+ * @param parent the parent widget
* @param tqlayout the page tqlayout that this widget should be initialzed with.
* @param unit the unit-type (mm/cm/inch) that the dialog should show
* @param columns the KoColumns (amout of columns) that the preview should be initialized with
* @param unitChooser if true a combobox with the unit-type is shown for the user to change
* @param enableBorders if true enable the user to change the margins (aka borders) of the page
*/
- KoPageLayoutSize(TQWidget *tqparent, const KoPageLayout& tqlayout, KoUnit::Unit unit,
+ KoPageLayoutSize(TQWidget *parent, const KoPageLayout& tqlayout, KoUnit::Unit unit,
const KoColumns& columns, bool unitChooser, bool enableBorders);
/**
diff --git a/lib/kofficeui/KoPartSelectAction.cpp b/lib/kofficeui/KoPartSelectAction.cpp
index d563e906..ca24b89a 100644
--- a/lib/kofficeui/KoPartSelectAction.cpp
+++ b/lib/kofficeui/KoPartSelectAction.cpp
@@ -21,23 +21,23 @@
#include <kdebug.h>
-KoPartSelectAction::KoPartSelectAction( const TQString& text, TQObject* tqparent, const char* name )
- : KActionMenu( text, tqparent, name )
+KoPartSelectAction::KoPartSelectAction( const TQString& text, TQObject* parent, const char* name )
+ : KActionMenu( text, parent, name )
{
init();
}
KoPartSelectAction::KoPartSelectAction( const TQString& text, const TQString& icon,
- TQObject* tqparent, const char* name )
- : KActionMenu( text, icon, tqparent, name )
+ TQObject* parent, const char* name )
+ : KActionMenu( text, icon, parent, name )
{
init();
}
KoPartSelectAction::KoPartSelectAction( const TQString& text, const TQString& icon,
TQObject* receiver, const char* slot,
- TQObject* tqparent, const char* name )
- : KActionMenu( text, icon, tqparent, name )
+ TQObject* parent, const char* name )
+ : KActionMenu( text, icon, parent, name )
{
if (receiver)
connect( this, TQT_SIGNAL( activated() ), receiver, slot );
diff --git a/lib/kofficeui/KoPartSelectAction.h b/lib/kofficeui/KoPartSelectAction.h
index f6a69e73..9e9dd30f 100644
--- a/lib/kofficeui/KoPartSelectAction.h
+++ b/lib/kofficeui/KoPartSelectAction.h
@@ -33,11 +33,11 @@ class KOFFICEUI_EXPORT KoPartSelectAction : public KActionMenu
TQ_OBJECT
public:
- KoPartSelectAction( const TQString& text, TQObject* tqparent = 0, const char* name = 0 );
+ KoPartSelectAction( const TQString& text, TQObject* parent = 0, const char* name = 0 );
KoPartSelectAction( const TQString& text, const TQString& icon,
- TQObject* tqparent = 0, const char* name = 0 );
+ TQObject* parent = 0, const char* name = 0 );
KoPartSelectAction( const TQString& text, const TQString& icon,
- TQObject* receiver, const char* slot, TQObject* tqparent, const char* name = 0 );
+ TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 );
KoDocumentEntry documentEntry() const { return m_documentEntry; }
diff --git a/lib/kofficeui/KoPartSelectDia.cpp b/lib/kofficeui/KoPartSelectDia.cpp
index 4c3e376e..b5271b97 100644
--- a/lib/kofficeui/KoPartSelectDia.cpp
+++ b/lib/kofficeui/KoPartSelectDia.cpp
@@ -29,8 +29,8 @@
*
****************************************************/
-KoPartSelectDia::KoPartSelectDia( TQWidget* tqparent, const char* name ) :
- KDialogBase( tqparent, name, TRUE, i18n("Insert Object"), KDialogBase::Ok | KDialogBase::Cancel )
+KoPartSelectDia::KoPartSelectDia( TQWidget* parent, const char* name ) :
+ KDialogBase( parent, name, TRUE, i18n("Insert Object"), KDialogBase::Ok | KDialogBase::Cancel )
{
listview = new TQListView( this );
listview->addColumn( i18n( "Object" ) );
@@ -76,11 +76,11 @@ KoDocumentEntry KoPartSelectDia::entry()
return KoDocumentEntry();
}
-KoDocumentEntry KoPartSelectDia::selectPart( TQWidget *tqparent )
+KoDocumentEntry KoPartSelectDia::selectPart( TQWidget *parent )
{
KoDocumentEntry e;
- KoPartSelectDia *dlg = new KoPartSelectDia( tqparent, "PartSelect" );
+ KoPartSelectDia *dlg = new KoPartSelectDia( parent, "PartSelect" );
dlg->setFocus();
if (dlg->exec() == TQDialog::Accepted)
e = dlg->entry();
diff --git a/lib/kofficeui/KoPartSelectDia.h b/lib/kofficeui/KoPartSelectDia.h
index f131a857..6a13084b 100644
--- a/lib/kofficeui/KoPartSelectDia.h
+++ b/lib/kofficeui/KoPartSelectDia.h
@@ -43,7 +43,7 @@ public:
/**
* Constructor.
*/
- KoPartSelectDia( TQWidget* tqparent = 0, const char* name = 0 );
+ KoPartSelectDia( TQWidget* parent = 0, const char* name = 0 );
/**
* Retrieves the result of the part selection.
@@ -58,7 +58,7 @@ public:
* @returns the KoDocumentEntry of the selected KOffice components
* or an empty entry.
*/
- static KoDocumentEntry selectPart( TQWidget *tqparent = 0L );
+ static KoDocumentEntry selectPart( TQWidget *parent = 0L );
private slots:
void selectionChanged( TQListViewItem * );
diff --git a/lib/kofficeui/KoPictureFilePreview.cpp b/lib/kofficeui/KoPictureFilePreview.cpp
index 3f44f1e9..7baed8f9 100644
--- a/lib/kofficeui/KoPictureFilePreview.cpp
+++ b/lib/kofficeui/KoPictureFilePreview.cpp
@@ -41,8 +41,8 @@
class KoPictureFilePreviewWidget : public TQScrollView
{
public:
- KoPictureFilePreviewWidget( TQWidget *tqparent )
- : TQScrollView( tqparent ) { viewport()->setBackgroundMode( PaletteBase ); }
+ KoPictureFilePreviewWidget( TQWidget *parent )
+ : TQScrollView( parent ) { viewport()->setBackgroundMode( PaletteBase ); }
bool setPicture( const KURL& url )
{
@@ -88,8 +88,8 @@ private:
TQSize m_size;
};
-KoPictureFilePreview::KoPictureFilePreview( TQWidget *tqparent )
- : KPreviewWidgetBase( tqparent )
+KoPictureFilePreview::KoPictureFilePreview( TQWidget *parent )
+ : KPreviewWidgetBase( parent )
{
TQVBoxLayout *vb = new TQVBoxLayout( this, KDialog::marginHint() );
m_widget = new KoPictureFilePreviewWidget( this );
diff --git a/lib/kofficeui/KoPictureFilePreview.h b/lib/kofficeui/KoPictureFilePreview.h
index 820f9b10..3922cd74 100644
--- a/lib/kofficeui/KoPictureFilePreview.h
+++ b/lib/kofficeui/KoPictureFilePreview.h
@@ -36,7 +36,7 @@ class KOFFICEUI_EXPORT KoPictureFilePreview : public KPreviewWidgetBase
TQ_OBJECT
public:
- KoPictureFilePreview( TQWidget *tqparent );
+ KoPictureFilePreview( TQWidget *parent );
/**
* @return a list of patterns of all supported clipart formats.
diff --git a/lib/kofficeui/KoSelectAction.cpp b/lib/kofficeui/KoSelectAction.cpp
index 9fd10314..2742ff11 100644
--- a/lib/kofficeui/KoSelectAction.cpp
+++ b/lib/kofficeui/KoSelectAction.cpp
@@ -52,7 +52,7 @@ class KoSelectAction::KoSelectActionPrivate
};
KoSelectAction::KoSelectAction(const TQString &text, const TQString& icon,
- TQObject* tqparent, const char* name) : KAction(text, icon, 0, tqparent, name)
+ TQObject* parent, const char* name) : KAction(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* tqparent, const char* name) : KAction(text, icon, 0, tqparent, name)
+ const char* slot, TQObject* parent, const char* name) : KAction(text, icon, 0, parent, name)
{
d = new KoSelectActionPrivate;
diff --git a/lib/kofficeui/KoSelectAction.h b/lib/kofficeui/KoSelectAction.h
index 4bad1005..a6d3b006 100644
--- a/lib/kofficeui/KoSelectAction.h
+++ b/lib/kofficeui/KoSelectAction.h
@@ -36,20 +36,20 @@ class KOFFICEUI_EXPORT KoSelectAction : public KAction
/** Constructs a KoSelectAction with a text and an icon.
* @param text The text that will be displayed.
* @param icon The dynamically loaded icon that goes with this action.
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
- KoSelectAction(const TQString& text, const TQString& icon, TQObject* tqparent = 0, const char* name = 0);
+ KoSelectAction(const TQString& text, const TQString& icon, TQObject* parent = 0, const char* name = 0);
/** Same as above, but it also connects a slot to the selectionChanged(int) signal.
* @param text The text that will be displayed.
* @param icon The dynamically loaded icon that goes with this action.
- * @param receiver The SLOT's tqparent.
+ * @param receiver The SLOT's parent.
* @param slot The TQT_SLOT to invoke when a selectionChanged(int) signal is emited.
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
KoSelectAction(const TQString& text, const TQString& icon, const TQObject* receiver,
- const char* slot, TQObject* tqparent, const char* name = 0);
+ const char* slot, TQObject* parent, const char* name = 0);
~KoSelectAction();
/** Returns a pointer to the popup menu. */
diff --git a/lib/kofficeui/KoTabBar.cpp b/lib/kofficeui/KoTabBar.cpp
index 7c0beeeb..e33ce12c 100644
--- a/lib/kofficeui/KoTabBar.cpp
+++ b/lib/kofficeui/KoTabBar.cpp
@@ -347,8 +347,8 @@ void KoTabBarPrivate::updateButtons()
}
// creates a new tabbar
-KoTabBar::KoTabBar( TQWidget* tqparent, const char* name )
- : TQWidget( tqparent, name, TQt::WResizeNoErase | TQt::WRepaintNoErase )
+KoTabBar::KoTabBar( TQWidget* parent, const char* name )
+ : TQWidget( parent, name, TQt::WResizeNoErase | TQt::WRepaintNoErase )
{
d = new KoTabBarPrivate;
d->tabbar = this;
diff --git a/lib/kofficeui/KoTabBar.h b/lib/kofficeui/KoTabBar.h
index 1ab9d6dc..39cf03b8 100644
--- a/lib/kofficeui/KoTabBar.h
+++ b/lib/kofficeui/KoTabBar.h
@@ -73,7 +73,7 @@ public:
/**
* Creates a new tabbar.
*/
- KoTabBar( TQWidget* tqparent = 0, const char *name = 0 );
+ KoTabBar( TQWidget* parent = 0, const char *name = 0 );
/**
* Destroy the tabbar.
diff --git a/lib/kofficeui/KoTabChooser.cpp b/lib/kofficeui/KoTabChooser.cpp
index 71a12342..ed891e89 100644
--- a/lib/kofficeui/KoTabChooser.cpp
+++ b/lib/kofficeui/KoTabChooser.cpp
@@ -43,8 +43,8 @@ public:
/******************************************************************/
/*================================================================*/
-KoTabChooser::KoTabChooser( TQWidget *tqparent, int _flags )
- : TQFrame( tqparent, "" )
+KoTabChooser::KoTabChooser( TQWidget *parent, int _flags )
+ : TQFrame( parent, "" )
{
setFrameStyle( MenuBarPanel );
flags = _flags;
diff --git a/lib/kofficeui/KoTabChooser.h b/lib/kofficeui/KoTabChooser.h
index f479ff94..31ad0f85 100644
--- a/lib/kofficeui/KoTabChooser.h
+++ b/lib/kofficeui/KoTabChooser.h
@@ -44,7 +44,7 @@ public:
TAB_DEC_PNT = 8,
TAB_ALL = TAB_LEFT | TAB_CENTER | TAB_RIGHT | TAB_DEC_PNT };
- KoTabChooser( TQWidget *tqparent, int _flags );
+ KoTabChooser( TQWidget *parent, int _flags );
~KoTabChooser();
int getCurrTabType() { return currType; }
diff --git a/lib/kofficeui/KoTemplateChooseDia.cpp b/lib/kofficeui/KoTemplateChooseDia.cpp
index 280a875c..3d1609ed 100644
--- a/lib/kofficeui/KoTemplateChooseDia.cpp
+++ b/lib/kofficeui/KoTemplateChooseDia.cpp
@@ -62,10 +62,10 @@ class MyFileDialog : public KFileDialog
MyFileDialog(
const TQString& startDir=0,
const TQString& filter =0,
- TQWidget *tqparent=0,
+ TQWidget *parent=0,
const char *name=0,
bool modal=0)
- : KFileDialog (startDir, filter, tqparent, name, modal),
+ : KFileDialog (startDir, filter, parent, name, modal),
m_slotOkCalled( false ) {}
KURL currentURL()
@@ -178,13 +178,13 @@ class KoTemplateChooseDiaPrivate {
/******************************************************************/
/*================================================================*/
-KoTemplateChooseDia::KoTemplateChooseDia(TQWidget *tqparent, const char *name, KInstance* instance,
+KoTemplateChooseDia::KoTemplateChooseDia(TQWidget *parent, const char *name, KInstance* instance,
const TQCString &format,
const TQString &nativeName,
const TQStringList &extraNativeMimeTypes,
const DialogType &dialogType,
const TQCString& templateType) :
- KDialogBase(tqparent, name, true, i18n("Open Document"), KDialogBase::Ok | KDialogBase::Cancel,
+ KDialogBase(parent, name, true, i18n("Open Document"), KDialogBase::Ok | KDialogBase::Cancel,
KDialogBase::Ok)
{
d = new KoTemplateChooseDiaPrivate(
@@ -230,7 +230,7 @@ static bool cancelQuits() {
KoTemplateChooseDia::ReturnType KoTemplateChooseDia::choose(KInstance* instance, TQString &file,
const KoTemplateChooseDia::DialogType &dialogType,
const TQCString& templateType,
- TQWidget* tqparent)
+ TQWidget* parent)
{
const TQString nativeName = instance->aboutData()->programName();
const TQCString format = KoDocument::readNativeFormatMimeType( instance );
@@ -238,7 +238,7 @@ KoTemplateChooseDia::ReturnType KoTemplateChooseDia::choose(KInstance* instance,
// Maybe the above two can be combined into one call, for speed:
//KoDocument::getNativeMimeTypeInfo( instance, nativeName, extraNativeMimeTypes );
return choose( instance, file, format, nativeName, extraNativeMimeTypes,
- dialogType, templateType, tqparent );
+ dialogType, templateType, parent );
}
KoTemplateChooseDia::ReturnType KoTemplateChooseDia::choose(KInstance* instance, TQString &file,
@@ -247,10 +247,10 @@ KoTemplateChooseDia::ReturnType KoTemplateChooseDia::choose(KInstance* instance,
const TQStringList& extraNativeMimeTypes,
const DialogType &dialogType,
const TQCString& templateType,
- TQWidget* tqparent )
+ TQWidget* parent )
{
KoTemplateChooseDia *dlg = new KoTemplateChooseDia(
- tqparent, "Choose", instance, format,
+ parent, "Choose", instance, format,
nativeName, extraNativeMimeTypes, dialogType, templateType );
KoTemplateChooseDia::ReturnType rt = Cancel;
diff --git a/lib/kofficeui/KoTemplateChooseDia.h b/lib/kofficeui/KoTemplateChooseDia.h
index 98188ad1..677c11b1 100644
--- a/lib/kofficeui/KoTemplateChooseDia.h
+++ b/lib/kofficeui/KoTemplateChooseDia.h
@@ -45,8 +45,8 @@ class KoTCDIconCanvas : public KIconCanvas
Q_OBJECT
TQ_OBJECT
public:
- KoTCDIconCanvas( TQWidget *tqparent = 0, const char *name = 0L )
- : KIconCanvas( tqparent, name ) {}
+ KoTCDIconCanvas( TQWidget *parent = 0, const char *name = 0L )
+ : KIconCanvas( parent, name ) {}
bool isCurrentValid() { return currentItem(); }
TQIconViewItem * load(KoTemplateGroup *group, const TQString& name, KInstance* instance);
@@ -64,13 +64,13 @@ class KoTCDIconCanvas : public KIconCanvas
class KoTCDIconViewItem : public KIconViewItem
{
public:
- KoTCDIconViewItem(TQIconView *tqparent=0)
- : KIconViewItem ( tqparent )
+ KoTCDIconViewItem(TQIconView *parent=0)
+ : KIconViewItem ( parent )
{}
- KoTCDIconViewItem(TQIconView *tqparent=0, const TQString &text=0, const TQPixmap &icon=0,
+ KoTCDIconViewItem(TQIconView *parent=0, const TQString &text=0, const TQPixmap &icon=0,
const TQString &descr=0, const TQString &fullname=0)
- : KIconViewItem(tqparent, text, icon)
+ : KIconViewItem(parent, text, icon)
{
m_descr = descr;
m_full = fullname;
@@ -96,8 +96,8 @@ class KoTCDRecentFilesIconView : public KFileIconView {
Q_OBJECT
TQ_OBJECT
public:
- KoTCDRecentFilesIconView( TQWidget* tqparent, const char* name ) :
- KFileIconView( tqparent, name ), toolTip(0)
+ KoTCDRecentFilesIconView( TQWidget* parent, const char* name ) :
+ KFileIconView( parent, name ), toolTip(0)
{
connect( this, TQT_SIGNAL( onItem( TQIconViewItem * ) ),
TQT_SLOT( showToolTip( TQIconViewItem * ) ) );
@@ -168,13 +168,13 @@ public:
* @param dialogType the type of the dialog
* @param templateType the template type of your application (see kword or
* kpresenter for details)
- * @param tqparent pointer to tqparent widget
+ * @param parent pointer to parent widget
* @return The return type (see above)
*/
static ReturnType choose(KInstance* instance, TQString &file,
const DialogType &dialogType,
const TQCString& templateType,
- TQWidget* tqparent);
+ TQWidget* parent);
private:
/// Ditto, with extraNativeMimeTypes added
@@ -184,7 +184,7 @@ private:
const TQStringList& extraNativeMimeTypes,
const DialogType &dialogType=Everything,
const TQCString& templateType="",
- TQWidget* tqparent = 0);
+ TQWidget* parent = 0);
public:
/**
@@ -213,7 +213,7 @@ protected slots:
private:
/**
*
- * @param tqparent tqparent the tqparent of the dialog
+ * @param parent parent the parent of the dialog
* @param name the TQt internal name
* @param instance the KInstance of your app
* @param format is the mimetype of the app (e.g. application/x-kspread)
@@ -224,7 +224,7 @@ private:
*
* @return The return type (see above)
*/
- KoTemplateChooseDia(TQWidget *tqparent, const char *name, KInstance* instance,
+ KoTemplateChooseDia(TQWidget *parent, const char *name, KInstance* instance,
const TQCString &format,
const TQString &nativeName,
const TQStringList &extraNativeMimeTypes,
diff --git a/lib/kofficeui/KoTemplateCreateDia.cpp b/lib/kofficeui/KoTemplateCreateDia.cpp
index 213e694f..6243b9dc 100644
--- a/lib/kofficeui/KoTemplateCreateDia.cpp
+++ b/lib/kofficeui/KoTemplateCreateDia.cpp
@@ -55,7 +55,7 @@
class KoTemplateCreateDiaPrivate {
public:
- KoTemplateCreateDiaPrivate( TQWidget* /*tqparent*/, KInstance * instance)
+ KoTemplateCreateDiaPrivate( TQWidget* /*parent*/, KInstance * instance)
: m_instance( instance ), m_tempFile( TQString(), ".png" )
{
m_tree=0L;
@@ -98,11 +98,11 @@ public:
****************************************************************************/
KoTemplateCreateDia::KoTemplateCreateDia( const TQCString &templateType, KInstance *instance,
- const TQString &file, const TQPixmap &pix, TQWidget *tqparent ) :
- KDialogBase( tqparent, "template create dia", true, i18n( "Create Template" ),
+ const TQString &file, const TQPixmap &pix, TQWidget *parent ) :
+ KDialogBase( parent, "template create dia", true, i18n( "Create Template" ),
KDialogBase::Ok | KDialogBase::Cancel, KDialogBase::Ok ), m_file(file), m_pixmap(pix) {
- d=new KoTemplateCreateDiaPrivate( tqparent, instance );
+ d=new KoTemplateCreateDiaPrivate( parent, instance );
TQFrame *mainwidget=makeMainWidget();
TQHBoxLayout *mbox=new TQHBoxLayout(mainwidget, 0, KDialogBase::spacingHint());
@@ -201,9 +201,9 @@ void KoTemplateCreateDia::slotSelectionChanged()
}
void KoTemplateCreateDia::createTemplate( const TQCString &templateType, KInstance *instance,
- const TQString &file, const TQPixmap &pix, TQWidget *tqparent ) {
+ const TQString &file, const TQPixmap &pix, TQWidget *parent ) {
- KoTemplateCreateDia *dia = new KoTemplateCreateDia( templateType, instance, file, pix, tqparent );
+ KoTemplateCreateDia *dia = new KoTemplateCreateDia( templateType, instance, file, pix, parent );
dia->exec();
delete dia;
}
@@ -221,7 +221,7 @@ void KoTemplateCreateDia::slotOk() {
}
// is it a group or a template? anyway - get the group :)
if(item->depth()!=0)
- item=item->tqparent();
+ item=item->parent();
if(!item) { // *very* safe :P
d->m_tree->writeTemplateTree();
KDialogBase::slotCancel();
diff --git a/lib/kofficeui/KoTemplateCreateDia.h b/lib/kofficeui/KoTemplateCreateDia.h
index 659a9f99..821d2f27 100644
--- a/lib/kofficeui/KoTemplateCreateDia.h
+++ b/lib/kofficeui/KoTemplateCreateDia.h
@@ -46,11 +46,11 @@ class KOFFICEUI_EXPORT KoTemplateCreateDia : public KDialogBase
public:
KoTemplateCreateDia( const TQCString &templateType, KInstance *instance,
- const TQString &file, const TQPixmap &pix, TQWidget *tqparent=0L );
+ const TQString &file, const TQPixmap &pix, TQWidget *parent=0L );
~KoTemplateCreateDia();
static void createTemplate( const TQCString &templateType, KInstance *instance,
- const TQString &file, const TQPixmap &pix, TQWidget *tqparent=0L );
+ const TQString &file, const TQPixmap &pix, TQWidget *parent=0L );
protected:
void slotOk();
diff --git a/lib/kofficeui/KoToolBox.cpp b/lib/kofficeui/KoToolBox.cpp
index eea6a290..db4d6467 100644
--- a/lib/kofficeui/KoToolBox.cpp
+++ b/lib/kofficeui/KoToolBox.cpp
@@ -91,9 +91,9 @@ void KoToolBox::registerTool( KAction *tool, int toolType, TQ_UINT32 priority )
(*tl)[prio] = tool;
}
-TQToolButton *KoToolBox::createButton(TQWidget * tqparent, const char* iconName, TQString tooltip)
+TQToolButton *KoToolBox::createButton(TQWidget * parent, const char* iconName, TQString tooltip)
{
- TQToolButton *button = new TQToolButton(tqparent);
+ TQToolButton *button = new TQToolButton(parent);
if ( iconName && *iconName ) {
TQPixmap pixmap = BarIcon( iconName, m_instance );
@@ -193,8 +193,8 @@ void KoToolBox::slotSetTool(const TQString & toolname)
// class ToolArea
-ToolArea::ToolArea(TQWidget *tqparent)
- : TQWidget(tqparent), m_left(true)
+ToolArea::ToolArea(TQWidget *parent)
+ : TQWidget(parent), m_left(true)
{
m_layout = new TQBoxLayout(this, TQBoxLayout::LeftToRight, 0, 0, 0);
TQWidget *w = new TQWidget(this);
diff --git a/lib/kofficeui/KoToolBox.h b/lib/kofficeui/KoToolBox.h
index 9a04986e..764ce4c1 100644
--- a/lib/kofficeui/KoToolBox.h
+++ b/lib/kofficeui/KoToolBox.h
@@ -74,7 +74,7 @@ public slots:
private:
- TQToolButton * createButton(TQWidget * tqparent, const char* iconName, TQString tooltip);
+ TQToolButton * createButton(TQWidget * parent, const char* iconName, TQString tooltip);
private:
@@ -95,7 +95,7 @@ private:
class ToolArea : public TQWidget {
public:
- ToolArea(TQWidget *tqparent);
+ ToolArea(TQWidget *parent);
~ToolArea();
void setOrientation ( Qt::Orientation o );
diff --git a/lib/kofficeui/KoTooluButton.cpp b/lib/kofficeui/KoTooluButton.cpp
index 9f500bb1..7260bbea 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();
}
diff --git a/lib/kofficeui/KoTooluButton.h b/lib/kofficeui/KoTooluButton.h
index d4c33944..1374f6d2 100644
--- a/lib/kofficeui/KoTooluButton.h
+++ b/lib/kofficeui/KoTooluButton.h
@@ -31,7 +31,7 @@ class KoColorPanel : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- KoColorPanel( TQWidget* tqparent = 0, const char* name = 0 );
+ KoColorPanel( TQWidget* parent = 0, const char* name = 0 );
virtual ~KoColorPanel();
virtual TQSize tqsizeHint() const;
@@ -40,7 +40,7 @@ public:
enum MenuStyle { Plain, CustomColors };
static TQPopupMenu* createColorPopup( MenuStyle style, const TQColor& defaultColor,
const TQObject* receiver, const char* slot,
- TQWidget* tqparent, const char* name );
+ TQWidget* parent, const char* name );
public slots:
void clear();
@@ -108,7 +108,7 @@ class KoColorPopupProxy : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- KoColorPopupProxy( const TQColor& defaultColor, KoColorPanel* recentColors, TQObject* tqparent, const char* name );
+ KoColorPopupProxy( const TQColor& defaultColor, KoColorPanel* recentColors, TQObject* parent, const char* name );
virtual ~KoColorPopupProxy() {}
void setRecentColorPanel( KoColorPanel* recentColors );
@@ -139,11 +139,11 @@ public:
*
* @param icon Name of icon to load (may be absolute or relative)
* @param id Id of this button
- * @param tqparent This button's tqparent
+ * @param parent This button's parent
* @param name This button's internal name
* @param txt This button's text (in a tooltip or otherwise)
*/
- KoToolButton( const TQString& icon, int id, TQWidget* tqparent,
+ KoToolButton( const TQString& icon, int id, TQWidget* parent,
const char* name = 0L, const TQString& txt = TQString(),
KInstance* _instance = KGlobal::instance() );
@@ -154,11 +154,11 @@ public:
*
* @param icon Name of icon to load (may be absolute or relative)
* @param id Id of this button
- * @param tqparent This button's tqparent
+ * @param parent This button's parent
* @param name This button's internal name
* @param txt This button's text (in a tooltip or otherwise)
*/
- KoToolButton( const TQPixmap& pixmap, int id, TQWidget* tqparent,
+ KoToolButton( const TQPixmap& pixmap, int id, TQWidget* parent,
const char* name = 0L, const TQString& txt = TQString() );
virtual ~KoToolButton();
diff --git a/lib/kofficeui/KoUnitWidgets.cpp b/lib/kofficeui/KoUnitWidgets.cpp
index a9b4fbcf..476e35b3 100644
--- a/lib/kofficeui/KoUnitWidgets.cpp
+++ b/lib/kofficeui/KoUnitWidgets.cpp
@@ -31,8 +31,8 @@
// Support classes
-KoUnitDoubleValidator::KoUnitDoubleValidator( KoUnitDoubleBase *base, TQObject *tqparent, const char *name )
-: KDoubleValidator( tqparent, name ), m_base( base )
+KoUnitDoubleValidator::KoUnitDoubleValidator( KoUnitDoubleBase *base, TQObject *parent, const char *name )
+: KDoubleValidator( parent, name ), m_base( base )
{
}
@@ -117,8 +117,8 @@ double KoUnitDoubleBase::toDouble( const TQString& str, bool* ok ) const
// Widget classes
-KoUnitDoubleSpinBox::KoUnitDoubleSpinBox( TQWidget *tqparent, const char *name )
- : KDoubleSpinBox( tqparent, name ), KoUnitDoubleBase( KoUnit::U_PT, 2 )
+KoUnitDoubleSpinBox::KoUnitDoubleSpinBox( TQWidget *parent, const char *name )
+ : KDoubleSpinBox( parent, name ), KoUnitDoubleBase( KoUnit::U_PT, 2 )
, m_lowerInPoints( -9999 )
, m_upperInPoints( 9999 )
, m_stepInPoints( 1 )
@@ -133,14 +133,14 @@ KoUnitDoubleSpinBox::KoUnitDoubleSpinBox( TQWidget *tqparent, const char *name )
}
-KoUnitDoubleSpinBox::KoUnitDoubleSpinBox( TQWidget *tqparent,
+KoUnitDoubleSpinBox::KoUnitDoubleSpinBox( TQWidget *parent,
double lower, double upper,
double step,
double value,
KoUnit::Unit unit,
unsigned int precision,
const char *name )
- : KDoubleSpinBox( lower, upper, step, value, precision, tqparent, name ),
+ : KDoubleSpinBox( lower, upper, step, value, precision, parent, name ),
KoUnitDoubleBase( unit, precision ),
m_lowerInPoints( lower ), m_upperInPoints( upper ), m_stepInPoints( step )
{
@@ -219,8 +219,8 @@ void KoUnitDoubleSpinBox::setMinMaxStep( double min, double max, double step )
// ----------------------------------------------------------------
-KoUnitDoubleLineEdit::KoUnitDoubleLineEdit( TQWidget *tqparent, const char *name )
- : KLineEdit( tqparent, name ), KoUnitDoubleBase( KoUnit::U_PT, 2 ), m_value( 0.0 ), m_lower( 0.0 ), m_upper( 9999.99 ),
+KoUnitDoubleLineEdit::KoUnitDoubleLineEdit( TQWidget *parent, const char *name )
+ : KLineEdit( parent, name ), KoUnitDoubleBase( KoUnit::U_PT, 2 ), m_value( 0.0 ), m_lower( 0.0 ), m_upper( 9999.99 ),
m_lowerInPoints( 0.0 ), m_upperInPoints( 9999.99 )
{
tqsetAlignment( TQt::AlignRight );
@@ -230,9 +230,9 @@ KoUnitDoubleLineEdit::KoUnitDoubleLineEdit( TQWidget *tqparent, const char *name
changeValue( KoUnit::ptToUnit( 0.0, KoUnit::U_PT ) );
}
-KoUnitDoubleLineEdit::KoUnitDoubleLineEdit( TQWidget *tqparent, double lower, double upper, double value, KoUnit::Unit unit,
+KoUnitDoubleLineEdit::KoUnitDoubleLineEdit( TQWidget *parent, double lower, double upper, double value, KoUnit::Unit unit,
unsigned int precision, const char *name )
- : KLineEdit( tqparent, name ), KoUnitDoubleBase( unit, precision ), m_value( value ), m_lower( lower ), m_upper( upper ),
+ : KLineEdit( parent, name ), KoUnitDoubleBase( unit, precision ), m_value( value ), m_lower( lower ), m_upper( upper ),
m_lowerInPoints( lower ), m_upperInPoints( upper )
{
tqsetAlignment( TQt::AlignRight );
@@ -284,8 +284,8 @@ double KoUnitDoubleLineEdit::value( void ) const
// ----------------------------------------------------------------
-KoUnitDoubleComboBox::KoUnitDoubleComboBox( TQWidget *tqparent, const char *name )
- : KComboBox( true, tqparent, name ), KoUnitDoubleBase( KoUnit::U_PT, 2 ), m_value( 0.0 ), m_lower( 0.0 ), m_upper( 9999.99 ), m_lowerInPoints( 0.0 ), m_upperInPoints( 9999.99 )
+KoUnitDoubleComboBox::KoUnitDoubleComboBox( TQWidget *parent, const char *name )
+ : KComboBox( true, parent, name ), KoUnitDoubleBase( KoUnit::U_PT, 2 ), m_value( 0.0 ), m_lower( 0.0 ), m_upper( 9999.99 ), m_lowerInPoints( 0.0 ), m_upperInPoints( 9999.99 )
{
lineEdit()->tqsetAlignment( TQt::AlignRight );
m_validator = new KoUnitDoubleValidator( this, TQT_TQOBJECT(this) );
@@ -295,9 +295,9 @@ KoUnitDoubleComboBox::KoUnitDoubleComboBox( TQWidget *tqparent, const char *name
connect( this, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotActivated( int ) ) );
}
-KoUnitDoubleComboBox::KoUnitDoubleComboBox( TQWidget *tqparent, double lower, double upper, double value, KoUnit::Unit unit,
+KoUnitDoubleComboBox::KoUnitDoubleComboBox( TQWidget *parent, double lower, double upper, double value, KoUnit::Unit unit,
unsigned int precision, const char *name )
- : KComboBox( true, tqparent, name ), KoUnitDoubleBase( unit, precision ), m_value( value ), m_lower( lower ), m_upper( upper ),
+ : KComboBox( true, parent, name ), KoUnitDoubleBase( unit, precision ), m_value( value ), m_lower( lower ), m_upper( upper ),
m_lowerInPoints( lower ), m_upperInPoints( upper )
{
lineEdit()->tqsetAlignment( TQt::AlignRight );
@@ -376,8 +376,8 @@ double KoUnitDoubleComboBox::value( void ) const
// ----------------------------------------------------------------
-KoUnitDoubleSpinComboBox::KoUnitDoubleSpinComboBox( TQWidget *tqparent, const char *name )
- : TQWidget( tqparent ), m_step( 1.0 )
+KoUnitDoubleSpinComboBox::KoUnitDoubleSpinComboBox( TQWidget *parent, const char *name )
+ : TQWidget( parent ), m_step( 1.0 )
{
TQGridLayout *tqlayout = new TQGridLayout( this, 2, 3 );
//tqlayout->setMargin( 2 );
@@ -399,9 +399,9 @@ KoUnitDoubleSpinComboBox::KoUnitDoubleSpinComboBox( TQWidget *tqparent, const ch
tqlayout->addMultiCellWidget( m_combo, 0, 1, 2, 2 );
}
-KoUnitDoubleSpinComboBox::KoUnitDoubleSpinComboBox( TQWidget *tqparent, double lower, double upper, double step, double value,
+KoUnitDoubleSpinComboBox::KoUnitDoubleSpinComboBox( TQWidget *parent, double lower, double upper, double step, double value,
KoUnit::Unit unit, unsigned int precision, const char *name )
- : TQWidget( tqparent ), m_step( step )//, m_lowerInPoints( lower ), m_upperInPoints( upper )
+ : TQWidget( parent ), m_step( step )//, m_lowerInPoints( lower ), m_upperInPoints( upper )
{
TQGridLayout *tqlayout = new TQGridLayout( this, 2, 3 );
//tqlayout->setMargin( 2 );
diff --git a/lib/kofficeui/KoUnitWidgets.h b/lib/kofficeui/KoUnitWidgets.h
index dbdcb9c0..80db554d 100644
--- a/lib/kofficeui/KoUnitWidgets.h
+++ b/lib/kofficeui/KoUnitWidgets.h
@@ -44,7 +44,7 @@ class KoUnitDoubleBase;
class KOFFICEUI_EXPORT KoUnitDoubleValidator : public KDoubleValidator
{
public:
- KoUnitDoubleValidator( KoUnitDoubleBase *base, TQObject *tqparent, const char *name = 0 );
+ KoUnitDoubleValidator( KoUnitDoubleBase *base, TQObject *parent, const char *name = 0 );
virtual TQValidator::State validate( TQString &, int & ) const;
@@ -109,9 +109,9 @@ class KOFFICEUI_EXPORT KoUnitDoubleSpinBox : public KDoubleSpinBox, public KoUni
Q_OBJECT
TQ_OBJECT
public:
- KoUnitDoubleSpinBox( TQWidget *tqparent = 0L, const char *name = 0L );
+ KoUnitDoubleSpinBox( TQWidget *parent = 0L, const char *name = 0L );
// lower, upper, step and value are in pt
- KoUnitDoubleSpinBox( TQWidget *tqparent, double lower, double upper, double step, double value = 0.0,
+ KoUnitDoubleSpinBox( TQWidget *parent, double lower, double upper, double step, double value = 0.0,
KoUnit::Unit unit = KoUnit::U_PT, unsigned int precision = 2, const char *name = 0 );
// added so the class can be used in .ui files(by Tymoteusz Majewski, maju7@o2.pl)
virtual void changeValue( double );
@@ -136,7 +136,7 @@ public:
void setMinMaxStep( double min, double max, double step );
signals:
- /// emitted like valueChanged in the tqparent, but this one emits the point value
+ /// emitted like valueChanged in the parent, but this one emits the point value
void valueChangedPt( double );
@@ -160,8 +160,8 @@ class KOFFICEUI_EXPORT KoUnitDoubleLineEdit : public KLineEdit, public KoUnitDou
Q_OBJECT
TQ_OBJECT
public:
- KoUnitDoubleLineEdit( TQWidget *tqparent = 0L, const char *name = 0L );
- KoUnitDoubleLineEdit( TQWidget *tqparent, double lower, double upper, double value = 0.0, KoUnit::Unit unit = KoUnit::U_PT, unsigned int precision = 2, const char *name = 0 );
+ KoUnitDoubleLineEdit( TQWidget *parent = 0L, const char *name = 0L );
+ KoUnitDoubleLineEdit( TQWidget *parent, double lower, double upper, double value = 0.0, KoUnit::Unit unit = KoUnit::U_PT, unsigned int precision = 2, const char *name = 0 );
virtual void changeValue( double );
virtual void setUnit( KoUnit::Unit = KoUnit::U_PT );
@@ -189,8 +189,8 @@ class KOFFICEUI_EXPORT KoUnitDoubleComboBox : public KComboBox, public KoUnitDou
Q_OBJECT
TQ_OBJECT
public:
- KoUnitDoubleComboBox( TQWidget *tqparent = 0L, const char *name = 0L );
- KoUnitDoubleComboBox( TQWidget *tqparent, double lower, double upper, double value = 0.0, KoUnit::Unit unit = KoUnit::U_PT, unsigned int precision = 2, const char *name = 0 );
+ KoUnitDoubleComboBox( TQWidget *parent = 0L, const char *name = 0L );
+ KoUnitDoubleComboBox( TQWidget *parent, double lower, double upper, double value = 0.0, KoUnit::Unit unit = KoUnit::U_PT, unsigned int precision = 2, const char *name = 0 );
virtual void changeValue( double );
void updateValue( double );
@@ -226,8 +226,8 @@ class KOFFICEUI_EXPORT KoUnitDoubleSpinComboBox : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- KoUnitDoubleSpinComboBox( TQWidget *tqparent = 0L, const char *name = 0L );
- KoUnitDoubleSpinComboBox( TQWidget *tqparent, double lower, double upper, double step, double value = 0.0, KoUnit::Unit unit = KoUnit::U_PT, unsigned int precision = 2, const char *name = 0 );
+ KoUnitDoubleSpinComboBox( TQWidget *parent = 0L, const char *name = 0L );
+ KoUnitDoubleSpinComboBox( TQWidget *parent, double lower, double upper, double step, double value = 0.0, KoUnit::Unit unit = KoUnit::U_PT, unsigned int precision = 2, const char *name = 0 );
void insertItem( double, int index = -1 );
void updateValue( double );
diff --git a/lib/kofficeui/KoZoomAction.cpp b/lib/kofficeui/KoZoomAction.cpp
index bebe7055..7f9e4139 100644
--- a/lib/kofficeui/KoZoomAction.cpp
+++ b/lib/kofficeui/KoZoomAction.cpp
@@ -26,15 +26,15 @@
#include <klocale.h>
KoZoomAction::KoZoomAction( const TQString& text, const TQIconSet& pix,
- const KShortcut& cut, TQObject* tqparent, const char* name ):
- KSelectAction( text, pix, cut, tqparent, name )
+ const KShortcut& cut, TQObject* parent, const char* name ):
+ KSelectAction( text, pix, cut, parent, name )
{
init();
}
KoZoomAction::KoZoomAction( const TQString& text, const TQString& pix,
- const KShortcut& cut, TQObject* tqparent, const char* name ):
- KSelectAction( text, pix, cut, tqparent, name )
+ const KShortcut& cut, TQObject* parent, const char* name ):
+ KSelectAction( text, pix, cut, parent, name )
{
init();
diff --git a/lib/kofficeui/KoZoomAction.h b/lib/kofficeui/KoZoomAction.h
index d714259a..932c409a 100644
--- a/lib/kofficeui/KoZoomAction.h
+++ b/lib/kofficeui/KoZoomAction.h
@@ -39,13 +39,13 @@ public:
* Creates a new zoom action.
*/
KoZoomAction( const TQString& text, const TQIconSet& pix,
- const KShortcut& cut = KShortcut(), TQObject* tqparent = 0, const char* name = 0 );
+ const KShortcut& cut = KShortcut(), TQObject* parent = 0, const char* name = 0 );
/**
* Creates a new zoom action.
*/
KoZoomAction( const TQString& text, const TQString& pix,
- const KShortcut& cut = KShortcut(), TQObject* tqparent = 0, const char* name = 0 );
+ const KShortcut& cut = KShortcut(), TQObject* parent = 0, const char* name = 0 );
public slots:
diff --git a/lib/kofficeui/Kolinestyleaction.cpp b/lib/kofficeui/Kolinestyleaction.cpp
index 0ef47518..5fa296f0 100644
--- a/lib/kofficeui/Kolinestyleaction.cpp
+++ b/lib/kofficeui/Kolinestyleaction.cpp
@@ -43,7 +43,7 @@ class KoLineStyleAction::KoLineStyleActionPrivate
};
KoLineStyleAction::KoLineStyleAction(const TQString &text, const TQString& icon,
- TQObject* tqparent, const char* name) : KoSelectAction(text, icon, tqparent, name)
+ TQObject* parent, const char* name) : KoSelectAction(text, icon, parent, name)
{
d = new KoLineStyleActionPrivate;
@@ -51,7 +51,7 @@ KoLineStyleAction::KoLineStyleAction(const TQString &text, const TQString& icon,
}
KoLineStyleAction::KoLineStyleAction(const TQString &text, const TQString& icon, const TQObject* receiver,
- const char* slot, TQObject* tqparent, const char* name) : KoSelectAction(text, icon, receiver, slot, tqparent, name)
+ const char* slot, TQObject* parent, const char* name) : KoSelectAction(text, icon, receiver, slot, parent, name)
{
d = new KoLineStyleActionPrivate;
@@ -66,7 +66,7 @@ KoLineStyleAction::~KoLineStyleAction()
void KoLineStyleAction::createMenu()
{
KPopupMenu* popup = popupMenu();
- TQBitmap tqmask;
+ TQBitmap mask;
TQPixmap pix(70, 21);
TQPainter p(&pix, popup);
int cindex = 0;
@@ -79,8 +79,8 @@ void KoLineStyleAction::createMenu()
pen.setStyle(static_cast<Qt::PenStyle>(i));
p.setPen(pen);
p.drawLine(0, 10, pix.width(), 10);
- tqmask = pix;
- pix.setMask(tqmask);
+ mask = pix;
+ pix.setMask(mask);
popup->insertItem(pix,cindex++);
}
}
diff --git a/lib/kofficeui/Kolinestyleaction.h b/lib/kofficeui/Kolinestyleaction.h
index 6d8d9e91..63be979c 100644
--- a/lib/kofficeui/Kolinestyleaction.h
+++ b/lib/kofficeui/Kolinestyleaction.h
@@ -31,20 +31,20 @@ class KOFFICEUI_EXPORT KoLineStyleAction : public KoSelectAction
/** Constructs a KoLineStyleAction with a text and an icon.
* @param text The text that will be displayed.
* @param icon The dynamically loaded icon that goes with this action.
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
- KoLineStyleAction(const TQString& text, const TQString& icon, TQObject* tqparent = 0, const char* name = 0);
+ KoLineStyleAction(const TQString& text, const TQString& icon, TQObject* parent = 0, const char* name = 0);
/** Same as above, but it also connects a slot to the selectionChanged(int) signal.
* @param text The text that will be displayed.
* @param icon The dynamically loaded icon that goes with this action.
- * @param receiver The SLOT's tqparent.
+ * @param receiver The SLOT's parent.
* @param slot The TQT_SLOT to invoke when a selectionChanged(int) signal is emited.
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
KoLineStyleAction(const TQString& text, const TQString& icon, const TQObject* receiver,
- const char* slot, TQObject* tqparent, const char* name = 0);
+ const char* slot, TQObject* parent, const char* name = 0);
~KoLineStyleAction();
protected:
diff --git a/lib/kofficeui/Kolinewidthaction.cpp b/lib/kofficeui/Kolinewidthaction.cpp
index 6b693d3c..c812c1c6 100644
--- a/lib/kofficeui/Kolinewidthaction.cpp
+++ b/lib/kofficeui/Kolinewidthaction.cpp
@@ -56,7 +56,7 @@ class KoLineWidthAction::KoLineWidthActionPrivate
};
KoLineWidthAction::KoLineWidthAction(const TQString &text, const TQString& icon,
- TQObject* tqparent, const char* name) : KoSelectAction(text, icon, tqparent, name)
+ TQObject* parent, const char* name) : KoSelectAction(text, icon, parent, name)
{
d = new KoLineWidthActionPrivate;
@@ -64,7 +64,7 @@ KoLineWidthAction::KoLineWidthAction(const TQString &text, const TQString& icon,
}
KoLineWidthAction::KoLineWidthAction(const TQString &text, const TQString& icon, const TQObject* receiver,
- const char* slot, TQObject* tqparent, const char* name) : KoSelectAction(text, icon, tqparent, name)
+ const char* slot, TQObject* parent, const char* name) : KoSelectAction(text, icon, parent, name)
{
d = new KoLineWidthActionPrivate;
@@ -81,7 +81,7 @@ KoLineWidthAction::~KoLineWidthAction()
void KoLineWidthAction::createMenu()
{
KPopupMenu* popup = popupMenu();
- TQBitmap tqmask;
+ TQBitmap mask;
TQPixmap pix(70, 21);
TQPainter p(&pix, popup);
int cindex = 0;
@@ -92,8 +92,8 @@ void KoLineWidthAction::createMenu()
pen.setWidth(tqRound(i * POINT_TO_INCH(static_cast<double>(KoGlobal::dpiY()))));
p.setPen(pen);
p.drawLine(0, 10, pix.width(), 10);
- tqmask = pix;
- pix.setMask(tqmask);
+ mask = pix;
+ pix.setMask(mask);
popup->insertItem(pix,cindex++);
}
@@ -162,8 +162,8 @@ class KoLineWidthChooser::KoLineWidthChooserPrivate
KoUnitDoubleSpinBox* m_lineWidthUSBox;
};
-KoLineWidthChooser::KoLineWidthChooser(TQWidget* tqparent, const char* name)
- : KDialogBase(tqparent, name, true, i18n("Custom Line Width"), Ok|Cancel, Ok)
+KoLineWidthChooser::KoLineWidthChooser(TQWidget* parent, const char* name)
+ : KDialogBase(parent, name, true, i18n("Custom Line Width"), Ok|Cancel, Ok)
{
d = new KoLineWidthChooserPrivate;
diff --git a/lib/kofficeui/Kolinewidthaction.h b/lib/kofficeui/Kolinewidthaction.h
index 31991fb4..a2b1dfe4 100644
--- a/lib/kofficeui/Kolinewidthaction.h
+++ b/lib/kofficeui/Kolinewidthaction.h
@@ -35,20 +35,20 @@ class KOFFICEUI_EXPORT KoLineWidthAction : public KoSelectAction
/** Constructs a KoLineWidthAction with a text and an icon.
* @param text The text that will be displayed.
* @param icon The dynamically loaded icon that goes with this action.
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
- KoLineWidthAction(const TQString& text, const TQString& icon, TQObject* tqparent = 0, const char* name = 0);
+ KoLineWidthAction(const TQString& text, const TQString& icon, TQObject* parent = 0, const char* name = 0);
/** Same as above, but it also connects a slot to the selectionChanged(int) signal.
* @param text The text that will be displayed.
* @param icon The dynamically loaded icon that goes with this action.
- * @param receiver The SLOT's tqparent.
+ * @param receiver The SLOT's parent.
* @param slot The TQT_SLOT to invoke when a lineWidthChanged(double) signal is emited.
- * @param tqparent This action's tqparent.
+ * @param parent This action's parent.
* @param name An internal name for this action.
*/
KoLineWidthAction(const TQString& text, const TQString& icon, const TQObject* receiver,
- const char* slot, TQObject* tqparent, const char* name = 0);
+ const char* slot, TQObject* parent, const char* name = 0);
~KoLineWidthAction();
/** Returns the currently selected line width */
@@ -90,7 +90,7 @@ class KoLineWidthChooser : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- KoLineWidthChooser(TQWidget* tqparent = 0, const char* name = 0);
+ KoLineWidthChooser(TQWidget* parent = 0, const char* name = 0);
~KoLineWidthChooser();
/** Returns the selected line width in points. */
diff --git a/lib/kofficeui/kcoloractions.cpp b/lib/kofficeui/kcoloractions.cpp
index 2a9b383e..c0da86e9 100644
--- a/lib/kofficeui/kcoloractions.cpp
+++ b/lib/kofficeui/kcoloractions.cpp
@@ -29,41 +29,41 @@
#include <kdebug.h>
KColorAction::KColorAction( const TQString& text, int accel,
- TQObject* tqparent, const char* name )
- : KAction( text, accel, tqparent, name )
+ TQObject* parent, const char* name )
+ : KAction( text, accel, parent, name )
{
typ = TextColor;
init();
}
KColorAction::KColorAction( const TQString& text, int accel,
- TQObject* receiver, const char* slot, TQObject* tqparent,
+ TQObject* receiver, const char* slot, TQObject* parent,
const char* name )
- : KAction( text, accel, receiver, slot, tqparent, name )
+ : KAction( text, accel, receiver, slot, parent, name )
{
typ = TextColor;
init();
}
KColorAction::KColorAction( const TQString& text, Type type, int accel,
- TQObject* tqparent, const char* name )
- : KAction( text, accel, tqparent, name )
+ TQObject* parent, const char* name )
+ : KAction( text, accel, parent, name )
{
typ = type;
init();
}
KColorAction::KColorAction( const TQString& text, Type type, int accel,
- TQObject* receiver, const char* slot, TQObject* tqparent,
+ TQObject* receiver, const char* slot, TQObject* parent,
const char* name )
- : KAction( text, accel, receiver, slot, tqparent, name )
+ : KAction( text, accel, receiver, slot, parent, name )
{
typ = type;
init();
}
-KColorAction::KColorAction( TQObject* tqparent, const char* name )
- : KAction( tqparent, name )
+KColorAction::KColorAction( TQObject* parent, const char* name )
+ : KAction( parent, name )
{
typ = TextColor;
init();
@@ -218,8 +218,8 @@ void KColorAction::createPixmap()
KSelectColorAction::KSelectColorAction( const TQString& text, Type type,
const TQObject* receiver, const char* slot,
- KActionCollection* tqparent, const char* name ) :
- KAction( text, KShortcut(), receiver, slot, tqparent, name ), m_type( type ),
+ KActionCollection* parent, const char* name ) :
+ KAction( text, KShortcut(), receiver, slot, parent, name ), m_type( type ),
m_color( TQt::black )
{
}
diff --git a/lib/kofficeui/kcoloractions.h b/lib/kofficeui/kcoloractions.h
index 22910672..8f2c713b 100644
--- a/lib/kofficeui/kcoloractions.h
+++ b/lib/kofficeui/kcoloractions.h
@@ -39,16 +39,16 @@ public:
};
// Create default (text) color action
- KColorAction( const TQString& text, int accel = 0, TQObject* tqparent = 0, const char* name = 0 );
+ KColorAction( const TQString& text, int accel = 0, TQObject* parent = 0, const char* name = 0 );
KColorAction( const TQString& text, int accel,
- TQObject* receiver, const char* slot, TQObject* tqparent, const char* name = 0 );
- KColorAction( TQObject* tqparent = 0, const char* name = 0 );
+ TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 );
+ KColorAction( TQObject* parent = 0, const char* name = 0 );
// Create a color action of a given type
KColorAction( const TQString& text, Type type, int accel = 0,
- TQObject* tqparent = 0, const char* name = 0 );
+ TQObject* parent = 0, const char* name = 0 );
KColorAction( const TQString& text, Type type, int accel,
- TQObject* receiver, const char* slot, TQObject* tqparent, const char* name = 0 );
+ TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 );
virtual void setColor( const TQColor &c );
TQColor color() const;
@@ -78,7 +78,7 @@ public:
KSelectColorAction( const TQString& text, Type type,
const TQObject* receiver, const char* slot,
- KActionCollection* tqparent, const char* name );
+ KActionCollection* parent, const char* name );
virtual ~KSelectColorAction();
virtual int plug( TQWidget* w, int index = -1 );
diff --git a/lib/kofficeui/tests/coloraction_test.cpp b/lib/kofficeui/tests/coloraction_test.cpp
index 1ce9f42a..729285bb 100644
--- a/lib/kofficeui/tests/coloraction_test.cpp
+++ b/lib/kofficeui/tests/coloraction_test.cpp
@@ -34,7 +34,7 @@
#include <time.h>
-TopLevel::TopLevel( TQWidget* tqparent, const char* name) : TQMainWindow( tqparent, name )
+TopLevel::TopLevel( TQWidget* parent, const char* name) : TQMainWindow( parent, name )
{
setCaption( TQString::tqfromLatin1( "KColorAction test application" ) );
diff --git a/lib/kofficeui/tests/coloraction_test.h b/lib/kofficeui/tests/coloraction_test.h
index a2f0f2cf..d0847493 100644
--- a/lib/kofficeui/tests/coloraction_test.h
+++ b/lib/kofficeui/tests/coloraction_test.h
@@ -30,7 +30,7 @@ class TopLevel : public TQMainWindow
Q_OBJECT
TQ_OBJECT
public:
- TopLevel( TQWidget* tqparent = 0, const char* name = 0 );
+ TopLevel( TQWidget* parent = 0, const char* name = 0 );
public slots:
void insertRandomColor();
diff --git a/lib/kofficeui/tkaction.cpp b/lib/kofficeui/tkaction.cpp
index 4af7d8d9..6a7d198a 100644
--- a/lib/kofficeui/tkaction.cpp
+++ b/lib/kofficeui/tkaction.cpp
@@ -41,8 +41,8 @@
} \
}
-TKAction::TKAction(TQObject* tqparent, const char* name)
-: KAction( "", 0, tqparent, name )
+TKAction::TKAction(TQObject* parent, const char* name)
+: KAction( "", 0, parent, name )
{
m_imode = TK::IconOnly;
}
@@ -120,9 +120,9 @@ void TKAction::updateLayout()
}
}
-TQWidget* TKAction::createLayout(TQWidget* tqparent, TQWidget* tqchildren)
+TQWidget* TKAction::createLayout(TQWidget* parent, TQWidget* tqchildren)
{
- TQWidget* base = new TQWidget(tqparent,"KTToolBarLayout");
+ TQWidget* base = new TQWidget(parent,"KTToolBarLayout");
TQLabel* textLabel = new TQLabel(base,"text");
textLabel->setMinimumHeight(1);
TQLabel* pixLabel = new TQLabel(base,"pixmap");
@@ -171,8 +171,8 @@ void TKAction::updateLayout(TQWidget* base)
(pixLabel->isVisible() ? pixLabel->tqsizeHint().width():0) );
}
/******************************************************************************/
-TKBaseSelectAction::TKBaseSelectAction( TQObject* tqparent, const char* name )
-: TKAction(tqparent,name)
+TKBaseSelectAction::TKBaseSelectAction( TQObject* parent, const char* name )
+: TKAction(parent,name)
{
m_current = 0;
m_editable = false;
@@ -248,8 +248,8 @@ void TKBaseSelectAction::activate(int id)
emit activated(id);
}
/******************************************************************************/
-TKSelectAction::TKSelectAction( TQObject* tqparent, const char* name )
-: TKBaseSelectAction(tqparent,name)
+TKSelectAction::TKSelectAction( TQObject* parent, const char* name )
+: TKBaseSelectAction(parent,name)
{
}
diff --git a/lib/kofficeui/tkaction.h b/lib/kofficeui/tkaction.h
index 119fbc85..26b4069d 100644
--- a/lib/kofficeui/tkaction.h
+++ b/lib/kofficeui/tkaction.h
@@ -34,7 +34,7 @@ class KOFFICEUI_EXPORT TKAction : public KAction
{ Q_OBJECT
TQ_OBJECT
public:
- TKAction(TQObject* tqparent, const char* name);
+ TKAction(TQObject* parent, const char* name);
~TKAction();
virtual int plug(TQWidget* widget, int index = -1);
@@ -44,7 +44,7 @@ public:
protected:
virtual void initToolBarButton(TKToolBarButton*);
- TQWidget* createLayout(TQWidget* tqparent, TQWidget* tqchildren);
+ TQWidget* createLayout(TQWidget* parent, TQWidget* tqchildren);
void updateLayout();
virtual void updateLayout(TQWidget*);
@@ -64,7 +64,7 @@ class KOFFICEUI_EXPORT TKBaseSelectAction : public TKAction
TQ_OBJECT
friend class TKSelectAction;
public:
- TKBaseSelectAction(TQObject* tqparent, const char* name);
+ TKBaseSelectAction(TQObject* parent, const char* name);
~TKBaseSelectAction();
virtual int plug(TQWidget* widget, int index = -1);
@@ -98,7 +98,7 @@ class KOFFICEUI_EXPORT TKSelectAction : public TKBaseSelectAction
{ Q_OBJECT
TQ_OBJECT
public:
- TKSelectAction(TQObject* tqparent, const char* name);
+ TKSelectAction(TQObject* parent, const char* name);
~TKSelectAction();
TQStringList items() const;
diff --git a/lib/kofficeui/tkcoloractions.cpp b/lib/kofficeui/tkcoloractions.cpp
index 1f17efb6..1449d0fb 100644
--- a/lib/kofficeui/tkcoloractions.cpp
+++ b/lib/kofficeui/tkcoloractions.cpp
@@ -32,8 +32,8 @@
#include <kdebug.h>
#include <tqapplication.h>
-TKColorPopupMenu::TKColorPopupMenu( TQWidget* tqparent, const char* name )
-: KPopupMenu(tqparent,name)
+TKColorPopupMenu::TKColorPopupMenu( TQWidget* parent, const char* name )
+: KPopupMenu(parent,name)
{
}
@@ -57,8 +57,8 @@ public:
};
-TKSelectColorAction::TKSelectColorAction( const TQString& text, Type type, TQObject* tqparent, const char* name, bool menuDefaultColor )
-: TKAction(tqparent,name)
+TKSelectColorAction::TKSelectColorAction( const TQString& text, Type type, TQObject* parent, const char* name, bool menuDefaultColor )
+: TKAction(parent,name)
{
d=new TKSelectColorActionPrivate();
d->defaultColorMenu=menuDefaultColor;
@@ -70,8 +70,8 @@ TKSelectColorAction::TKSelectColorAction( const TQString& text, Type type, TQObj
TKSelectColorAction::TKSelectColorAction( const TQString& text, Type type,
TQObject* receiver, const char* slot,
- TQObject* tqparent, const char* name, bool menuDefaultColor)
-: TKAction(tqparent,name)
+ TQObject* parent, const char* name, bool menuDefaultColor)
+: TKAction(parent,name)
{
d=new TKSelectColorActionPrivate();
d->defaultColorMenu=menuDefaultColor;
@@ -297,8 +297,8 @@ public:
};
/****************************************************************************************/
-TKColorPanel::TKColorPanel( TQWidget* tqparent, const char* name )
-: TQWidget(tqparent,name)
+TKColorPanel::TKColorPanel( TQWidget* parent, const char* name )
+: TQWidget(parent,name)
{
d = new TKColorPanel::TKColorPanelPrivate();
m_activeColor = black;
@@ -574,8 +574,8 @@ void TKColorPanel::fillPanel()
}
/****************************************************************************************/
-TKColorPanelButton::TKColorPanelButton( const TQColor& color, TQWidget* tqparent, const char* name )
-: TQFrame(tqparent,name), m_Color(color), m_bActive(false)
+TKColorPanelButton::TKColorPanelButton( const TQColor& color, TQWidget* parent, const char* name )
+: TQFrame(parent,name), m_Color(color), m_bActive(false)
{
setFixedSize(16,16);
setFrameStyle( NoFrame );
diff --git a/lib/kofficeui/tkcoloractions.h b/lib/kofficeui/tkcoloractions.h
index 0c5ccb1a..b478e2dd 100644
--- a/lib/kofficeui/tkcoloractions.h
+++ b/lib/kofficeui/tkcoloractions.h
@@ -34,7 +34,7 @@ class TKColorPopupMenu : public KPopupMenu
{ Q_OBJECT
TQ_OBJECT
public:
- TKColorPopupMenu( TQWidget* tqparent = 0, const char* name = 0 );
+ TKColorPopupMenu( TQWidget* parent = 0, const char* name = 0 );
~TKColorPopupMenu();
public slots:
@@ -52,10 +52,10 @@ public:
Color
};
- TKSelectColorAction( const TQString& text, Type type, TQObject* tqparent, const char* name, bool menuDefaultColor=false);
+ TKSelectColorAction( const TQString& text, Type type, TQObject* parent, const char* name, bool menuDefaultColor=false);
TKSelectColorAction( const TQString& text, Type type,
TQObject* receiver, const char* slot,
- TQObject* tqparent, const char* name,bool menuDefaultColor=false );
+ TQObject* parent, const char* name,bool menuDefaultColor=false );
virtual ~TKSelectColorAction();
@@ -102,7 +102,7 @@ class TKColorPanelButton : public TQFrame
{ Q_OBJECT
TQ_OBJECT
public:
- TKColorPanelButton( const TQColor&, TQWidget* tqparent, const char* name = 0 );
+ TKColorPanelButton( const TQColor&, TQWidget* parent, const char* name = 0 );
~TKColorPanelButton();
void setActive( bool );
@@ -131,7 +131,7 @@ class TKColorPanel : public TQWidget
TQ_OBJECT
public:
- TKColorPanel( TQWidget* tqparent = 0L, const char* name = 0 );
+ TKColorPanel( TQWidget* parent = 0L, const char* name = 0 );
~TKColorPanel();
void setActiveColor( const TQColor& );
diff --git a/lib/kofficeui/tkcombobox.cpp b/lib/kofficeui/tkcombobox.cpp
index 903f394e..d1cb7ac2 100644
--- a/lib/kofficeui/tkcombobox.cpp
+++ b/lib/kofficeui/tkcombobox.cpp
@@ -26,14 +26,14 @@
#include <kapplication.h>
-TKComboBox::TKComboBox(TQWidget* tqparent, const char* name)
-: TQComboBox(false,tqparent,name)
+TKComboBox::TKComboBox(TQWidget* parent, const char* name)
+: TQComboBox(false,parent,name)
{
}
-TKComboBox::TKComboBox( bool isEditable, TQWidget* tqparent, const char* name )
-: TQComboBox(isEditable,tqparent,name)
+TKComboBox::TKComboBox( bool isEditable, TQWidget* parent, const char* name )
+: TQComboBox(isEditable,parent,name)
{
}
diff --git a/lib/kofficeui/tkcombobox.h b/lib/kofficeui/tkcombobox.h
index 5ddcc563..066e9b93 100644
--- a/lib/kofficeui/tkcombobox.h
+++ b/lib/kofficeui/tkcombobox.h
@@ -25,8 +25,8 @@ class TKComboBox : public TQComboBox
{ Q_OBJECT
TQ_OBJECT
public:
- TKComboBox(TQWidget* tqparent=0, const char* name=0);
- TKComboBox(bool isEditable, TQWidget* tqparent=0, const char* name=0);
+ TKComboBox(TQWidget* parent=0, const char* name=0);
+ TKComboBox(bool isEditable, TQWidget* parent=0, const char* name=0);
~TKComboBox();
void activate();
diff --git a/lib/kofficeui/tktoolbarbutton.cpp b/lib/kofficeui/tktoolbarbutton.cpp
index fa36390e..9b2cb29c 100644
--- a/lib/kofficeui/tktoolbarbutton.cpp
+++ b/lib/kofficeui/tktoolbarbutton.cpp
@@ -89,9 +89,9 @@ public:
};
TKToolBarButton::TKToolBarButton( const TQString& icon, const TQString& txt,
- TQWidget* tqparent, const char* name,
+ TQWidget* parent, const char* name,
KInstance *instance )
-: TQToolButton(tqparent,name)
+: TQToolButton(parent,name)
{
d = new TKToolBarButtonPrivate;
d->m_text = txt;
@@ -109,8 +109,8 @@ TKToolBarButton::TKToolBarButton( const TQString& icon, const TQString& txt,
modeChange();
}
-TKToolBarButton::TKToolBarButton( const TQPixmap& pixmap, const TQString& txt, TQWidget* tqparent, const char* name )
-: TQToolButton(tqparent,name )
+TKToolBarButton::TKToolBarButton( const TQPixmap& pixmap, const TQString& txt, TQWidget* parent, const char* name )
+: TQToolButton(parent,name )
{
d = new TKToolBarButtonPrivate;
d->m_text = txt;
diff --git a/lib/kofficeui/tktoolbarbutton.h b/lib/kofficeui/tktoolbarbutton.h
index 680c19b1..3cec2f57 100644
--- a/lib/kofficeui/tktoolbarbutton.h
+++ b/lib/kofficeui/tktoolbarbutton.h
@@ -36,10 +36,10 @@ class TKToolBarButton : public TQToolButton
TQ_OBJECT
public:
TKToolBarButton(const TQString& icon, const TQString& txt,
- TQWidget* tqparent = 0, const char *name=0L,
+ TQWidget* parent = 0, const char *name=0L,
KInstance *_instance = KGlobal::instance());
- TKToolBarButton(const TQPixmap&, const TQString&, TQWidget* tqparent=0, const char* name=0);
+ TKToolBarButton(const TQPixmap&, const TQString&, TQWidget* parent=0, const char* name=0);
~TKToolBarButton();
void setIconMode(TK::IconMode);