summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kspread/dialogs
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz
koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspread/dialogs')
-rw-r--r--kspread/dialogs/kspread_dlg_angle.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_angle.h2
-rw-r--r--kspread/dialogs/kspread_dlg_area.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_area.h2
-rw-r--r--kspread/dialogs/kspread_dlg_comment.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_comment.h2
-rw-r--r--kspread/dialogs/kspread_dlg_conditional.cc10
-rw-r--r--kspread/dialogs/kspread_dlg_conditional.h4
-rw-r--r--kspread/dialogs/kspread_dlg_cons.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_cons.h2
-rw-r--r--kspread/dialogs/kspread_dlg_csv.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_csv.h2
-rw-r--r--kspread/dialogs/kspread_dlg_database.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_database.h2
-rw-r--r--kspread/dialogs/kspread_dlg_find.cc16
-rw-r--r--kspread/dialogs/kspread_dlg_find.h6
-rw-r--r--kspread/dialogs/kspread_dlg_formula.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_formula.h2
-rw-r--r--kspread/dialogs/kspread_dlg_goalseek.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_goalseek.h2
-rw-r--r--kspread/dialogs/kspread_dlg_goto.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_goto.h2
-rw-r--r--kspread/dialogs/kspread_dlg_insert.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_insert.h2
-rw-r--r--kspread/dialogs/kspread_dlg_layout.cc46
-rw-r--r--kspread/dialogs/kspread_dlg_layout.h24
-rw-r--r--kspread/dialogs/kspread_dlg_list.cc4
-rw-r--r--kspread/dialogs/kspread_dlg_list.h2
-rw-r--r--kspread/dialogs/kspread_dlg_paperlayout.cc4
-rw-r--r--kspread/dialogs/kspread_dlg_paperlayout.h2
-rw-r--r--kspread/dialogs/kspread_dlg_pasteinsert.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_pasteinsert.h2
-rw-r--r--kspread/dialogs/kspread_dlg_preference.cc32
-rw-r--r--kspread/dialogs/kspread_dlg_preference.h2
-rw-r--r--kspread/dialogs/kspread_dlg_reference.cc12
-rw-r--r--kspread/dialogs/kspread_dlg_reference.h4
-rw-r--r--kspread/dialogs/kspread_dlg_resize2.cc12
-rw-r--r--kspread/dialogs/kspread_dlg_resize2.h4
-rw-r--r--kspread/dialogs/kspread_dlg_series.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_series.h2
-rw-r--r--kspread/dialogs/kspread_dlg_show.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_show.h2
-rw-r--r--kspread/dialogs/kspread_dlg_showColRow.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_showColRow.h2
-rw-r--r--kspread/dialogs/kspread_dlg_sort.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_sort.h2
-rw-r--r--kspread/dialogs/kspread_dlg_special.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_special.h2
-rw-r--r--kspread/dialogs/kspread_dlg_styles.cc14
-rw-r--r--kspread/dialogs/kspread_dlg_styles.h4
-rw-r--r--kspread/dialogs/kspread_dlg_subtotal.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_subtotal.h2
-rw-r--r--kspread/dialogs/kspread_dlg_validity.cc6
-rw-r--r--kspread/dialogs/kspread_dlg_validity.h2
-rw-r--r--kspread/dialogs/link.h2
-rw-r--r--kspread/dialogs/sheet_properties.cc4
-rw-r--r--kspread/dialogs/sheet_properties.h2
57 files changed, 177 insertions, 177 deletions
diff --git a/kspread/dialogs/kspread_dlg_angle.cc b/kspread/dialogs/kspread_dlg_angle.cc
index dc633c55..7c97f6c2 100644
--- a/kspread/dialogs/kspread_dlg_angle.cc
+++ b/kspread/dialogs/kspread_dlg_angle.cc
@@ -38,10 +38,10 @@
using namespace KSpread;
-AngleDialog::AngleDialog(View* tqparent, const char* name, const TQPoint &_marker)
- : KDialogBase( tqparent, name,TRUE,i18n("Change Angle" ), Ok|Cancel|Default )
+AngleDialog::AngleDialog(View* parent, const char* name, const TQPoint &_marker)
+ : KDialogBase( parent, name,TRUE,i18n("Change Angle" ), Ok|Cancel|Default )
{
- m_pView=tqparent;
+ m_pView=parent;
marker=_marker;
TQWidget *page = new TQWidget( this );
diff --git a/kspread/dialogs/kspread_dlg_angle.h b/kspread/dialogs/kspread_dlg_angle.h
index 26ce07e1..6d3c0c8d 100644
--- a/kspread/dialogs/kspread_dlg_angle.h
+++ b/kspread/dialogs/kspread_dlg_angle.h
@@ -37,7 +37,7 @@ class AngleDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- AngleDialog( View* tqparent,const char* name,const TQPoint &_marker);
+ AngleDialog( View* parent,const char* name,const TQPoint &_marker);
public slots:
void slotOk();
diff --git a/kspread/dialogs/kspread_dlg_area.cc b/kspread/dialogs/kspread_dlg_area.cc
index 880b357b..9a78074b 100644
--- a/kspread/dialogs/kspread_dlg_area.cc
+++ b/kspread/dialogs/kspread_dlg_area.cc
@@ -37,10 +37,10 @@
using namespace KSpread;
-AreaDialog::AreaDialog( View * tqparent, const char * name, const TQPoint & _marker )
- : KDialogBase( tqparent, name, TRUE, i18n("Area Name"), Ok | Cancel )
+AreaDialog::AreaDialog( View * parent, const char * name, const TQPoint & _marker )
+ : KDialogBase( parent, name, TRUE, i18n("Area Name"), Ok | Cancel )
{
- m_pView = tqparent;
+ m_pView = parent;
m_marker = _marker;
TQWidget * page = new TQWidget( this );
diff --git a/kspread/dialogs/kspread_dlg_area.h b/kspread/dialogs/kspread_dlg_area.h
index 6236cf85..176d3377 100644
--- a/kspread/dialogs/kspread_dlg_area.h
+++ b/kspread/dialogs/kspread_dlg_area.h
@@ -39,7 +39,7 @@ class AreaDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- AreaDialog( View * tqparent, const char * name, const TQPoint & _marker );
+ AreaDialog( View * parent, const char * name, const TQPoint & _marker );
public slots:
void slotOk();
diff --git a/kspread/dialogs/kspread_dlg_comment.cc b/kspread/dialogs/kspread_dlg_comment.cc
index 603ceae5..9ed3c551 100644
--- a/kspread/dialogs/kspread_dlg_comment.cc
+++ b/kspread/dialogs/kspread_dlg_comment.cc
@@ -38,10 +38,10 @@
using namespace KSpread;
-CommentDialog::CommentDialog( View* tqparent, const char* name,const TQPoint &_marker)
- : KDialogBase( tqparent, name,TRUE,i18n("Cell Comment"),Ok|Cancel )
+CommentDialog::CommentDialog( View* parent, const char* name,const TQPoint &_marker)
+ : KDialogBase( parent, name,TRUE,i18n("Cell Comment"),Ok|Cancel )
{
- m_pView = tqparent;
+ m_pView = parent;
marker= _marker;
TQWidget *page = new TQWidget( this );
setMainWidget(page);
diff --git a/kspread/dialogs/kspread_dlg_comment.h b/kspread/dialogs/kspread_dlg_comment.h
index e44aed81..296ec366 100644
--- a/kspread/dialogs/kspread_dlg_comment.h
+++ b/kspread/dialogs/kspread_dlg_comment.h
@@ -39,7 +39,7 @@ class CommentDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- CommentDialog( View* tqparent, const char* name,const TQPoint &_marker );
+ CommentDialog( View* parent, const char* name,const TQPoint &_marker );
public slots:
void slotOk();
diff --git a/kspread/dialogs/kspread_dlg_conditional.cc b/kspread/dialogs/kspread_dlg_conditional.cc
index b19900c1..531f2ee3 100644
--- a/kspread/dialogs/kspread_dlg_conditional.cc
+++ b/kspread/dialogs/kspread_dlg_conditional.cc
@@ -47,8 +47,8 @@
using namespace KSpread;
-ConditionalWidget::ConditionalWidget( TQWidget* tqparent, const char* name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+ConditionalWidget::ConditionalWidget( TQWidget* parent, const char* name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
TQGridLayout * Form1Layout = new TQGridLayout( this, 1, 1, 11, 6, "Form1Layout");
@@ -276,11 +276,11 @@ void ConditionalWidget::slotTextChanged3( const TQString & text )
* ConditionalDialog
* Sets conditional cell formattings.
*/
-ConditionalDialog::ConditionalDialog( View * tqparent, const char * name,
+ConditionalDialog::ConditionalDialog( View * parent, const char * name,
const TQRect & marker )
- : KDialogBase( tqparent, name, true, "", KDialogBase::Ok | KDialogBase::Cancel,
+ : KDialogBase( parent, name, true, "", KDialogBase::Ok | KDialogBase::Cancel,
KDialogBase::Ok, false ),
- m_view( tqparent ),
+ m_view( parent ),
m_dlg( new ConditionalWidget( this ) ),
m_marker( marker )
{
diff --git a/kspread/dialogs/kspread_dlg_conditional.h b/kspread/dialogs/kspread_dlg_conditional.h
index 9ecba7be..d57e262c 100644
--- a/kspread/dialogs/kspread_dlg_conditional.h
+++ b/kspread/dialogs/kspread_dlg_conditional.h
@@ -42,7 +42,7 @@ class ConditionalWidget : public TQWidget
TQ_OBJECT
public:
- ConditionalWidget( TQWidget * tqparent = 0, const char * name = 0, WFlags fl = 0 );
+ ConditionalWidget( TQWidget * parent = 0, const char * name = 0, WFlags fl = 0 );
~ConditionalWidget();
TQComboBox * m_condition_1;
@@ -72,7 +72,7 @@ class ConditionalDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- ConditionalDialog( View * tqparent, const char * name,
+ ConditionalDialog( View * parent, const char * name,
const TQRect & marker );
void init();
diff --git a/kspread/dialogs/kspread_dlg_cons.cc b/kspread/dialogs/kspread_dlg_cons.cc
index 16b0ebbb..91589f9f 100644
--- a/kspread/dialogs/kspread_dlg_cons.cc
+++ b/kspread/dialogs/kspread_dlg_cons.cc
@@ -54,10 +54,10 @@
using namespace KSpread;
-ConsolidateDialog::ConsolidateDialog( View* tqparent, const char* name )
- : KDialogBase( tqparent, name, false, i18n("Consolidate"), Ok|Cancel )
+ConsolidateDialog::ConsolidateDialog( View* parent, const char* name )
+ : KDialogBase( parent, name, false, i18n("Consolidate"), Ok|Cancel )
{
- m_pView = tqparent;
+ m_pView = parent;
TQWidget* page = new TQWidget( this );
setMainWidget( page );
diff --git a/kspread/dialogs/kspread_dlg_cons.h b/kspread/dialogs/kspread_dlg_cons.h
index b845f00f..e1315132 100644
--- a/kspread/dialogs/kspread_dlg_cons.h
+++ b/kspread/dialogs/kspread_dlg_cons.h
@@ -48,7 +48,7 @@ class ConsolidateDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- ConsolidateDialog( View* tqparent, const char* name );
+ ConsolidateDialog( View* parent, const char* name );
~ConsolidateDialog();
TQStringList refs();
diff --git a/kspread/dialogs/kspread_dlg_csv.cc b/kspread/dialogs/kspread_dlg_csv.cc
index ed1bf44f..c8ce2671 100644
--- a/kspread/dialogs/kspread_dlg_csv.cc
+++ b/kspread/dialogs/kspread_dlg_csv.cc
@@ -49,9 +49,9 @@
using namespace KSpread;
-CSVDialog::CSVDialog( View * tqparent, const char * name, TQRect const & rect, Mode mode)
- : KDialogBase( tqparent, name, true, TQString(), Ok|Cancel ),
- m_pView( tqparent ),
+CSVDialog::CSVDialog( View * parent, const char * name, TQRect const & rect, Mode mode)
+ : KDialogBase( parent, name, true, TQString(), Ok|Cancel ),
+ m_pView( parent ),
m_cancelled( false ),
m_adjustRows( 0 ),
m_startline( 0 ),
diff --git a/kspread/dialogs/kspread_dlg_csv.h b/kspread/dialogs/kspread_dlg_csv.h
index 1da65838..56f7a1b6 100644
--- a/kspread/dialogs/kspread_dlg_csv.h
+++ b/kspread/dialogs/kspread_dlg_csv.h
@@ -62,7 +62,7 @@ class CSVDialog : public KDialogBase
enum Mode { Clipboard, File, Column };
enum Header { TEXT, NUMBER, DATE, CURRENCY };
- CSVDialog( View * tqparent, const char * name, TQRect const & rect, Mode mode);
+ CSVDialog( View * parent, const char * name, TQRect const & rect, Mode mode);
~CSVDialog();
diff --git a/kspread/dialogs/kspread_dlg_database.cc b/kspread/dialogs/kspread_dlg_database.cc
index 7aa5dfa9..b5c66752 100644
--- a/kspread/dialogs/kspread_dlg_database.cc
+++ b/kspread/dialogs/kspread_dlg_database.cc
@@ -62,10 +62,10 @@ using namespace KSpread;
* Database wizard *
********************************************************/
-DatabaseDialog::DatabaseDialog( View * tqparent, TQRect const & rect, const char * name, bool modal, WFlags fl )
- : KWizard( (TQWidget *) tqparent, name, modal, fl ),
+DatabaseDialog::DatabaseDialog( View * parent, TQRect const & rect, const char * name, bool modal, WFlags fl )
+ : KWizard( (TQWidget *) parent, name, modal, fl ),
m_currentPage( eDatabase ),
- m_pView( tqparent ),
+ m_pView( parent ),
m_targetRect( rect ),
m_dbConnection( 0L )
{
diff --git a/kspread/dialogs/kspread_dlg_database.h b/kspread/dialogs/kspread_dlg_database.h
index d2e921fe..6e82adc3 100644
--- a/kspread/dialogs/kspread_dlg_database.h
+++ b/kspread/dialogs/kspread_dlg_database.h
@@ -55,7 +55,7 @@ class DatabaseDialog : public KWizard
public:
enum PageId { eDatabase = 0, eSheets = 1, eColumns = 2, eOptions = 3, eResult = 4 };
- DatabaseDialog( View * tqparent, TQRect const & rect, const char * name = 0, bool modal = FALSE, WFlags fl = 0 );
+ DatabaseDialog( View * parent, TQRect const & rect, const char * name = 0, bool modal = FALSE, WFlags fl = 0 );
virtual ~DatabaseDialog();
private slots:
diff --git a/kspread/dialogs/kspread_dlg_find.cc b/kspread/dialogs/kspread_dlg_find.cc
index 954e0a5c..d63bfd69 100644
--- a/kspread/dialogs/kspread_dlg_find.cc
+++ b/kspread/dialogs/kspread_dlg_find.cc
@@ -28,15 +28,15 @@
using namespace KSpread;
-FindOption::FindOption( TQWidget *tqparent)
+FindOption::FindOption( TQWidget *parent)
{
- TQVBoxLayout *tqlayout = new TQVBoxLayout(tqparent);
- m_moreOptions = new TQPushButton( i18n( "More Options" ), tqparent );
+ TQVBoxLayout *tqlayout = new TQVBoxLayout(parent);
+ m_moreOptions = new TQPushButton( i18n( "More Options" ), parent );
tqlayout->addWidget( m_moreOptions );
connect( m_moreOptions, TQT_SIGNAL( clicked () ), this, TQT_SLOT( slotMoreOptions() ) );
- m_findExtension = new TQWidget( tqparent );
+ m_findExtension = new TQWidget( parent );
tqlayout->addWidget( m_findExtension );
TQVBoxLayout *tqlayout1 = new TQVBoxLayout( m_findExtension );
m_searchInAllSheet = new TQCheckBox( i18n( "Search entire sheet" ),m_findExtension );
@@ -115,8 +115,8 @@ bool FindOption::searchInAllSheet() const
return m_searchInAllSheet->isChecked();
}
-FindDlg::FindDlg(TQWidget *tqparent, const char *name, long options, const TQStringList &findStrings, bool hasSelection )
- : KFindDialog(tqparent,name,options,findStrings,hasSelection )
+FindDlg::FindDlg(TQWidget *parent, const char *name, long options, const TQStringList &findStrings, bool hasSelection )
+ : KFindDialog(parent,name,options,findStrings,hasSelection )
{
m_findOptions = new FindOption( findExtension() );
connect( m_findOptions, TQT_SIGNAL( adjustSize() ), TQT_SLOT( slotAjustSize() ) );
@@ -139,8 +139,8 @@ bool FindDlg::searchInAllSheet() const
}
-SearchDlg::SearchDlg(TQWidget *tqparent, const char *name, long options, const TQStringList &findStrings, const TQStringList &replaceStrings, bool hasSelection )
- : KReplaceDialog(tqparent,name,options,findStrings,replaceStrings,hasSelection )
+SearchDlg::SearchDlg(TQWidget *parent, const char *name, long options, const TQStringList &findStrings, const TQStringList &replaceStrings, bool hasSelection )
+ : KReplaceDialog(parent,name,options,findStrings,replaceStrings,hasSelection )
{
m_findOptions = new FindOption( findExtension() );
connect( m_findOptions, TQT_SIGNAL( adjustSize() ), TQT_SLOT( slotAjustSize() ) );
diff --git a/kspread/dialogs/kspread_dlg_find.h b/kspread/dialogs/kspread_dlg_find.h
index d0f35f75..d952b254 100644
--- a/kspread/dialogs/kspread_dlg_find.h
+++ b/kspread/dialogs/kspread_dlg_find.h
@@ -37,7 +37,7 @@ class FindOption : public TQObject
Q_OBJECT
TQ_OBJECT
public:
- FindOption( TQWidget *tqparent);
+ FindOption( TQWidget *parent);
bool searchInAllSheet() const;
enum searchTypeValue { Value, Note};
@@ -66,7 +66,7 @@ class FindDlg : public KFindDialog
TQ_OBJECT
public:
- FindDlg( TQWidget *tqparent = 0, const char *name = 0, long options = 0, const TQStringList &findStrings = TQStringList(), bool hasSelection = false );
+ FindDlg( TQWidget *parent = 0, const char *name = 0, long options = 0, const TQStringList &findStrings = TQStringList(), bool hasSelection = false );
~FindDlg();
bool searchInAllSheet() const;
FindOption::searchTypeValue searchType() const { return m_findOptions->searchType(); }
@@ -84,7 +84,7 @@ class SearchDlg : public KReplaceDialog
TQ_OBJECT
public:
- SearchDlg( TQWidget *tqparent = 0, const char *name = 0, long options = 0, const TQStringList &findStrings = TQStringList(), const TQStringList &replaceStrings = TQStringList(), bool hasSelection = false );
+ SearchDlg( TQWidget *parent = 0, const char *name = 0, long options = 0, const TQStringList &findStrings = TQStringList(), const TQStringList &replaceStrings = TQStringList(), bool hasSelection = false );
~SearchDlg();
bool searchInAllSheet() const;
FindOption::searchTypeValue searchType() const { return m_findOptions->searchType(); }
diff --git a/kspread/dialogs/kspread_dlg_formula.cc b/kspread/dialogs/kspread_dlg_formula.cc
index d8d7e9d7..62e637f5 100644
--- a/kspread/dialogs/kspread_dlg_formula.cc
+++ b/kspread/dialogs/kspread_dlg_formula.cc
@@ -53,12 +53,12 @@
using namespace KSpread;
-FormulaDialog::FormulaDialog( View* tqparent, const char* name,const TQString& formulaName)
- : KDialogBase( tqparent, name,false,i18n("Function"), Ok|Cancel )
+FormulaDialog::FormulaDialog( View* parent, const char* name,const TQString& formulaName)
+ : KDialogBase( parent, name,false,i18n("Function"), Ok|Cancel )
{
setWFlags( TQt::WDestructiveClose );
- m_pView = tqparent;
+ m_pView = parent;
m_focus = 0;
m_desc = 0;
diff --git a/kspread/dialogs/kspread_dlg_formula.h b/kspread/dialogs/kspread_dlg_formula.h
index 62ffef19..8e3cb257 100644
--- a/kspread/dialogs/kspread_dlg_formula.h
+++ b/kspread/dialogs/kspread_dlg_formula.h
@@ -52,7 +52,7 @@ class FormulaDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- FormulaDialog( View* tqparent, const char* name,const TQString& formulaName=0);
+ FormulaDialog( View* parent, const char* name,const TQString& formulaName=0);
~FormulaDialog();
private:
/**
diff --git a/kspread/dialogs/kspread_dlg_goalseek.cc b/kspread/dialogs/kspread_dlg_goalseek.cc
index beae8437..8902cf6c 100644
--- a/kspread/dialogs/kspread_dlg_goalseek.cc
+++ b/kspread/dialogs/kspread_dlg_goalseek.cc
@@ -54,10 +54,10 @@
using namespace KSpread;
-GoalSeekDialog::GoalSeekDialog( View * tqparent, TQPoint const & marker,
+GoalSeekDialog::GoalSeekDialog( View * parent, TQPoint const & marker,
const char * name, bool, WFlags fl )
- : KDialog( tqparent, name, false, fl ),
- m_pView( tqparent ),
+ : KDialog( parent, name, false, fl ),
+ m_pView( parent ),
m_maxIter( 1000 ),
m_restored( true ),
m_focus(0),
diff --git a/kspread/dialogs/kspread_dlg_goalseek.h b/kspread/dialogs/kspread_dlg_goalseek.h
index b3b01f19..9771edaa 100644
--- a/kspread/dialogs/kspread_dlg_goalseek.h
+++ b/kspread/dialogs/kspread_dlg_goalseek.h
@@ -51,7 +51,7 @@ class GoalSeekDialog : public KDialog
TQ_OBJECT
public:
- GoalSeekDialog( View * tqparent, TQPoint const & marker, const char * name = 0,
+ GoalSeekDialog( View * parent, TQPoint const & marker, const char * name = 0,
bool modal = FALSE, WFlags fl = 0 );
~GoalSeekDialog();
diff --git a/kspread/dialogs/kspread_dlg_goto.cc b/kspread/dialogs/kspread_dlg_goto.cc
index 457dc80c..2d9935ac 100644
--- a/kspread/dialogs/kspread_dlg_goto.cc
+++ b/kspread/dialogs/kspread_dlg_goto.cc
@@ -38,10 +38,10 @@
using namespace KSpread;
-GotoDialog::GotoDialog( View* tqparent, const char* name )
- : KDialogBase( tqparent, name, TRUE, i18n("Goto Cell"), Ok|Cancel )
+GotoDialog::GotoDialog( View* parent, const char* name )
+ : KDialogBase( parent, name, TRUE, i18n("Goto Cell"), Ok|Cancel )
{
- m_pView = tqparent;
+ m_pView = parent;
TQWidget *page = new TQWidget( this );
setMainWidget(page);
TQVBoxLayout *lay1 = new TQVBoxLayout( page, 0, spacingHint() );
diff --git a/kspread/dialogs/kspread_dlg_goto.h b/kspread/dialogs/kspread_dlg_goto.h
index 70226971..815746c3 100644
--- a/kspread/dialogs/kspread_dlg_goto.h
+++ b/kspread/dialogs/kspread_dlg_goto.h
@@ -39,7 +39,7 @@ class GotoDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- GotoDialog( View* tqparent, const char* name);
+ GotoDialog( View* parent, const char* name);
public slots:
void slotOk();
diff --git a/kspread/dialogs/kspread_dlg_insert.cc b/kspread/dialogs/kspread_dlg_insert.cc
index 1cca23ca..8cd3f89f 100644
--- a/kspread/dialogs/kspread_dlg_insert.cc
+++ b/kspread/dialogs/kspread_dlg_insert.cc
@@ -42,10 +42,10 @@
using namespace KSpread;
-InsertDialog::InsertDialog( View* tqparent, const char* name,const TQRect &_rect,Mode _mode)
- : KDialogBase( tqparent, name, TRUE,"",Ok|Cancel )
+InsertDialog::InsertDialog( View* parent, const char* name,const TQRect &_rect,Mode _mode)
+ : KDialogBase( parent, name, TRUE,"",Ok|Cancel )
{
- m_pView = tqparent;
+ m_pView = parent;
rect=_rect;
insRem=_mode;
diff --git a/kspread/dialogs/kspread_dlg_insert.h b/kspread/dialogs/kspread_dlg_insert.h
index 27a961ac..05482cfd 100644
--- a/kspread/dialogs/kspread_dlg_insert.h
+++ b/kspread/dialogs/kspread_dlg_insert.h
@@ -45,7 +45,7 @@ class InsertDialog : public KDialogBase
public:
enum Mode { Insert, Remove };
- InsertDialog( View* tqparent, const char* name, const TQRect &_rect, Mode _mode );
+ InsertDialog( View* parent, const char* name, const TQRect &_rect, Mode _mode );
public slots:
void slotOk();
diff --git a/kspread/dialogs/kspread_dlg_layout.cc b/kspread/dialogs/kspread_dlg_layout.cc
index 8c21d75a..53942457 100644
--- a/kspread/dialogs/kspread_dlg_layout.cc
+++ b/kspread/dialogs/kspread_dlg_layout.cc
@@ -73,8 +73,8 @@ using namespace KSpread;
*
***************************************************************************/
-PatternSelect::PatternSelect( TQWidget *tqparent, const char * )
- : TQFrame( tqparent )
+PatternSelect::PatternSelect( TQWidget *parent, const char * )
+ : TQFrame( parent )
{
penStyle = Qt::NoPen;
penWidth = 1;
@@ -147,8 +147,8 @@ void PatternSelect::slotSelect()
*
***************************************************************************/
-GeneralTab::GeneralTab( TQWidget* tqparent, CellFormatDialog * dlg )
- : TQWidget( tqparent ),
+GeneralTab::GeneralTab( TQWidget* parent, CellFormatDialog * dlg )
+ : TQWidget( parent ),
m_dlg( dlg )
{
TQGridLayout * tqlayout = new TQGridLayout( this, 1, 1, KDialog::marginHint(), KDialog::spacingHint(), "tqlayout");
@@ -181,7 +181,7 @@ GeneralTab::GeneralTab( TQWidget* tqparent, CellFormatDialog * dlg )
tmp.remove( m_dlg->styleName );
m_parentBox->insertStringList( tmp );
- if ( m_dlg->getStyle()->tqparent() )
+ if ( m_dlg->getStyle()->parent() )
m_parentBox->setCurrentText( m_dlg->getStyle()->parentName() );
else
{
@@ -230,7 +230,7 @@ void GeneralTab::slotNewParent( const TQString & parentName )
else
m_dlg->getStyle()->setParent( m_dlg->getStyleManager()->style( parentName ) );
- // Set difference to new tqparent, set GUI to tqparent values, add changes made before
+ // Set difference to new parent, set GUI to parent values, add changes made before
// m_dlg->initGUI();
}
@@ -270,7 +270,7 @@ bool GeneralTab::checkParent( const TQString & parentName )
if ( !p )
{
- KMessageBox::sorry( this, i18n( "The tqparent style does not exist." ) );
+ KMessageBox::sorry( this, i18n( "The parent style does not exist." ) );
return false;
}
}
@@ -766,9 +766,9 @@ void CellFormatDialog::initMembers()
defaultHeightSize = sheet ? sheet->rowFormat(0)->dblHeight() : 0;
}
-bool CellFormatDialog::checkCircle( TQString const & name, TQString const & tqparent )
+bool CellFormatDialog::checkCircle( TQString const & name, TQString const & parent )
{
- return m_styleManager->checkCircle( name, tqparent );
+ return m_styleManager->checkCircle( name, parent );
}
void CellFormatDialog::checkBorderRight(Format *obj,int x,int y)
@@ -1078,8 +1078,8 @@ void CellFormatDialog::slotApply()
*
***************************************************************************/
-CellFormatPageFloat::CellFormatPageFloat( TQWidget* tqparent, CellFormatDialog *_dlg )
- : TQWidget ( tqparent ),
+CellFormatPageFloat::CellFormatPageFloat( TQWidget* parent, CellFormatDialog *_dlg )
+ : TQWidget ( parent ),
dlg( _dlg )
{
TQVBoxLayout* tqlayout = new TQVBoxLayout( this, 6,10 );
@@ -1881,8 +1881,8 @@ void CellFormatPageFloat::apply(FormatManipulator* _obj)
*
***************************************************************************/
-CellFormatPageProtection::CellFormatPageProtection( TQWidget* tqparent, CellFormatDialog * _dlg )
- : ProtectionTab( tqparent ),
+CellFormatPageProtection::CellFormatPageProtection( TQWidget* parent, CellFormatDialog * _dlg )
+ : ProtectionTab( parent ),
m_dlg( _dlg )
{
m_bDontPrint->setChecked( m_dlg->bDontPrintText );
@@ -1953,7 +1953,7 @@ void CellFormatPageProtection::apply(FormatManipulator* _obj)
*
***************************************************************************/
-CellFormatPageFont::CellFormatPageFont( TQWidget* tqparent, CellFormatDialog *_dlg ) : FontTab( tqparent )
+CellFormatPageFont::CellFormatPageFont( TQWidget* parent, CellFormatDialog *_dlg ) : FontTab( parent )
{
dlg = _dlg;
@@ -2228,8 +2228,8 @@ void CellFormatPageFont::setCombos()
*
***************************************************************************/
-CellFormatPagePosition::CellFormatPagePosition( TQWidget* tqparent, CellFormatDialog *_dlg )
- : PositionTab(tqparent ),
+CellFormatPagePosition::CellFormatPagePosition( TQWidget* parent, CellFormatDialog *_dlg )
+ : PositionTab(parent ),
dlg( _dlg )
{
if ( dlg->alignX == Format::Left )
@@ -2529,7 +2529,7 @@ double CellFormatPagePosition::getSizeWidth() const
*
***************************************************************************/
-BorderButton::BorderButton( TQWidget *tqparent, const char *_name ) : TQPushButton(tqparent,_name)
+BorderButton::BorderButton( TQWidget *parent, const char *_name ) : TQPushButton(parent,_name)
{
penStyle = Qt::NoPen;
penWidth = 1;
@@ -2570,8 +2570,8 @@ void BorderButton::unselect()
*
***************************************************************************/
-Border::Border( TQWidget *tqparent, const char *_name,bool _oneCol, bool _oneRow )
- : TQFrame( tqparent, _name )
+Border::Border( TQWidget *parent, const char *_name,bool _oneCol, bool _oneRow )
+ : TQFrame( parent, _name )
{
oneCol=_oneCol;
oneRow=_oneRow;
@@ -2630,8 +2630,8 @@ void Border::mousePressEvent( TQMouseEvent* _ev )
*
***************************************************************************/
-CellFormatPageBorder::CellFormatPageBorder( TQWidget* tqparent, CellFormatDialog *_dlg )
- : TQWidget( tqparent ),
+CellFormatPageBorder::CellFormatPageBorder( TQWidget* parent, CellFormatDialog *_dlg )
+ : TQWidget( parent ),
dlg( _dlg )
{
sheet = dlg->getSheet();
@@ -3494,7 +3494,7 @@ if (rect.contains(TQPoint(_ev->x(),_ev->y())))
*
***************************************************************************/
-BrushSelect::BrushSelect( TQWidget *tqparent, const char * ) : TQFrame( tqparent )
+BrushSelect::BrushSelect( TQWidget *parent, const char * ) : TQFrame( parent )
{
brushStyle = Qt::NoBrush;
brushColor = TQt::red;
@@ -3555,7 +3555,7 @@ void BrushSelect::slotSelect()
*
***************************************************************************/
-CellFormatPagePattern::CellFormatPagePattern( TQWidget* tqparent, CellFormatDialog *_dlg ) : TQWidget( tqparent )
+CellFormatPagePattern::CellFormatPagePattern( TQWidget* parent, CellFormatDialog *_dlg ) : TQWidget( parent )
{
dlg = _dlg;
diff --git a/kspread/dialogs/kspread_dlg_layout.h b/kspread/dialogs/kspread_dlg_layout.h
index ddb364e7..b8ec0bba 100644
--- a/kspread/dialogs/kspread_dlg_layout.h
+++ b/kspread/dialogs/kspread_dlg_layout.h
@@ -99,7 +99,7 @@ class PatternSelect : public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- PatternSelect( TQWidget *tqparent, const char *_name );
+ PatternSelect( TQWidget *parent, const char *_name );
void setPenStyle( Qt::PenStyle _pat ) { penStyle = _pat; tqrepaint(); }
Qt::PenStyle getPenStyle() { return penStyle; }
@@ -139,7 +139,7 @@ class GeneralTab : public TQWidget
TQ_OBJECT
public:
- GeneralTab( TQWidget * tqparent, CellFormatDialog * _dlg );
+ GeneralTab( TQWidget * parent, CellFormatDialog * _dlg );
~GeneralTab();
bool apply( CustomStyle * style );
@@ -167,7 +167,7 @@ class CellFormatPageFont : public FontTab
Q_OBJECT
TQ_OBJECT
public:
- CellFormatPageFont( TQWidget* tqparent, CellFormatDialog *_dlg );
+ CellFormatPageFont( TQWidget* parent, CellFormatDialog *_dlg );
void apply( CustomStyle * style );
void apply( FormatManipulator *_obj );
@@ -210,7 +210,7 @@ class CellFormatPageFloat : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- CellFormatPageFloat( TQWidget *tqparent, CellFormatDialog *_dlg );
+ CellFormatPageFloat( TQWidget *parent, CellFormatDialog *_dlg );
void apply( CustomStyle * style );
void apply( FormatManipulator *_obj );
@@ -254,7 +254,7 @@ class CellFormatPagePosition : public PositionTab
Q_OBJECT
TQ_OBJECT
public:
- CellFormatPagePosition( TQWidget *tqparent, CellFormatDialog *_dlg );
+ CellFormatPagePosition( TQWidget *parent, CellFormatDialog *_dlg );
void apply( CustomStyle * style );
void apply( FormatManipulator *_obj );
@@ -286,7 +286,7 @@ class Border : public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- Border( TQWidget *tqparent,const char *_name,bool _oneCol,bool _oneRow );
+ Border( TQWidget *parent,const char *_name,bool _oneCol,bool _oneRow );
signals:
void redraw();
void choosearea(TQMouseEvent * _ev);
@@ -302,7 +302,7 @@ class BorderButton : public TQPushButton
Q_OBJECT
TQ_OBJECT
public:
- BorderButton( TQWidget *tqparent, const char *_name );
+ BorderButton( TQWidget *parent, const char *_name );
void setPenStyle( Qt::PenStyle _pat ) { penStyle = _pat;}
Qt::PenStyle getPenStyle() { return penStyle; }
void setColor( const TQColor &_col ) { penColor = _col; }
@@ -329,7 +329,7 @@ class CellFormatPageBorder : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- CellFormatPageBorder( TQWidget *tqparent, CellFormatDialog *_dlg );
+ CellFormatPageBorder( TQWidget *parent, CellFormatDialog *_dlg );
void apply(FormatManipulator* obj);
void invertState(BorderButton *_button);
@@ -387,7 +387,7 @@ class BrushSelect : public TQFrame
Q_OBJECT
TQ_OBJECT
public:
- BrushSelect( TQWidget *tqparent, const char *_name );
+ BrushSelect( TQWidget *parent, const char *_name );
void setBrushStyle( Qt::BrushStyle _pat ) { brushStyle = _pat; tqrepaint(); }
Qt::BrushStyle getBrushStyle() const { return brushStyle; }
@@ -417,7 +417,7 @@ class CellFormatPagePattern : public TQWidget
Q_OBJECT
TQ_OBJECT
public:
- CellFormatPagePattern( TQWidget *tqparent, CellFormatDialog *_dlg );
+ CellFormatPagePattern( TQWidget *parent, CellFormatDialog *_dlg );
void apply( CustomStyle * style );
void apply( FormatManipulator *_obj );
@@ -463,7 +463,7 @@ class CellFormatPageProtection : public ProtectionTab
TQ_OBJECT
public:
- CellFormatPageProtection( TQWidget * tqparent, CellFormatDialog * _dlg );
+ CellFormatPageProtection( TQWidget * parent, CellFormatDialog * _dlg );
~CellFormatPageProtection();
///when protection is set through Style Manager
void apply( CustomStyle * style );
@@ -516,7 +516,7 @@ public:
StyleManager * getStyleManager() const { return m_styleManager; }
bool isSingleCell() { return ( left == right && top == bottom ); }
- bool checkCircle( TQString const & name, TQString const & tqparent );
+ bool checkCircle( TQString const & name, TQString const & parent );
KLocale * locale() const { return m_pView->doc()->locale(); }
diff --git a/kspread/dialogs/kspread_dlg_list.cc b/kspread/dialogs/kspread_dlg_list.cc
index 83eb54c9..f4e03269 100644
--- a/kspread/dialogs/kspread_dlg_list.cc
+++ b/kspread/dialogs/kspread_dlg_list.cc
@@ -39,8 +39,8 @@
using namespace KSpread;
-ListDialog::ListDialog( TQWidget* tqparent, const char* name )
- : KDialogBase( tqparent, name, true, i18n("Custom Lists"), Ok|Cancel )
+ListDialog::ListDialog( TQWidget* parent, const char* name )
+ : KDialogBase( parent, name, true, i18n("Custom Lists"), Ok|Cancel )
{
TQWidget* page = new TQWidget( this );
setMainWidget( page );
diff --git a/kspread/dialogs/kspread_dlg_list.h b/kspread/dialogs/kspread_dlg_list.h
index 714186bb..7b869d51 100644
--- a/kspread/dialogs/kspread_dlg_list.h
+++ b/kspread/dialogs/kspread_dlg_list.h
@@ -41,7 +41,7 @@ class ListDialog: public KDialogBase
TQ_OBJECT
public:
- ListDialog( TQWidget* tqparent, const char* name );
+ ListDialog( TQWidget* parent, const char* name );
void init();
public slots:
diff --git a/kspread/dialogs/kspread_dlg_paperlayout.cc b/kspread/dialogs/kspread_dlg_paperlayout.cc
index c6b52c15..f0e6f664 100644
--- a/kspread/dialogs/kspread_dlg_paperlayout.cc
+++ b/kspread/dialogs/kspread_dlg_paperlayout.cc
@@ -47,12 +47,12 @@
using namespace KSpread;
-PaperLayout::PaperLayout( TQWidget * tqparent, const char * name,
+PaperLayout::PaperLayout( TQWidget * parent, const char * name,
const KoPageLayout & tqlayout,
const KoHeadFoot & headfoot,
int tabs, KoUnit::Unit unit,
Sheet * sheet, View * view)
- : KoPageLayoutDia( tqparent, name, tqlayout, headfoot, tabs, unit, false /*no modal*/),
+ : KoPageLayoutDia( parent, name, tqlayout, headfoot, tabs, unit, false /*no modal*/),
m_pSheet( sheet ),
m_pView( view )
{
diff --git a/kspread/dialogs/kspread_dlg_paperlayout.h b/kspread/dialogs/kspread_dlg_paperlayout.h
index cd3537a3..c9a9e6e5 100644
--- a/kspread/dialogs/kspread_dlg_paperlayout.h
+++ b/kspread/dialogs/kspread_dlg_paperlayout.h
@@ -41,7 +41,7 @@ class PaperLayout: public KoPageLayoutDia
Q_OBJECT
TQ_OBJECT
public:
- PaperLayout( TQWidget* tqparent, const char* name,
+ PaperLayout( TQWidget* parent, const char* name,
const KoPageLayout& tqlayout,
const KoHeadFoot& headfoot,
int tabs, KoUnit::Unit unit,
diff --git a/kspread/dialogs/kspread_dlg_pasteinsert.cc b/kspread/dialogs/kspread_dlg_pasteinsert.cc
index 83e8bce3..9b54644d 100644
--- a/kspread/dialogs/kspread_dlg_pasteinsert.cc
+++ b/kspread/dialogs/kspread_dlg_pasteinsert.cc
@@ -37,10 +37,10 @@
using namespace KSpread;
-PasteInsertDialog::PasteInsertDialog( View* tqparent, const char* name,const TQRect &_rect)
- : KDialogBase( tqparent, name, TRUE,i18n("Paste Inserting Cells"),Ok|Cancel )
+PasteInsertDialog::PasteInsertDialog( View* parent, const char* name,const TQRect &_rect)
+ : KDialogBase( parent, name, TRUE,i18n("Paste Inserting Cells"),Ok|Cancel )
{
- m_pView = tqparent;
+ m_pView = parent;
rect=_rect;
TQWidget *page = new TQWidget( this );
diff --git a/kspread/dialogs/kspread_dlg_pasteinsert.h b/kspread/dialogs/kspread_dlg_pasteinsert.h
index 7159b87e..201ca280 100644
--- a/kspread/dialogs/kspread_dlg_pasteinsert.h
+++ b/kspread/dialogs/kspread_dlg_pasteinsert.h
@@ -38,7 +38,7 @@ class PasteInsertDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- PasteInsertDialog( View* tqparent, const char* name, const TQRect &_rect );
+ PasteInsertDialog( View* parent, const char* name, const TQRect &_rect );
public slots:
void slotOk();
diff --git a/kspread/dialogs/kspread_dlg_preference.cc b/kspread/dialogs/kspread_dlg_preference.cc
index 2b13cbdf..3d470ecf 100644
--- a/kspread/dialogs/kspread_dlg_preference.cc
+++ b/kspread/dialogs/kspread_dlg_preference.cc
@@ -55,39 +55,39 @@
using namespace KSpread;
-PreferenceDialog::PreferenceDialog( View* tqparent, const char* /*name*/)
+PreferenceDialog::PreferenceDialog( View* parent, const char* /*name*/)
: KDialogBase(KDialogBase::IconList,i18n("Configure KSpread") ,
KDialogBase::Ok | KDialogBase::Cancel| KDialogBase::Default,
KDialogBase::Ok)
{
- m_pView=tqparent;
+ m_pView=parent;
connect(this, TQT_SIGNAL(okClicked()),this,TQT_SLOT(slotApply()));
TQVBox *page2=addVBoxPage(i18n("Locale Settings"), TQString(),BarIcon("gohome",KIcon::SizeMedium));
- _localePage=new parameterLocale(tqparent,page2 );
+ _localePage=new parameterLocale(parent,page2 );
TQVBox *page3=addVBoxPage(i18n("Interface"), TQString(),BarIcon("signature", KIcon::SizeMedium) );
- _configure = new configure(tqparent,page3 );
+ _configure = new configure(parent,page3 );
TQVBox * page4=addVBoxPage(i18n("Misc"), TQString(),BarIcon("misc",KIcon::SizeMedium) );
- _miscParameter = new miscParameters(tqparent,page4 );
+ _miscParameter = new miscParameters(parent,page4 );
TQVBox *page5=addVBoxPage(i18n("Color"), TQString(),BarIcon("colorize",KIcon::SizeMedium) );
- _colorParameter=new colorParameters(tqparent,page5 );
+ _colorParameter=new colorParameters(parent,page5 );
TQVBox *page6=addVBoxPage(i18n("Page Layout"), TQString(),BarIcon("edit",KIcon::SizeMedium) );
- _layoutPage=new configureLayoutPage(tqparent,page6 );
+ _layoutPage=new configureLayoutPage(parent,page6 );
TQVBox *page7 = addVBoxPage( i18n("Spelling"), i18n("Spell Checker Behavior"),
BarIcon("spellcheck", KIcon::SizeMedium) );
- _spellPage=new configureSpellPage(tqparent,page7);
+ _spellPage=new configureSpellPage(parent,page7);
if (KoSpeaker::isKttsdInstalled()) {
TQVBox *page8 = addVBoxPage( i18n("Abbreviation for Text-to-Speech", "TTS"),
i18n("Text-to-Speech Settings"), BarIcon("access", KIcon::SizeMedium) );
- _ttsPage=new configureTTSPage(tqparent, page8);
+ _ttsPage=new configureTTSPage(parent, page8);
} else _ttsPage = 0;
}
@@ -151,7 +151,7 @@ void PreferenceDialog::slotDefault()
parameterLocale::parameterLocale( View* _view, TQVBox *box , char *name )
- :TQObject ( box->tqparent(),name)
+ :TQObject ( box->parent(),name)
{
m_pView = _view;
m_bUpdateLocale=false;
@@ -201,7 +201,7 @@ void parameterLocale::updateToMatchLocale(KLocale* locale)
}
configure::configure( View* _view, TQVBox *box , char *name )
- :TQObject ( box->tqparent(),name)
+ :TQObject ( box->parent(),name)
{
m_pView = _view;
@@ -406,7 +406,7 @@ void configure::apply()
miscParameters::miscParameters( View* _view,TQVBox *box, char *name )
- :TQObject ( box->tqparent(),name)
+ :TQObject ( box->parent(),name)
{
m_pView = _view;
@@ -717,7 +717,7 @@ void miscParameters::apply()
colorParameters::colorParameters( View* _view,TQVBox *box , char *name )
- :TQObject ( box->tqparent(),name)
+ :TQObject ( box->parent(),name)
{
m_pView = _view;
config = Factory::global()->config();
@@ -785,7 +785,7 @@ void colorParameters::slotDefault()
configureLayoutPage::configureLayoutPage( View* _view,TQVBox *box , char *name )
- :TQObject ( box->tqparent(),name)
+ :TQObject ( box->parent(),name)
{
m_pView = _view;
@@ -891,7 +891,7 @@ void configureLayoutPage::apply()
}
configureSpellPage::configureSpellPage( View* _view,TQVBox *box , char *name )
- :TQObject ( box->tqparent(),name)
+ :TQObject ( box->parent(),name)
{
m_pView = _view;
@@ -956,7 +956,7 @@ void configureSpellPage::slotDefault()
////
configureTTSPage::configureTTSPage( View *_view, TQVBox *box, char *name )
- : TQObject( box->tqparent(), name )
+ : TQObject( box->parent(), name )
{
Q_UNUSED(_view);
diff --git a/kspread/dialogs/kspread_dlg_preference.h b/kspread/dialogs/kspread_dlg_preference.h
index ec4abf11..29a995af 100644
--- a/kspread/dialogs/kspread_dlg_preference.h
+++ b/kspread/dialogs/kspread_dlg_preference.h
@@ -210,7 +210,7 @@ class PreferenceDialog : public KDialogBase
public:
enum { KS_PREFERENCES = 1, KS_LOCALE = 2, KS_INTERFACE = 4,
KS_MISC = 8, KS_COLOR = 16, KS_LAYOUT = 32, KS_SPELLING = 64 };
- PreferenceDialog( View* tqparent, const char* name);
+ PreferenceDialog( View* parent, const char* name);
public slots:
void slotApply();
void slotDefault();
diff --git a/kspread/dialogs/kspread_dlg_reference.cc b/kspread/dialogs/kspread_dlg_reference.cc
index 8f315ca5..386be712 100644
--- a/kspread/dialogs/kspread_dlg_reference.cc
+++ b/kspread/dialogs/kspread_dlg_reference.cc
@@ -51,10 +51,10 @@
using namespace KSpread;
-reference::reference( View* tqparent, const char* name )
- : TQDialog( tqparent, name,TRUE )
+reference::reference( View* parent, const char* name )
+ : TQDialog( parent, name,TRUE )
{
- m_pView = tqparent;
+ m_pView = parent;
TQVBoxLayout *lay1 = new TQVBoxLayout( this );
lay1->setMargin( KDialog::marginHint() );
lay1->setSpacing( KDialog::spacingHint() );
@@ -246,12 +246,12 @@ void reference::slotCancel()
-EditAreaName::EditAreaName( View * tqparent,
+EditAreaName::EditAreaName( View * parent,
const char * name,
TQString const & areaname )
- : KDialogBase( tqparent, name ,true,i18n( "Edit Area" ) , Ok|Cancel )
+ : KDialogBase( parent, name ,true,i18n( "Edit Area" ) , Ok|Cancel )
{
- m_pView = tqparent;
+ m_pView = parent;
resize( 350, 142 );
tqsetSizePolicy( TQSizePolicy( (TQSizePolicy::SizeType)5,
diff --git a/kspread/dialogs/kspread_dlg_reference.h b/kspread/dialogs/kspread_dlg_reference.h
index 30932101..0941e025 100644
--- a/kspread/dialogs/kspread_dlg_reference.h
+++ b/kspread/dialogs/kspread_dlg_reference.h
@@ -44,7 +44,7 @@ class reference: public TQDialog
Q_OBJECT
TQ_OBJECT
public:
- reference( View* tqparent, const char* name );
+ reference( View* parent, const char* name );
public slots:
@@ -74,7 +74,7 @@ class EditAreaName : public KDialogBase
TQ_OBJECT
public:
- EditAreaName( View * tqparent, const char * name,
+ EditAreaName( View * parent, const char * name,
TQString const & areaname );
~EditAreaName();
diff --git a/kspread/dialogs/kspread_dlg_resize2.cc b/kspread/dialogs/kspread_dlg_resize2.cc
index d287ee4f..e6d74d26 100644
--- a/kspread/dialogs/kspread_dlg_resize2.cc
+++ b/kspread/dialogs/kspread_dlg_resize2.cc
@@ -47,10 +47,10 @@
using namespace KSpread;
-ResizeRow::ResizeRow( View* tqparent, const char* name )
- : KDialogBase( tqparent, name, true, i18n("Resize Row"), Ok|Cancel|Default )
+ResizeRow::ResizeRow( View* parent, const char* name )
+ : KDialogBase( parent, name, true, i18n("Resize Row"), Ok|Cancel|Default )
{
- m_pView = tqparent;
+ m_pView = parent;
TQWidget *page = new TQWidget( this );
setMainWidget( page );
@@ -113,10 +113,10 @@ void ResizeRow::slotDefault()
m_pHeight->setValue(KoUnit::toUserValue(points, m_pView->doc()->unit()));
}
-ResizeColumn::ResizeColumn( View* tqparent, const char* name )
- : KDialogBase( tqparent, name, true, i18n("Resize Column"), Ok|Cancel|Default )
+ResizeColumn::ResizeColumn( View* parent, const char* name )
+ : KDialogBase( parent, name, true, i18n("Resize Column"), Ok|Cancel|Default )
{
- m_pView = tqparent;
+ m_pView = parent;
TQWidget *page = new TQWidget( this );
setMainWidget(page);
diff --git a/kspread/dialogs/kspread_dlg_resize2.h b/kspread/dialogs/kspread_dlg_resize2.h
index 3e955f18..61b5c0a5 100644
--- a/kspread/dialogs/kspread_dlg_resize2.h
+++ b/kspread/dialogs/kspread_dlg_resize2.h
@@ -41,7 +41,7 @@ class ResizeRow: public KDialogBase
TQ_OBJECT
public:
- ResizeRow( View* tqparent, const char* name = 0 );
+ ResizeRow( View* parent, const char* name = 0 );
double rowHeight;
protected slots:
@@ -59,7 +59,7 @@ class ResizeColumn: public KDialogBase
TQ_OBJECT
public:
- ResizeColumn( View* tqparent, const char* name = 0 );
+ ResizeColumn( View* parent, const char* name = 0 );
double columnWidth;
protected slots:
diff --git a/kspread/dialogs/kspread_dlg_series.cc b/kspread/dialogs/kspread_dlg_series.cc
index 725859d3..0158dd2a 100644
--- a/kspread/dialogs/kspread_dlg_series.cc
+++ b/kspread/dialogs/kspread_dlg_series.cc
@@ -47,10 +47,10 @@
using namespace KSpread;
-SeriesDlg::SeriesDlg( View* tqparent, const char* name,const TQPoint &_marker)
- : KDialogBase( tqparent, name,TRUE,i18n("Series"),Ok|Cancel )
+SeriesDlg::SeriesDlg( View* parent, const char* name,const TQPoint &_marker)
+ : KDialogBase( parent, name,TRUE,i18n("Series"),Ok|Cancel )
{
- m_pView = tqparent;
+ m_pView = parent;
marker=_marker;
TQWidget *page = new TQWidget( this );
setMainWidget(page);
diff --git a/kspread/dialogs/kspread_dlg_series.h b/kspread/dialogs/kspread_dlg_series.h
index fd7cc548..60419ab3 100644
--- a/kspread/dialogs/kspread_dlg_series.h
+++ b/kspread/dialogs/kspread_dlg_series.h
@@ -43,7 +43,7 @@ class SeriesDlg : public KDialogBase
TQ_OBJECT
public:
- SeriesDlg(View* tqparent, const char* name,const TQPoint &_marker);
+ SeriesDlg(View* parent, const char* name,const TQPoint &_marker);
Sheet* sheet;
diff --git a/kspread/dialogs/kspread_dlg_show.cc b/kspread/dialogs/kspread_dlg_show.cc
index 0719eb07..c73f71ec 100644
--- a/kspread/dialogs/kspread_dlg_show.cc
+++ b/kspread/dialogs/kspread_dlg_show.cc
@@ -38,10 +38,10 @@
using namespace KSpread;
-ShowDialog::ShowDialog( View* tqparent, const char* name )
- : KDialogBase( tqparent, name,TRUE,i18n("Show Sheet"),Ok|Cancel )
+ShowDialog::ShowDialog( View* parent, const char* name )
+ : KDialogBase( parent, name,TRUE,i18n("Show Sheet"),Ok|Cancel )
{
- m_pView = tqparent;
+ m_pView = parent;
TQWidget *page = new TQWidget( this );
setMainWidget(page);
TQVBoxLayout *lay1 = new TQVBoxLayout( page, 0, spacingHint() );
diff --git a/kspread/dialogs/kspread_dlg_show.h b/kspread/dialogs/kspread_dlg_show.h
index 239e18b6..2a17a454 100644
--- a/kspread/dialogs/kspread_dlg_show.h
+++ b/kspread/dialogs/kspread_dlg_show.h
@@ -38,7 +38,7 @@ class ShowDialog: public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- ShowDialog( View* tqparent, const char* name );
+ ShowDialog( View* parent, const char* name );
public slots:
diff --git a/kspread/dialogs/kspread_dlg_showColRow.cc b/kspread/dialogs/kspread_dlg_showColRow.cc
index 0a8ea14d..75a50cc3 100644
--- a/kspread/dialogs/kspread_dlg_showColRow.cc
+++ b/kspread/dialogs/kspread_dlg_showColRow.cc
@@ -35,10 +35,10 @@
using namespace KSpread;
-ShowColRow::ShowColRow( View* tqparent, const char* name, Type _type )
- : KDialogBase( tqparent, name,TRUE,"",Ok|Cancel )
+ShowColRow::ShowColRow( View* parent, const char* name, Type _type )
+ : KDialogBase( parent, name,TRUE,"",Ok|Cancel )
{
- m_pView = tqparent;
+ m_pView = parent;
typeShow=_type;
TQWidget *page = new TQWidget( this );
diff --git a/kspread/dialogs/kspread_dlg_showColRow.h b/kspread/dialogs/kspread_dlg_showColRow.h
index c0bdc591..d6f23ee4 100644
--- a/kspread/dialogs/kspread_dlg_showColRow.h
+++ b/kspread/dialogs/kspread_dlg_showColRow.h
@@ -39,7 +39,7 @@ class ShowColRow: public KDialogBase
TQ_OBJECT
public:
enum Type { Column, Row };
- ShowColRow( View* tqparent, const char* name, Type _type );
+ ShowColRow( View* parent, const char* name, Type _type );
public slots:
void slotOk();
diff --git a/kspread/dialogs/kspread_dlg_sort.cc b/kspread/dialogs/kspread_dlg_sort.cc
index 17beca41..1e58ccf5 100644
--- a/kspread/dialogs/kspread_dlg_sort.cc
+++ b/kspread/dialogs/kspread_dlg_sort.cc
@@ -56,10 +56,10 @@
using namespace KSpread;
-SortDialog::SortDialog( View * tqparent, const char * name,
+SortDialog::SortDialog( View * parent, const char * name,
bool modal )
- : KDialogBase( tqparent, name, modal,"Sort",Ok|Cancel ),
- m_pView( tqparent )
+ : KDialogBase( parent, name, modal,"Sort",Ok|Cancel ),
+ m_pView( parent )
{
if ( !name )
setName( "SortDialog" );
diff --git a/kspread/dialogs/kspread_dlg_sort.h b/kspread/dialogs/kspread_dlg_sort.h
index 2abe5bda..76da4fda 100644
--- a/kspread/dialogs/kspread_dlg_sort.h
+++ b/kspread/dialogs/kspread_dlg_sort.h
@@ -58,7 +58,7 @@ class SortDialog : public KDialogBase
SortRows=1
};
- SortDialog( View * tqparent, const char * name = 0,
+ SortDialog( View * parent, const char * name = 0,
bool modal = false );
~SortDialog();
diff --git a/kspread/dialogs/kspread_dlg_special.cc b/kspread/dialogs/kspread_dlg_special.cc
index 192fea6d..3f0c27e0 100644
--- a/kspread/dialogs/kspread_dlg_special.cc
+++ b/kspread/dialogs/kspread_dlg_special.cc
@@ -36,10 +36,10 @@
using namespace KSpread;
-SpecialDialog::SpecialDialog( View* tqparent, const char* name )
- : KDialogBase( tqparent, name, TRUE,i18n("Special Paste"),Ok|Cancel )
+SpecialDialog::SpecialDialog( View* parent, const char* name )
+ : KDialogBase( parent, name, TRUE,i18n("Special Paste"),Ok|Cancel )
{
- m_pView = tqparent;
+ m_pView = parent;
TQWidget *page = new TQWidget( this );
setMainWidget(page);
TQVBoxLayout *lay1 = new TQVBoxLayout( page, 0, spacingHint() );
diff --git a/kspread/dialogs/kspread_dlg_special.h b/kspread/dialogs/kspread_dlg_special.h
index 1e9f0eab..0f9b853b 100644
--- a/kspread/dialogs/kspread_dlg_special.h
+++ b/kspread/dialogs/kspread_dlg_special.h
@@ -38,7 +38,7 @@ class SpecialDialog : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- SpecialDialog( View* tqparent, const char* name );
+ SpecialDialog( View* parent, const char* name );
public slots:
void slotOk();
diff --git a/kspread/dialogs/kspread_dlg_styles.cc b/kspread/dialogs/kspread_dlg_styles.cc
index 6a8e0fae..32a5474a 100644
--- a/kspread/dialogs/kspread_dlg_styles.cc
+++ b/kspread/dialogs/kspread_dlg_styles.cc
@@ -39,8 +39,8 @@
using namespace KSpread;
-StyleWidget::StyleWidget( TQWidget * tqparent, const char * name, WFlags fl )
- : TQWidget( tqparent, name, fl )
+StyleWidget::StyleWidget( TQWidget * parent, const char * name, WFlags fl )
+ : TQWidget( parent, name, fl )
{
TQVBoxLayout * tqlayout = new TQVBoxLayout( this, 11, 6, "tqlayout");
@@ -68,12 +68,12 @@ StyleWidget::~StyleWidget()
-StyleDlg::StyleDlg( View * tqparent, StyleManager * manager,
+StyleDlg::StyleDlg( View * parent, StyleManager * manager,
const char * name )
- : KDialogBase( tqparent, name, true, "",
+ : KDialogBase( parent, name, true, "",
KDialogBase::Ok | KDialogBase::User1 | KDialogBase::User2 | KDialogBase::User3 | KDialogBase::Close,
KDialogBase::Ok, false, KGuiItem( i18n( "&New..." ) ), KGuiItem( i18n( "&Modify..." ) ), KGuiItem( i18n( "&Delete" ) ) ),
- m_view( tqparent ),
+ m_view( parent ),
m_styleManager( manager ),
m_dlg( new StyleWidget( this ) )
{
@@ -113,11 +113,11 @@ void StyleDlg::fillComboBox()
{
if ( entries.find( iter.data() ) == entries.end() )
{
- if ( iter.data()->tqparent() == 0 )
+ if ( iter.data()->parent() == 0 )
entries[iter.data()] = new KListViewItem( m_dlg->m_styleList, iter.data()->name() );
else
{
- Map::const_iterator i = entries.find( iter.data()->tqparent() );
+ Map::const_iterator i = entries.find( iter.data()->parent() );
if ( i != entries.end() )
entries[iter.data()] = new KListViewItem( i.data(), iter.data()->name() );
}
diff --git a/kspread/dialogs/kspread_dlg_styles.h b/kspread/dialogs/kspread_dlg_styles.h
index 5a87dcff..d832fad4 100644
--- a/kspread/dialogs/kspread_dlg_styles.h
+++ b/kspread/dialogs/kspread_dlg_styles.h
@@ -40,7 +40,7 @@ class StyleWidget : public TQWidget
TQ_OBJECT
public:
- StyleWidget( TQWidget* tqparent = 0, const char* name = 0, WFlags fl = 0 );
+ StyleWidget( TQWidget* parent = 0, const char* name = 0, WFlags fl = 0 );
~StyleWidget();
KListView * m_styleList;
@@ -54,7 +54,7 @@ class StyleDlg : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
- StyleDlg( View * tqparent, StyleManager * manager,
+ StyleDlg( View * parent, StyleManager * manager,
const char * name = "StyleDlg" );
~StyleDlg();
diff --git a/kspread/dialogs/kspread_dlg_subtotal.cc b/kspread/dialogs/kspread_dlg_subtotal.cc
index a2771642..1b899ebf 100644
--- a/kspread/dialogs/kspread_dlg_subtotal.cc
+++ b/kspread/dialogs/kspread_dlg_subtotal.cc
@@ -38,9 +38,9 @@
using namespace KSpread;
-SubtotalDialog::SubtotalDialog( View * tqparent, TQRect const & selection, const char * name )
- : KDialogBase(tqparent, name, true, i18n( "Subtotals" ), Ok | Cancel | User1, Ok, true, KGuiItem(i18n( "Remove All" )) ),
- m_pView( tqparent ),
+SubtotalDialog::SubtotalDialog( View * parent, TQRect const & selection, const char * name )
+ : KDialogBase(parent, name, true, i18n( "Subtotals" ), Ok | Cancel | User1, Ok, true, KGuiItem(i18n( "Remove All" )) ),
+ m_pView( parent ),
m_pSheet( m_pView->activeSheet() ),
m_selection( selection ),
m_dialog( new Subtotal( this ) )
diff --git a/kspread/dialogs/kspread_dlg_subtotal.h b/kspread/dialogs/kspread_dlg_subtotal.h
index 230560a5..96c95f70 100644
--- a/kspread/dialogs/kspread_dlg_subtotal.h
+++ b/kspread/dialogs/kspread_dlg_subtotal.h
@@ -42,7 +42,7 @@ class SubtotalDialog : public KDialogBase
TQ_OBJECT
public:
- SubtotalDialog( View * tqparent, TQRect const & selection,
+ SubtotalDialog( View * parent, TQRect const & selection,
const char * name );
~SubtotalDialog();
diff --git a/kspread/dialogs/kspread_dlg_validity.cc b/kspread/dialogs/kspread_dlg_validity.cc
index 885d06f7..8f61c5d8 100644
--- a/kspread/dialogs/kspread_dlg_validity.cc
+++ b/kspread/dialogs/kspread_dlg_validity.cc
@@ -43,11 +43,11 @@
using namespace KSpread;
-DlgValidity::DlgValidity(View* tqparent,const char* name , const TQRect &_marker )
- :KDialogBase(KDialogBase::Tabbed, i18n("Validity"),User2|User1|Cancel, User1, tqparent, name,true,false,KStdGuiItem::ok(),i18n("Clear &All"))
+DlgValidity::DlgValidity(View* parent,const char* name , const TQRect &_marker )
+ :KDialogBase(KDialogBase::Tabbed, i18n("Validity"),User2|User1|Cancel, User1, parent, name,true,false,KStdGuiItem::ok(),i18n("Clear &All"))
{
- m_pView=tqparent;
+ m_pView=parent;
marker=_marker;
TQFrame *page1 = addPage(i18n("&Values"));
TQVBoxLayout *lay1 = new TQVBoxLayout( page1, KDialogBase::marginHint(), KDialogBase::spacingHint() );
diff --git a/kspread/dialogs/kspread_dlg_validity.h b/kspread/dialogs/kspread_dlg_validity.h
index b9546cac..41c4cbee 100644
--- a/kspread/dialogs/kspread_dlg_validity.h
+++ b/kspread/dialogs/kspread_dlg_validity.h
@@ -45,7 +45,7 @@ class DlgValidity : public KDialogBase
Q_OBJECT
TQ_OBJECT
public:
-DlgValidity(View* tqparent, const char* name ,const TQRect &_marker );
+DlgValidity(View* parent, const char* name ,const TQRect &_marker );
void init();
public slots:
diff --git a/kspread/dialogs/link.h b/kspread/dialogs/link.h
index c34640fe..963a02b4 100644
--- a/kspread/dialogs/link.h
+++ b/kspread/dialogs/link.h
@@ -36,7 +36,7 @@ class LinkDialog : public KDialogBase
TQ_OBJECT
public:
- LinkDialog( TQWidget* tqparent, const char* name = 0 );
+ LinkDialog( TQWidget* parent, const char* name = 0 );
~LinkDialog();
TQString text() const;
TQString link() const;
diff --git a/kspread/dialogs/sheet_properties.cc b/kspread/dialogs/sheet_properties.cc
index 2f345103..69397687 100644
--- a/kspread/dialogs/sheet_properties.cc
+++ b/kspread/dialogs/sheet_properties.cc
@@ -31,8 +31,8 @@
using namespace KSpread;
-SheetPropertiesDialog::SheetPropertiesDialog( TQWidget* tqparent ):
- KDialogBase( tqparent, "sheetPropertiesDialog", true,
+SheetPropertiesDialog::SheetPropertiesDialog( TQWidget* parent ):
+ KDialogBase( parent, "sheetPropertiesDialog", true,
i18n("Sheet Properties"),
KDialogBase::Ok|KDialogBase::Cancel|KDialogBase::Default )
{
diff --git a/kspread/dialogs/sheet_properties.h b/kspread/dialogs/sheet_properties.h
index 6ab51a40..766b5e54 100644
--- a/kspread/dialogs/sheet_properties.h
+++ b/kspread/dialogs/sheet_properties.h
@@ -35,7 +35,7 @@ class SheetPropertiesDialog : public KDialogBase
public:
- SheetPropertiesDialog( TQWidget* tqparent = 0 );
+ SheetPropertiesDialog( TQWidget* parent = 0 );
~SheetPropertiesDialog();