summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:30:32 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 12:36:03 +0900
commitc0332621bc998c9786f4841e86a62b7711fe4abf (patch)
tree38b3ab6688de7a9396a1c5993a8ec265f5f33b64 /kspread/dialogs
parent6c81ff8d61ec679e735d3fbd875583b12f0ef0a5 (diff)
downloadkoffice-c0332621bc998c9786f4841e86a62b7711fe4abf.tar.gz
koffice-c0332621bc998c9786f4841e86a62b7711fe4abf.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kspread/dialogs')
-rw-r--r--kspread/dialogs/kspread_dlg_angle.cpp2
-rw-r--r--kspread/dialogs/kspread_dlg_area.cpp4
-rw-r--r--kspread/dialogs/kspread_dlg_comment.cpp4
-rw-r--r--kspread/dialogs/kspread_dlg_conditional.cpp6
-rw-r--r--kspread/dialogs/kspread_dlg_cons.cpp10
-rw-r--r--kspread/dialogs/kspread_dlg_csv.cpp32
-rw-r--r--kspread/dialogs/kspread_dlg_database.cpp20
-rw-r--r--kspread/dialogs/kspread_dlg_find.cpp6
-rw-r--r--kspread/dialogs/kspread_dlg_format.cpp4
-rw-r--r--kspread/dialogs/kspread_dlg_formula.cpp60
-rw-r--r--kspread/dialogs/kspread_dlg_goalseek.cpp8
-rw-r--r--kspread/dialogs/kspread_dlg_goto.cpp6
-rw-r--r--kspread/dialogs/kspread_dlg_insert.cpp2
-rw-r--r--kspread/dialogs/kspread_dlg_layout.cpp194
-rw-r--r--kspread/dialogs/kspread_dlg_list.cpp14
-rw-r--r--kspread/dialogs/kspread_dlg_paperlayout.cpp10
-rw-r--r--kspread/dialogs/kspread_dlg_pasteinsert.cpp2
-rw-r--r--kspread/dialogs/kspread_dlg_preference.cpp12
-rw-r--r--kspread/dialogs/kspread_dlg_reference.cpp16
-rw-r--r--kspread/dialogs/kspread_dlg_series.cpp2
-rw-r--r--kspread/dialogs/kspread_dlg_show.cpp4
-rw-r--r--kspread/dialogs/kspread_dlg_showColRow.cpp4
-rw-r--r--kspread/dialogs/kspread_dlg_sort.cpp16
-rw-r--r--kspread/dialogs/kspread_dlg_special.cpp6
-rw-r--r--kspread/dialogs/kspread_dlg_styles.cpp12
-rw-r--r--kspread/dialogs/kspread_dlg_validity.cpp8
-rw-r--r--kspread/dialogs/link.cpp20
27 files changed, 242 insertions, 242 deletions
diff --git a/kspread/dialogs/kspread_dlg_angle.cpp b/kspread/dialogs/kspread_dlg_angle.cpp
index 763e47a5..defb59bf 100644
--- a/kspread/dialogs/kspread_dlg_angle.cpp
+++ b/kspread/dialogs/kspread_dlg_angle.cpp
@@ -60,7 +60,7 @@ AngleDialog::AngleDialog(View* parent, const char* name, const TQPoint &_marker)
m_pAngle->setFocus();
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
Cell *cell = m_pView->activeSheet()->cellAt( marker.x(), marker.y() );
int angle=-(cell->format()->getAngle(marker.x(), marker.y()));
diff --git a/kspread/dialogs/kspread_dlg_area.cpp b/kspread/dialogs/kspread_dlg_area.cpp
index 108511ad..b160cb52 100644
--- a/kspread/dialogs/kspread_dlg_area.cpp
+++ b/kspread/dialogs/kspread_dlg_area.cpp
@@ -55,8 +55,8 @@ AreaDialog::AreaDialog( View * parent, const char * name, const TQPoint & _marke
lay1->addWidget( m_areaName );
m_areaName->setFocus();
- connect ( m_areaName, TQT_SIGNAL(textChanged ( const TQString & )), this, TQT_SLOT(slotAreaNamechanged( const TQString &)));
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
+ connect ( m_areaName, TQ_SIGNAL(textChanged ( const TQString & )), this, TQ_SLOT(slotAreaNamechanged( const TQString &)));
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
enableButtonOK(!m_areaName->text().isEmpty());
}
diff --git a/kspread/dialogs/kspread_dlg_comment.cpp b/kspread/dialogs/kspread_dlg_comment.cpp
index 2494959c..7c9bdb1c 100644
--- a/kspread/dialogs/kspread_dlg_comment.cpp
+++ b/kspread/dialogs/kspread_dlg_comment.cpp
@@ -57,8 +57,8 @@ CommentDialog::CommentDialog( View* parent, const char* name,const TQPoint &_mar
if(!cell->format()->comment(marker.x(),marker.y()).isEmpty())
multiLine->setText(cell->format()->comment(marker.x(),marker.y()));
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
- connect(multiLine, TQT_SIGNAL(textChanged ()),this, TQT_SLOT(slotTextChanged()));
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
+ connect(multiLine, TQ_SIGNAL(textChanged ()),this, TQ_SLOT(slotTextChanged()));
slotTextChanged();
diff --git a/kspread/dialogs/kspread_dlg_conditional.cpp b/kspread/dialogs/kspread_dlg_conditional.cpp
index 42e60b6a..cc35e45f 100644
--- a/kspread/dialogs/kspread_dlg_conditional.cpp
+++ b/kspread/dialogs/kspread_dlg_conditional.cpp
@@ -189,9 +189,9 @@ ConditionalWidget::ConditionalWidget( TQWidget* parent, const char* name, WFlags
textLabel2_2->setText( i18n( "Cell style" ) );
textLabel2_3->setText( i18n( "Cell style" ) );
- connect( m_condition_1, TQT_SIGNAL( highlighted( const TQString & ) ), this, TQT_SLOT( slotTextChanged1( const TQString & ) ) );
- connect( m_condition_2, TQT_SIGNAL( highlighted( const TQString & ) ), this, TQT_SLOT( slotTextChanged2( const TQString & ) ) );
- connect( m_condition_3, TQT_SIGNAL( highlighted( const TQString & ) ), this, TQT_SLOT( slotTextChanged3( const TQString & ) ) );
+ connect( m_condition_1, TQ_SIGNAL( highlighted( const TQString & ) ), this, TQ_SLOT( slotTextChanged1( const TQString & ) ) );
+ connect( m_condition_2, TQ_SIGNAL( highlighted( const TQString & ) ), this, TQ_SLOT( slotTextChanged2( const TQString & ) ) );
+ connect( m_condition_3, TQ_SIGNAL( highlighted( const TQString & ) ), this, TQ_SLOT( slotTextChanged3( const TQString & ) ) );
}
ConditionalWidget::~ConditionalWidget()
diff --git a/kspread/dialogs/kspread_dlg_cons.cpp b/kspread/dialogs/kspread_dlg_cons.cpp
index 139113c7..0852deb9 100644
--- a/kspread/dialogs/kspread_dlg_cons.cpp
+++ b/kspread/dialogs/kspread_dlg_cons.cpp
@@ -111,12 +111,12 @@ ConsolidateDialog::ConsolidateDialog( View* parent, const char* name )
grid1->addWidget(m_pRemove,3,1);
- connect( m_pAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAdd() ) );
- connect( m_pRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotRemove() ) );
- connect( m_pRef, TQT_SIGNAL( returnPressed() ), this, TQT_SLOT( slotReturnPressed() ) );
+ connect( m_pAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAdd() ) );
+ connect( m_pRemove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRemove() ) );
+ connect( m_pRef, TQ_SIGNAL( returnPressed() ), this, TQ_SLOT( slotReturnPressed() ) );
- connect(m_pView->selectionInfo(), TQT_SIGNAL(changed(const Region&)),
- this, TQT_SLOT(slotSelectionChanged()));
+ connect(m_pView->selectionInfo(), TQ_SIGNAL(changed(const Region&)),
+ this, TQ_SLOT(slotSelectionChanged()));
}
ConsolidateDialog::~ConsolidateDialog()
diff --git a/kspread/dialogs/kspread_dlg_csv.cpp b/kspread/dialogs/kspread_dlg_csv.cpp
index c40074b9..a93db228 100644
--- a/kspread/dialogs/kspread_dlg_csv.cpp
+++ b/kspread/dialogs/kspread_dlg_csv.cpp
@@ -253,22 +253,22 @@ CSVDialog::CSVDialog( View * parent, const char * name, TQRect const & rect, Mod
m_sheet->setSelectionMode(TQTable::NoSelection);
- connect(m_formatBox, TQT_SIGNAL(clicked(int)),
- this, TQT_SLOT(formatClicked(int)));
- connect(m_delimiterBox, TQT_SIGNAL(clicked(int)),
- this, TQT_SLOT(delimiterClicked(int)));
- connect(m_delimiterEdit, TQT_SIGNAL(returnPressed()),
- this, TQT_SLOT(returnPressed()));
- connect(m_delimiterEdit, TQT_SIGNAL(textChanged ( const TQString & )),
- this, TQT_SLOT(textChanged ( const TQString & ) ));
- connect(m_comboLine, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(lineSelected(const TQString&)));
- connect(m_comboQuote, TQT_SIGNAL(activated(const TQString&)),
- this, TQT_SLOT(textquoteSelected(const TQString&)));
- connect(m_sheet, TQT_SIGNAL(currentChanged(int, int)),
- this, TQT_SLOT(currentCellChanged(int, int)));
- connect(m_ignoreDuplicates, TQT_SIGNAL(stateChanged(int)),
- this, TQT_SLOT(ignoreDuplicatesChanged(int)));
+ connect(m_formatBox, TQ_SIGNAL(clicked(int)),
+ this, TQ_SLOT(formatClicked(int)));
+ connect(m_delimiterBox, TQ_SIGNAL(clicked(int)),
+ this, TQ_SLOT(delimiterClicked(int)));
+ connect(m_delimiterEdit, TQ_SIGNAL(returnPressed()),
+ this, TQ_SLOT(returnPressed()));
+ connect(m_delimiterEdit, TQ_SIGNAL(textChanged ( const TQString & )),
+ this, TQ_SLOT(textChanged ( const TQString & ) ));
+ connect(m_comboLine, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(lineSelected(const TQString&)));
+ connect(m_comboQuote, TQ_SIGNAL(activated(const TQString&)),
+ this, TQ_SLOT(textquoteSelected(const TQString&)));
+ connect(m_sheet, TQ_SIGNAL(currentChanged(int, int)),
+ this, TQ_SLOT(currentCellChanged(int, int)));
+ connect(m_ignoreDuplicates, TQ_SIGNAL(stateChanged(int)),
+ this, TQ_SLOT(ignoreDuplicatesChanged(int)));
}
CSVDialog::~CSVDialog()
diff --git a/kspread/dialogs/kspread_dlg_database.cpp b/kspread/dialogs/kspread_dlg_database.cpp
index 34e680cd..a8c88249 100644
--- a/kspread/dialogs/kspread_dlg_database.cpp
+++ b/kspread/dialogs/kspread_dlg_database.cpp
@@ -413,16 +413,16 @@ DatabaseDialog::DatabaseDialog( View * parent, TQRect const & rect, const char *
finishButton()->setEnabled(false);
// signals and slots connections
- connect( m_orBox, TQT_SIGNAL( clicked() ), this, TQT_SLOT( orBox_clicked() ) );
- connect( m_andBox, TQT_SIGNAL( clicked() ), this, TQT_SLOT( andBox_clicked() ) );
- connect( m_startingCell, TQT_SIGNAL( clicked() ), this, TQT_SLOT( startingCell_clicked() ) );
- connect( m_startingRegion, TQT_SIGNAL( clicked() ), this, TQT_SLOT( startingRegion_clicked() ) );
- connect( m_driver, TQT_SIGNAL( activated(int) ), this, TQT_SLOT( databaseDriverChanged(int) ) );
- connect( m_host, TQT_SIGNAL( textChanged(const TQString &) ), this, TQT_SLOT( databaseHostChanged(const TQString &) ) );
- connect( m_databaseName, TQT_SIGNAL( textChanged(const TQString &) ), this, TQT_SLOT( databaseNameChanged(const TQString &) ) );
- connect( m_sheetView, TQT_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ),
- this, TQT_SLOT( popupSheetViewMenu(TQListViewItem *, const TQPoint &, int ) ) );
- connect( m_sheetView, TQT_SIGNAL( clicked( TQListViewItem * ) ), this, TQT_SLOT( sheetViewClicked( TQListViewItem * ) ) );
+ connect( m_orBox, TQ_SIGNAL( clicked() ), this, TQ_SLOT( orBox_clicked() ) );
+ connect( m_andBox, TQ_SIGNAL( clicked() ), this, TQ_SLOT( andBox_clicked() ) );
+ connect( m_startingCell, TQ_SIGNAL( clicked() ), this, TQ_SLOT( startingCell_clicked() ) );
+ connect( m_startingRegion, TQ_SIGNAL( clicked() ), this, TQ_SLOT( startingRegion_clicked() ) );
+ connect( m_driver, TQ_SIGNAL( activated(int) ), this, TQ_SLOT( databaseDriverChanged(int) ) );
+ connect( m_host, TQ_SIGNAL( textChanged(const TQString &) ), this, TQ_SLOT( databaseHostChanged(const TQString &) ) );
+ connect( m_databaseName, TQ_SIGNAL( textChanged(const TQString &) ), this, TQ_SLOT( databaseNameChanged(const TQString &) ) );
+ connect( m_sheetView, TQ_SIGNAL( contextMenuRequested( TQListViewItem *, const TQPoint &, int ) ),
+ this, TQ_SLOT( popupSheetViewMenu(TQListViewItem *, const TQPoint &, int ) ) );
+ connect( m_sheetView, TQ_SIGNAL( clicked( TQListViewItem * ) ), this, TQ_SLOT( sheetViewClicked( TQListViewItem * ) ) );
TQStringList str = TQSqlDatabase::drivers();
m_driver->insertItem("");
diff --git a/kspread/dialogs/kspread_dlg_find.cpp b/kspread/dialogs/kspread_dlg_find.cpp
index aa1c7f71..a63ff276 100644
--- a/kspread/dialogs/kspread_dlg_find.cpp
+++ b/kspread/dialogs/kspread_dlg_find.cpp
@@ -34,7 +34,7 @@ FindOption::FindOption( TQWidget *parent)
m_moreOptions = new TQPushButton( i18n( "More Options" ), parent );
layout->addWidget( m_moreOptions );
- connect( m_moreOptions, TQT_SIGNAL( clicked () ), this, TQT_SLOT( slotMoreOptions() ) );
+ connect( m_moreOptions, TQ_SIGNAL( clicked () ), this, TQ_SLOT( slotMoreOptions() ) );
m_findExtension = new TQWidget( parent );
layout->addWidget( m_findExtension );
@@ -119,7 +119,7 @@ FindDlg::FindDlg(TQWidget *parent, const char *name, long options, const TQStrin
: KFindDialog(parent,name,options,findStrings,hasSelection )
{
m_findOptions = new FindOption( findExtension() );
- connect( m_findOptions, TQT_SIGNAL( adjustSize() ), TQT_SLOT( slotAjustSize() ) );
+ connect( m_findOptions, TQ_SIGNAL( adjustSize() ), TQ_SLOT( slotAjustSize() ) );
setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum));
}
@@ -143,7 +143,7 @@ SearchDlg::SearchDlg(TQWidget *parent, const char *name, long options, const TQS
: KReplaceDialog(parent,name,options,findStrings,replaceStrings,hasSelection )
{
m_findOptions = new FindOption( findExtension() );
- connect( m_findOptions, TQT_SIGNAL( adjustSize() ), TQT_SLOT( slotAjustSize() ) );
+ connect( m_findOptions, TQ_SIGNAL( adjustSize() ), TQ_SLOT( slotAjustSize() ) );
setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Minimum));
}
diff --git a/kspread/dialogs/kspread_dlg_format.cpp b/kspread/dialogs/kspread_dlg_format.cpp
index 501d8bf3..3b304f1d 100644
--- a/kspread/dialogs/kspread_dlg_format.cpp
+++ b/kspread/dialogs/kspread_dlg_format.cpp
@@ -88,8 +88,8 @@ FormatDialog::FormatDialog( View* view, const char* name )
slotActivated( 0 );
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
- connect( m_combo, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotActivated( int ) ) );
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
+ connect( m_combo, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotActivated( int ) ) );
}
FormatDialog::~FormatDialog()
diff --git a/kspread/dialogs/kspread_dlg_formula.cpp b/kspread/dialogs/kspread_dlg_formula.cpp
index 23d9f057..324df02d 100644
--- a/kspread/dialogs/kspread_dlg_formula.cpp
+++ b/kspread/dialogs/kspread_dlg_formula.cpp
@@ -165,38 +165,38 @@ FormulaDialog::FormulaDialog( View* parent, const char* name,const TQString& for
refresh_result = true;
- connect( this, TQT_SIGNAL( cancelClicked() ), this, TQT_SLOT( slotClose() ) );
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
- connect( typeFunction, TQT_SIGNAL( activated(const TQString &) ),
- this, TQT_SLOT( slotActivated(const TQString &) ) );
- connect( functions, TQT_SIGNAL( highlighted(const TQString &) ),
- this, TQT_SLOT( slotSelected(const TQString &) ) );
- connect( functions, TQT_SIGNAL( selected(const TQString &) ),
- this, TQT_SLOT( slotSelected(const TQString &) ) );
- connect( functions, TQT_SIGNAL( doubleClicked(TQListBoxItem * ) ),
- this ,TQT_SLOT( slotDoubleClicked(TQListBoxItem *) ) );
+ connect( this, TQ_SIGNAL( cancelClicked() ), this, TQ_SLOT( slotClose() ) );
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
+ connect( typeFunction, TQ_SIGNAL( activated(const TQString &) ),
+ this, TQ_SLOT( slotActivated(const TQString &) ) );
+ connect( functions, TQ_SIGNAL( highlighted(const TQString &) ),
+ this, TQ_SLOT( slotSelected(const TQString &) ) );
+ connect( functions, TQ_SIGNAL( selected(const TQString &) ),
+ this, TQ_SLOT( slotSelected(const TQString &) ) );
+ connect( functions, TQ_SIGNAL( doubleClicked(TQListBoxItem * ) ),
+ this ,TQ_SLOT( slotDoubleClicked(TQListBoxItem *) ) );
slotActivated(i18n("All"));
- connect( selectFunction, TQT_SIGNAL(clicked()),
- this,TQT_SLOT(slotSelectButton()));
+ connect( selectFunction, TQ_SIGNAL(clicked()),
+ this,TQ_SLOT(slotSelectButton()));
- connect( firstElement,TQT_SIGNAL(textChanged ( const TQString & )),
- this,TQT_SLOT(slotChangeText(const TQString &)));
- connect( secondElement,TQT_SIGNAL(textChanged ( const TQString & )),
- this,TQT_SLOT(slotChangeText(const TQString &)));
- connect( thirdElement,TQT_SIGNAL(textChanged ( const TQString & )),
- this,TQT_SLOT(slotChangeText(const TQString &)));
- connect( fourElement,TQT_SIGNAL(textChanged ( const TQString & )),
- this,TQT_SLOT(slotChangeText(const TQString &)));
- connect( fiveElement,TQT_SIGNAL(textChanged ( const TQString & )),
- this,TQT_SLOT(slotChangeText(const TQString &)));
+ connect( firstElement,TQ_SIGNAL(textChanged ( const TQString & )),
+ this,TQ_SLOT(slotChangeText(const TQString &)));
+ connect( secondElement,TQ_SIGNAL(textChanged ( const TQString & )),
+ this,TQ_SLOT(slotChangeText(const TQString &)));
+ connect( thirdElement,TQ_SIGNAL(textChanged ( const TQString & )),
+ this,TQ_SLOT(slotChangeText(const TQString &)));
+ connect( fourElement,TQ_SIGNAL(textChanged ( const TQString & )),
+ this,TQ_SLOT(slotChangeText(const TQString &)));
+ connect( fiveElement,TQ_SIGNAL(textChanged ( const TQString & )),
+ this,TQ_SLOT(slotChangeText(const TQString &)));
- connect( m_pView->choice(), TQT_SIGNAL(changed(const Region&)),
- this, TQT_SLOT(slotSelectionChanged()));
+ connect( m_pView->choice(), TQ_SIGNAL(changed(const Region&)),
+ this, TQ_SLOT(slotSelectionChanged()));
- connect( m_browser, TQT_SIGNAL( linkClicked( const TQString& ) ),
- this, TQT_SLOT( slotShowFunction( const TQString& ) ) );
+ connect( m_browser, TQ_SIGNAL( linkClicked( const TQString& ) ),
+ this, TQ_SLOT( slotShowFunction( const TQString& ) ) );
// Save the name of the active sheet.
m_sheetName = m_pView->activeSheet()->sheetName();
@@ -240,10 +240,10 @@ FormulaDialog::FormulaDialog( View* parent, const char* name,const TQString& for
if( functions->currentItem() == -1 )
selectFunction->setEnabled( false );
- connect( searchFunct, TQT_SIGNAL( textChanged( const TQString & ) ),
- this, TQT_SLOT( slotSearchText(const TQString &) ) );
- connect( searchFunct, TQT_SIGNAL( returnPressed() ),
- this, TQT_SLOT( slotPressReturn() ) );
+ connect( searchFunct, TQ_SIGNAL( textChanged( const TQString & ) ),
+ this, TQ_SLOT( slotSearchText(const TQString &) ) );
+ connect( searchFunct, TQ_SIGNAL( returnPressed() ),
+ this, TQ_SLOT( slotPressReturn() ) );
}
FormulaDialog::~FormulaDialog()
diff --git a/kspread/dialogs/kspread_dlg_goalseek.cpp b/kspread/dialogs/kspread_dlg_goalseek.cpp
index 1a2e5d59..1a2dbb37 100644
--- a/kspread/dialogs/kspread_dlg_goalseek.cpp
+++ b/kspread/dialogs/kspread_dlg_goalseek.cpp
@@ -168,11 +168,11 @@ GoalSeekDialog::GoalSeekDialog( View * parent, TQPoint const & marker,
tqApp->installEventFilter( this );
// signals and slots connections
- connect( m_buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( buttonOkClicked() ) );
- connect( m_buttonCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( buttonCancelClicked() ) );
+ connect( m_buttonOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( buttonOkClicked() ) );
+ connect( m_buttonCancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( buttonCancelClicked() ) );
- connect( m_pView->choice(), TQT_SIGNAL(changed(const Region&)),
- this, TQT_SLOT(slotSelectionChanged()));
+ connect( m_pView->choice(), TQ_SIGNAL(changed(const Region&)),
+ this, TQ_SLOT(slotSelectionChanged()));
// tab order
setTabOrder( m_targetEdit, m_targetValueEdit );
diff --git a/kspread/dialogs/kspread_dlg_goto.cpp b/kspread/dialogs/kspread_dlg_goto.cpp
index 2d9935ac..4c74c9b9 100644
--- a/kspread/dialogs/kspread_dlg_goto.cpp
+++ b/kspread/dialogs/kspread_dlg_goto.cpp
@@ -55,9 +55,9 @@ GotoDialog::GotoDialog( View* parent, const char* name )
m_nameCell->setFocus();
enableButtonOK( false );
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
- connect( m_nameCell, TQT_SIGNAL(textChanged ( const TQString & )),
- this, TQT_SLOT(textChanged ( const TQString & )));
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
+ connect( m_nameCell, TQ_SIGNAL(textChanged ( const TQString & )),
+ this, TQ_SLOT(textChanged ( const TQString & )));
}
void GotoDialog::textChanged ( const TQString &_text )
diff --git a/kspread/dialogs/kspread_dlg_insert.cpp b/kspread/dialogs/kspread_dlg_insert.cpp
index 23f7f841..8e4e3ae3 100644
--- a/kspread/dialogs/kspread_dlg_insert.cpp
+++ b/kspread/dialogs/kspread_dlg_insert.cpp
@@ -80,7 +80,7 @@ InsertDialog::InsertDialog( View* parent, const char* name,const TQRect &_rect,M
rb1->setChecked(true);
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
}
void InsertDialog::slotOk()
diff --git a/kspread/dialogs/kspread_dlg_layout.cpp b/kspread/dialogs/kspread_dlg_layout.cpp
index ff4719c6..4b317e42 100644
--- a/kspread/dialogs/kspread_dlg_layout.cpp
+++ b/kspread/dialogs/kspread_dlg_layout.cpp
@@ -191,8 +191,8 @@ GeneralTab::GeneralTab( TQWidget* parent, CellFormatDialog * dlg )
m_parentBox->setEnabled( false );
}
- connect( m_parentBox, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SLOT( slotNewParent( const TQString & ) ) );
- connect( m_nameEdit, TQT_SIGNAL( lostFocus() ), this, TQT_SLOT( slotNameChanged() ) );
+ connect( m_parentBox, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SLOT( slotNewParent( const TQString & ) ) );
+ connect( m_nameEdit, TQ_SIGNAL( lostFocus() ), this, TQ_SLOT( slotNameChanged() ) );
groupBoxLayout->addWidget( m_parentBox, 1, 1 );
@@ -936,7 +936,7 @@ void CellFormatDialog::init()
tab->adjustSize();
- connect( tab, TQT_SIGNAL( applyButtonPressed() ), this, TQT_SLOT( slotApply() ) );
+ connect( tab, TQ_SIGNAL( applyButtonPressed() ), this, TQ_SLOT( slotApply() ) );
tab->exec();
}
@@ -1293,24 +1293,24 @@ CellFormatPageFloat::CellFormatPageFloat( TQWidget* parent, CellFormatDialog *_d
customFormat->setChecked(true);
}
- connect(generic,TQT_SIGNAL(clicked ()),this,TQT_SLOT(slotChangeState()));
- connect(fraction,TQT_SIGNAL(clicked ()),this,TQT_SLOT(slotChangeState()));
- connect(money,TQT_SIGNAL(clicked ()),this,TQT_SLOT(slotChangeState()));
- connect(date,TQT_SIGNAL(clicked ()),this,TQT_SLOT(slotChangeState()));
- connect(scientific,TQT_SIGNAL(clicked ()),this,TQT_SLOT(slotChangeState()));
- connect(number,TQT_SIGNAL(clicked ()),this,TQT_SLOT(slotChangeState()));
- connect(percent,TQT_SIGNAL(clicked ()),this,TQT_SLOT(slotChangeState()));
- connect(time,TQT_SIGNAL(clicked ()),this,TQT_SLOT(slotChangeState()));
- connect(textFormat,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotChangeState()));
- connect(customFormat,TQT_SIGNAL(clicked()),this,TQT_SLOT(slotChangeState()));
-
- connect(listFormat,TQT_SIGNAL(selectionChanged ()),this,TQT_SLOT(makeformat()));
- connect(precision,TQT_SIGNAL(valueChanged(int)),this,TQT_SLOT(slotChangeValue(int)));
- connect(prefix,TQT_SIGNAL(textChanged ( const TQString & ) ),this,TQT_SLOT(makeformat()));
- connect(postfix,TQT_SIGNAL(textChanged ( const TQString & ) ),this,TQT_SLOT(makeformat()));
- connect(currency,TQT_SIGNAL(activated ( const TQString & ) ),this, TQT_SLOT(currencyChanged(const TQString &)));
- connect(format,TQT_SIGNAL(activated ( int ) ),this,TQT_SLOT(formatChanged(int)));
- connect(format, TQT_SIGNAL(activated(int)), this, TQT_SLOT(makeformat()));
+ connect(generic,TQ_SIGNAL(clicked ()),this,TQ_SLOT(slotChangeState()));
+ connect(fraction,TQ_SIGNAL(clicked ()),this,TQ_SLOT(slotChangeState()));
+ connect(money,TQ_SIGNAL(clicked ()),this,TQ_SLOT(slotChangeState()));
+ connect(date,TQ_SIGNAL(clicked ()),this,TQ_SLOT(slotChangeState()));
+ connect(scientific,TQ_SIGNAL(clicked ()),this,TQ_SLOT(slotChangeState()));
+ connect(number,TQ_SIGNAL(clicked ()),this,TQ_SLOT(slotChangeState()));
+ connect(percent,TQ_SIGNAL(clicked ()),this,TQ_SLOT(slotChangeState()));
+ connect(time,TQ_SIGNAL(clicked ()),this,TQ_SLOT(slotChangeState()));
+ connect(textFormat,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotChangeState()));
+ connect(customFormat,TQ_SIGNAL(clicked()),this,TQ_SLOT(slotChangeState()));
+
+ connect(listFormat,TQ_SIGNAL(selectionChanged ()),this,TQ_SLOT(makeformat()));
+ connect(precision,TQ_SIGNAL(valueChanged(int)),this,TQ_SLOT(slotChangeValue(int)));
+ connect(prefix,TQ_SIGNAL(textChanged ( const TQString & ) ),this,TQ_SLOT(makeformat()));
+ connect(postfix,TQ_SIGNAL(textChanged ( const TQString & ) ),this,TQ_SLOT(makeformat()));
+ connect(currency,TQ_SIGNAL(activated ( const TQString & ) ),this, TQ_SLOT(currencyChanged(const TQString &)));
+ connect(format,TQ_SIGNAL(activated ( int ) ),this,TQ_SLOT(formatChanged(int)));
+ connect(format, TQ_SIGNAL(activated(int)), this, TQ_SLOT(makeformat()));
slotChangeState();
m_bFormatColorChanged=false;
m_bFormatTypeChanged=false;
@@ -1959,8 +1959,8 @@ CellFormatPageFont::CellFormatPageFont( TQWidget* parent, CellFormatDialog *_dlg
bTextColorUndefined = !dlg->bTextColor;
- connect( textColorButton, TQT_SIGNAL( changed( const TQColor & ) ),
- this, TQT_SLOT( slotSetTextColor( const TQColor & ) ) );
+ connect( textColorButton, TQ_SIGNAL( changed( const TQColor & ) ),
+ this, TQ_SLOT( slotSetTextColor( const TQColor & ) ) );
TQStringList tmpListFont;
@@ -1990,8 +1990,8 @@ CellFormatPageFont::CellFormatPageFont( TQWidget* parent, CellFormatDialog *_dlg
family_combo->setCurrentItem(0);
}
- connect( family_combo, TQT_SIGNAL(highlighted(const TQString &)),
- TQT_SLOT(family_chosen_slot(const TQString &)) );
+ connect( family_combo, TQ_SIGNAL(highlighted(const TQString &)),
+ TQ_SLOT(family_chosen_slot(const TQString &)) );
TQStringList lst;
lst.append("");
@@ -2003,29 +2003,29 @@ CellFormatPageFont::CellFormatPageFont( TQWidget* parent, CellFormatDialog *_dlg
size_combo->setInsertionPolicy(TQComboBox::NoInsertion);
- connect( size_combo, TQT_SIGNAL(activated(const TQString &)),
- TQT_SLOT(size_chosen_slot(const TQString &)) );
- connect( size_combo ,TQT_SIGNAL( textChanged(const TQString &)),
- this,TQT_SLOT(size_chosen_slot(const TQString &)));
+ connect( size_combo, TQ_SIGNAL(activated(const TQString &)),
+ TQ_SLOT(size_chosen_slot(const TQString &)) );
+ connect( size_combo ,TQ_SIGNAL( textChanged(const TQString &)),
+ this,TQ_SLOT(size_chosen_slot(const TQString &)));
- connect( weight_combo, TQT_SIGNAL(activated(const TQString &)),
- TQT_SLOT(weight_chosen_slot(const TQString &)) );
+ connect( weight_combo, TQ_SIGNAL(activated(const TQString &)),
+ TQ_SLOT(weight_chosen_slot(const TQString &)) );
- connect( style_combo, TQT_SIGNAL(activated(const TQString &)),
- TQT_SLOT(style_chosen_slot(const TQString &)) );
+ connect( style_combo, TQ_SIGNAL(activated(const TQString &)),
+ TQ_SLOT(style_chosen_slot(const TQString &)) );
strike->setChecked(dlg->strike);
- connect( strike, TQT_SIGNAL( clicked()),
- TQT_SLOT(strike_chosen_slot()) );
+ connect( strike, TQ_SIGNAL( clicked()),
+ TQ_SLOT(strike_chosen_slot()) );
underline->setChecked(dlg->underline);
- connect( underline, TQT_SIGNAL( clicked()),
- TQT_SLOT(underline_chosen_slot()) );
+ connect( underline, TQ_SIGNAL( clicked()),
+ TQ_SLOT(underline_chosen_slot()) );
example_label->setText(i18n("Dolor Ipse"));
- connect(this,TQT_SIGNAL(fontSelected( const TQFont& )),
- this,TQT_SLOT(display_example( const TQFont&)));
+ connect(this,TQ_SIGNAL(fontSelected( const TQFont& )),
+ this,TQ_SLOT(display_example( const TQFont&)));
setCombos();
display_example( selFont );
@@ -2241,7 +2241,7 @@ CellFormatPagePosition::CellFormatPagePosition( TQWidget* parent, CellFormatDial
else if ( dlg->alignX == Format::Undefined )
standard->setChecked( true );
- connect(horizontalGroup, TQT_SIGNAL(clicked(int)), this, TQT_SLOT(slotStateChanged(int)));
+ connect(horizontalGroup, TQ_SIGNAL(clicked(int)), this, TQ_SLOT(slotStateChanged(int)));
if ( dlg->alignY ==Format::Top )
top->setChecked( true );
@@ -2307,11 +2307,11 @@ CellFormatPagePosition::CellFormatPagePosition( TQWidget* parent, CellFormatDial
defaultWidth->setEnabled(false);
}
- connect(defaultWidth , TQT_SIGNAL(clicked() ),this, TQT_SLOT(slotChangeWidthState()));
- connect(defaultHeight , TQT_SIGNAL(clicked() ),this, TQT_SLOT(slotChangeHeightState()));
- connect(vertical , TQT_SIGNAL(clicked() ),this, TQT_SLOT(slotChangeVerticalState()));
- connect(multi , TQT_SIGNAL(clicked() ), this, TQT_SLOT(slotChangeMultiState()));
- connect(angleRotation, TQT_SIGNAL(valueChanged(int)), this, TQT_SLOT(slotChangeAngle(int)));
+ connect(defaultWidth , TQ_SIGNAL(clicked() ),this, TQ_SLOT(slotChangeWidthState()));
+ connect(defaultHeight , TQ_SIGNAL(clicked() ),this, TQ_SLOT(slotChangeHeightState()));
+ connect(vertical , TQ_SIGNAL(clicked() ),this, TQ_SLOT(slotChangeVerticalState()));
+ connect(multi , TQ_SIGNAL(clicked() ), this, TQ_SLOT(slotChangeMultiState()));
+ connect(angleRotation, TQ_SIGNAL(valueChanged(int)), this, TQ_SLOT(slotChangeAngle(int)));
slotStateChanged( 0 );
m_bOptionText = false;
@@ -2784,7 +2784,7 @@ void CellFormatPageBorder::InitializeGrids()
TQGridLayout *grid3 = new TQGridLayout( this, 2, 2, KDialog::marginHint(), KDialog::spacingHint() );
customize = new TQCheckBox(i18n("Customize"),tmpTQGroupBox);
grid3->addWidget(customize,0,0);
- connect( customize, TQT_SIGNAL( clicked()), TQT_SLOT(cutomize_chosen_slot()) );
+ connect( customize, TQ_SIGNAL( clicked()), TQ_SLOT(cutomize_chosen_slot()) );
size=new TQComboBox(true,tmpTQGroupBox);
grid3->addWidget(size,1,1);
@@ -2875,35 +2875,35 @@ void CellFormatPageBorder::InitializePatterns()
void CellFormatPageBorder::SetConnections()
{
- connect( color, TQT_SIGNAL( changed( const TQColor & ) ),
- this, TQT_SLOT( slotSetColorButton( const TQColor & ) ) );
+ connect( color, TQ_SIGNAL( changed( const TQColor & ) ),
+ this, TQ_SLOT( slotSetColorButton( const TQColor & ) ) );
for (int i=0; i < NUM_BORDER_PATTERNS; i++)
{
- connect( pattern[i], TQT_SIGNAL( clicked( PatternSelect* ) ),
- this, TQT_SLOT( slotUnselect2( PatternSelect* ) ) );
+ connect( pattern[i], TQ_SIGNAL( clicked( PatternSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( PatternSelect* ) ) );
}
for (int i = BorderType_Top; i < BorderType_END; i++)
{
- connect( borderButtons[i], TQT_SIGNAL( clicked (BorderButton *) ),
- this, TQT_SLOT( changeState( BorderButton *) ) );
+ connect( borderButtons[i], TQ_SIGNAL( clicked (BorderButton *) ),
+ this, TQ_SLOT( changeState( BorderButton *) ) );
}
for (int i = BorderShortcutType_Remove; i < BorderShortcutType_END; i++)
{
- connect( shortcutButtons[i], TQT_SIGNAL( clicked(BorderButton *) ),
- this, TQT_SLOT( preselect(BorderButton *) ) );
+ connect( shortcutButtons[i], TQ_SIGNAL( clicked(BorderButton *) ),
+ this, TQ_SLOT( preselect(BorderButton *) ) );
}
- connect( area ,TQT_SIGNAL( redraw()),this,TQT_SLOT(draw()));
- connect( area ,TQT_SIGNAL( choosearea(TQMouseEvent * )),
- this,TQT_SLOT( slotPressEvent(TQMouseEvent *)));
+ connect( area ,TQ_SIGNAL( redraw()),this,TQ_SLOT(draw()));
+ connect( area ,TQ_SIGNAL( choosearea(TQMouseEvent * )),
+ this,TQ_SLOT( slotPressEvent(TQMouseEvent *)));
- connect( style, TQT_SIGNAL( activated(int)), this, TQT_SLOT(slotChangeStyle(int)));
- connect( size, TQT_SIGNAL( textChanged(const TQString &)),
- this, TQT_SLOT(slotChangeStyle(const TQString &)));
- connect( size ,TQT_SIGNAL( activated(int)), this, TQT_SLOT(slotChangeStyle(int)));
+ connect( style, TQ_SIGNAL( activated(int)), this, TQ_SLOT(slotChangeStyle(int)));
+ connect( size, TQ_SIGNAL( textChanged(const TQString &)),
+ this, TQ_SLOT(slotChangeStyle(const TQString &)));
+ connect( size ,TQ_SIGNAL( activated(int)), this, TQ_SLOT(slotChangeStyle(int)));
}
void CellFormatPageBorder::cutomize_chosen_slot()
@@ -3662,13 +3662,13 @@ CellFormatPagePattern::CellFormatPagePattern( TQWidget* parent, CellFormatDialog
bgColor = colorGroup().base();
bgColorButton->setColor( bgColor );
- connect( bgColorButton, TQT_SIGNAL( changed( const TQColor & ) ),
- this, TQT_SLOT( slotSetBackgroundColor( const TQColor & ) ) );
+ connect( bgColorButton, TQ_SIGNAL( changed( const TQColor & ) ),
+ this, TQ_SLOT( slotSetBackgroundColor( const TQColor & ) ) );
notAnyColor=new TQPushButton(i18n("No Color"),tmpTQGroupBox);
grid3->addWidget(notAnyColor,0,2);
- connect( notAnyColor, TQT_SIGNAL( clicked( ) ),
- this, TQT_SLOT( slotNotAnyColor( ) ) );
+ connect( notAnyColor, TQ_SIGNAL( clicked( ) ),
+ this, TQ_SLOT( slotNotAnyColor( ) ) );
b_notAnyColor=false;
grid2->addMultiCell(grid3,7,7,0,2);
@@ -3689,36 +3689,36 @@ CellFormatPagePattern::CellFormatPagePattern( TQWidget* parent, CellFormatDialog
grid2->addWidget(current,1,0);
grid->addWidget( tmpTQGroupBox,4,0);
- connect( brush1, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush2, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush3, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush4, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush5, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush6, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush7, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush8, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush9, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush10, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush11, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush12, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush13, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush14, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
- connect( brush15, TQT_SIGNAL( clicked( BrushSelect* ) ),
- this, TQT_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush1, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush2, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush3, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush4, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush5, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush6, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush7, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush8, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush9, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush10, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush11, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush12, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush13, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush14, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
+ connect( brush15, TQ_SIGNAL( clicked( BrushSelect* ) ),
+ this, TQ_SLOT( slotUnselect2( BrushSelect* ) ) );
brush1->setPattern( TQt::red,TQt::VerPattern );
brush2->setPattern( TQt::red,TQt::HorPattern );
@@ -3742,8 +3742,8 @@ CellFormatPagePattern::CellFormatPagePattern( TQWidget* parent, CellFormatDialog
color->setColor(dlg->brushColor);
current->setBackgroundColor( bgColor );
- connect( color, TQT_SIGNAL( changed( const TQColor & ) ),
- this, TQT_SLOT( slotSetColorButton( const TQColor & ) ) );
+ connect( color, TQ_SIGNAL( changed( const TQColor & ) ),
+ this, TQ_SLOT( slotSetColorButton( const TQColor & ) ) );
slotSetColorButton( dlg->brushColor );
init();
diff --git a/kspread/dialogs/kspread_dlg_list.cpp b/kspread/dialogs/kspread_dlg_list.cpp
index 254470e1..76581a6c 100644
--- a/kspread/dialogs/kspread_dlg_list.cpp
+++ b/kspread/dialogs/kspread_dlg_list.cpp
@@ -79,13 +79,13 @@ ListDialog::ListDialog( TQWidget* parent, const char* name )
m_pAdd->setEnabled(false);
- connect( m_pRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotRemove() ) );
- connect( m_pAdd, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAdd() ) );
- connect( m_pNew, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotNew() ) );
- connect( m_pModify, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotModify() ) );
- connect( m_pCopy, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCopy() ) );
- connect( list, TQT_SIGNAL(doubleClicked(TQListBoxItem *)),this,TQT_SLOT(slotDoubleClicked(TQListBoxItem *)));
- connect( list, TQT_SIGNAL(clicked ( TQListBoxItem * )),this,TQT_SLOT(slotTextClicked(TQListBoxItem * )));
+ connect( m_pRemove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRemove() ) );
+ connect( m_pAdd, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAdd() ) );
+ connect( m_pNew, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotNew() ) );
+ connect( m_pModify, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotModify() ) );
+ connect( m_pCopy, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotCopy() ) );
+ connect( list, TQ_SIGNAL(doubleClicked(TQListBoxItem *)),this,TQ_SLOT(slotDoubleClicked(TQListBoxItem *)));
+ connect( list, TQ_SIGNAL(clicked ( TQListBoxItem * )),this,TQ_SLOT(slotTextClicked(TQListBoxItem * )));
init();
entryList->setEnabled(false);
m_pModify->setEnabled(false);
diff --git a/kspread/dialogs/kspread_dlg_paperlayout.cpp b/kspread/dialogs/kspread_dlg_paperlayout.cpp
index 060f65ba..9414bae3 100644
--- a/kspread/dialogs/kspread_dlg_paperlayout.cpp
+++ b/kspread/dialogs/kspread_dlg_paperlayout.cpp
@@ -57,8 +57,8 @@ PaperLayout::PaperLayout( TQWidget * parent, const char * name,
m_pView( view )
{
initTab();
- connect(view->selectionInfo(), TQT_SIGNAL(changed(const Region&)),
- this, TQT_SLOT(slotSelectionChanged()));
+ connect(view->selectionInfo(), TQ_SIGNAL(changed(const Region&)),
+ this, TQ_SLOT(slotSelectionChanged()));
tqApp->installEventFilter( this );
m_focus= 0L;
}
@@ -272,9 +272,9 @@ void PaperLayout::initScaleOptions( TQWidget * tab, TQVBoxLayout * vbox )
m_rScalingZoom->setChecked( true );
}
- connect( m_cZoom, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotChooseZoom( int ) ) );
- connect( m_cLimitPagesX, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotChoosePageLimit( int ) ) );
- connect( m_cLimitPagesY, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotChoosePageLimit( int ) ) );
+ connect( m_cZoom, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotChooseZoom( int ) ) );
+ connect( m_cLimitPagesX, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotChoosePageLimit( int ) ) );
+ connect( m_cLimitPagesY, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotChoosePageLimit( int ) ) );
}
void PaperLayout::slotChooseZoom( int /*index*/ )
diff --git a/kspread/dialogs/kspread_dlg_pasteinsert.cpp b/kspread/dialogs/kspread_dlg_pasteinsert.cpp
index 2ffffc20..b966f6eb 100644
--- a/kspread/dialogs/kspread_dlg_pasteinsert.cpp
+++ b/kspread/dialogs/kspread_dlg_pasteinsert.cpp
@@ -55,7 +55,7 @@ PasteInsertDialog::PasteInsertDialog( View* parent, const char* name,const TQRec
rb2 = new TQRadioButton( i18n("Move towards bottom"), grp );
rb1->setChecked(true);
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
}
void PasteInsertDialog::slotOk()
diff --git a/kspread/dialogs/kspread_dlg_preference.cpp b/kspread/dialogs/kspread_dlg_preference.cpp
index 9202bb3a..66776e34 100644
--- a/kspread/dialogs/kspread_dlg_preference.cpp
+++ b/kspread/dialogs/kspread_dlg_preference.cpp
@@ -63,7 +63,7 @@ PreferenceDialog::PreferenceDialog( View* parent, const char* /*name*/)
{
m_pView=parent;
- connect(this, TQT_SIGNAL(okClicked()),this,TQT_SLOT(slotApply()));
+ connect(this, TQ_SIGNAL(okClicked()),this,TQ_SLOT(slotApply()));
TQVBox *page2=addVBoxPage(i18n("Locale Settings"), TQString(),BarIcon("go-home",TDEIcon::SizeMedium));
_localePage=new parameterLocale(parent,page2 );
@@ -169,7 +169,7 @@ parameterLocale::parameterLocale( View* _view, TQVBox *box , char *name )
updateToMatchLocale(locale);
m_updateButton=new TQPushButton ( i18n("&Update Locale Settings"), tmpTQGroupBox);
- connect(m_updateButton, TQT_SIGNAL(clicked()),this,TQT_SLOT(updateDefaultSystemConfig()));
+ connect(m_updateButton, TQ_SIGNAL(clicked()),this,TQ_SLOT(updateDefaultSystemConfig()));
}
void parameterLocale::apply()
@@ -449,7 +449,7 @@ miscParameters::miscParameters( View* _view,TQVBox *box, char *name )
typeCompletion->insertStringList(listType);
typeCompletion->setCurrentItem(0);
comboChanged=false;
- connect(typeCompletion,TQT_SIGNAL(activated( const TQString & )),this,TQT_SLOT(slotTextComboChanged(const TQString &)));
+ connect(typeCompletion,TQ_SIGNAL(activated( const TQString & )),this,TQ_SLOT(slotTextComboChanged(const TQString &)));
label=new TQLabel(i18n("&Pressing enter moves cell cursor:"), tmpTQGroupBox);
typeOfMove=new TQComboBox( tmpTQGroupBox);
@@ -1000,9 +1000,9 @@ configureTTSPage::configureTTSPage( View *_view, TQVBox *box, char *name )
m_iniPollingInterval->setValue(config->readNumEntry("PollingInterval", 600));
screenReaderOptionChanged();
- connect(m_cbSpeakPointerWidget, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(screenReaderOptionChanged()));
- connect(m_cbSpeakFocusWidget, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(screenReaderOptionChanged()));
- connect(m_cbSpeakAccelerators, TQT_SIGNAL(toggled(bool)), this, TQT_SLOT(screenReaderOptionChanged()));
+ connect(m_cbSpeakPointerWidget, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(screenReaderOptionChanged()));
+ connect(m_cbSpeakFocusWidget, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(screenReaderOptionChanged()));
+ connect(m_cbSpeakAccelerators, TQ_SIGNAL(toggled(bool)), this, TQ_SLOT(screenReaderOptionChanged()));
}
void configureTTSPage::slotDefault()
diff --git a/kspread/dialogs/kspread_dlg_reference.cpp b/kspread/dialogs/kspread_dlg_reference.cpp
index 9e747dfb..96d0d5b5 100644
--- a/kspread/dialogs/kspread_dlg_reference.cpp
+++ b/kspread/dialogs/kspread_dlg_reference.cpp
@@ -102,14 +102,14 @@ reference::reference( View* parent, const char* name )
m_pEdit->setEnabled( false );
}
- connect( m_pOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotOk() ) );
- connect( m_pCancel, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotCancel() ) );
- connect( m_pEdit, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotEdit() ) );
- connect( m_pRemove, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotRemove() ) );
- connect( m_list, TQT_SIGNAL(doubleClicked(TQListBoxItem *)), this,
- TQT_SLOT(slotDoubleClicked(TQListBoxItem *)));
- connect( m_list, TQT_SIGNAL(highlighted ( TQListBoxItem * ) ), this,
- TQT_SLOT(slotHighlighted(TQListBoxItem * )));
+ connect( m_pOk, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotOk() ) );
+ connect( m_pCancel, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotCancel() ) );
+ connect( m_pEdit, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotEdit() ) );
+ connect( m_pRemove, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotRemove() ) );
+ connect( m_list, TQ_SIGNAL(doubleClicked(TQListBoxItem *)), this,
+ TQ_SLOT(slotDoubleClicked(TQListBoxItem *)));
+ connect( m_list, TQ_SIGNAL(highlighted ( TQListBoxItem * ) ), this,
+ TQ_SLOT(slotHighlighted(TQListBoxItem * )));
m_rangeName->setText(i18n("Area: %1").arg(""));
resize( 250, 200 );
diff --git a/kspread/dialogs/kspread_dlg_series.cpp b/kspread/dialogs/kspread_dlg_series.cpp
index 6bc31ca1..d424f825 100644
--- a/kspread/dialogs/kspread_dlg_series.cpp
+++ b/kspread/dialogs/kspread_dlg_series.cpp
@@ -103,7 +103,7 @@ SeriesDlg::SeriesDlg( View* parent, const char* name,const TQPoint &_marker)
start->setFocus();
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
}
diff --git a/kspread/dialogs/kspread_dlg_show.cpp b/kspread/dialogs/kspread_dlg_show.cpp
index 11f55e6d..4cea9f11 100644
--- a/kspread/dialogs/kspread_dlg_show.cpp
+++ b/kspread/dialogs/kspread_dlg_show.cpp
@@ -63,8 +63,8 @@ ShowDialog::ShowDialog( View* parent, const char* name )
}
if(!list->count())
enableButtonOK(false);
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
- connect( list, TQT_SIGNAL(doubleClicked(TQListBoxItem *)),this,TQT_SLOT(slotDoubleClicked(TQListBoxItem *)));
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
+ connect( list, TQ_SIGNAL(doubleClicked(TQListBoxItem *)),this,TQ_SLOT(slotDoubleClicked(TQListBoxItem *)));
resize( 200, 150 );
setFocus();
}
diff --git a/kspread/dialogs/kspread_dlg_showColRow.cpp b/kspread/dialogs/kspread_dlg_showColRow.cpp
index 32c4c631..0828667f 100644
--- a/kspread/dialogs/kspread_dlg_showColRow.cpp
+++ b/kspread/dialogs/kspread_dlg_showColRow.cpp
@@ -108,8 +108,8 @@ ShowColRow::ShowColRow( View* parent, const char* name, Type _type )
//selection multiple
list->setSelectionMode(TQListBox::Multi);
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
- connect( list, TQT_SIGNAL(doubleClicked(TQListBoxItem *)),this,TQT_SLOT(slotDoubleClicked(TQListBoxItem *)));
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
+ connect( list, TQ_SIGNAL(doubleClicked(TQListBoxItem *)),this,TQ_SLOT(slotDoubleClicked(TQListBoxItem *)));
resize( 200, 150 );
setFocus();
}
diff --git a/kspread/dialogs/kspread_dlg_sort.cpp b/kspread/dialogs/kspread_dlg_sort.cpp
index 5e5167f8..a9985db5 100644
--- a/kspread/dialogs/kspread_dlg_sort.cpp
+++ b/kspread/dialogs/kspread_dlg_sort.cpp
@@ -247,14 +247,14 @@ SortDialog::SortDialog( View * parent, const char * name,
page2Layout->addWidget( m_respectCase, 2,0 );
- connect( m_sortKey2, TQT_SIGNAL( activated( int ) ), this,
- TQT_SLOT( sortKey2textChanged( int ) ) );
- connect( m_useCustomLists, TQT_SIGNAL( stateChanged(int) ), this,
- TQT_SLOT( useCustomListsStateChanged(int) ) );
- connect( m_firstRowOrColHeader, TQT_SIGNAL( stateChanged(int) ), this,
- TQT_SLOT( firstRowHeaderChanged(int) ) );
- connect( orientationGroup, TQT_SIGNAL( pressed(int) ), this,
- TQT_SLOT( slotOrientationChanged(int) ) );
+ connect( m_sortKey2, TQ_SIGNAL( activated( int ) ), this,
+ TQ_SLOT( sortKey2textChanged( int ) ) );
+ connect( m_useCustomLists, TQ_SIGNAL( stateChanged(int) ), this,
+ TQ_SLOT( useCustomListsStateChanged(int) ) );
+ connect( m_firstRowOrColHeader, TQ_SIGNAL( stateChanged(int) ), this,
+ TQ_SLOT( firstRowHeaderChanged(int) ) );
+ connect( orientationGroup, TQ_SIGNAL( pressed(int) ), this,
+ TQ_SLOT( slotOrientationChanged(int) ) );
init();
}
diff --git a/kspread/dialogs/kspread_dlg_special.cpp b/kspread/dialogs/kspread_dlg_special.cpp
index 5e835c1f..2b854f21 100644
--- a/kspread/dialogs/kspread_dlg_special.cpp
+++ b/kspread/dialogs/kspread_dlg_special.cpp
@@ -74,9 +74,9 @@ SpecialDialog::SpecialDialog( View* parent, const char* name )
// cb->layout();
// lay1->addWidget(cb);
- connect( this, TQT_SIGNAL( okClicked() ), this, TQT_SLOT( slotOk() ) );
- connect( rb3, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotToggled( bool ) ) );
- connect( rb10, TQT_SIGNAL( toggled( bool ) ), this, TQT_SLOT( slotToggled( bool ) ) );
+ connect( this, TQ_SIGNAL( okClicked() ), this, TQ_SLOT( slotOk() ) );
+ connect( rb3, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotToggled( bool ) ) );
+ connect( rb10, TQ_SIGNAL( toggled( bool ) ), this, TQ_SLOT( slotToggled( bool ) ) );
}
void SpecialDialog::slotOk()
diff --git a/kspread/dialogs/kspread_dlg_styles.cpp b/kspread/dialogs/kspread_dlg_styles.cpp
index 461b28cc..1aae0814 100644
--- a/kspread/dialogs/kspread_dlg_styles.cpp
+++ b/kspread/dialogs/kspread_dlg_styles.cpp
@@ -58,7 +58,7 @@ StyleWidget::StyleWidget( TQWidget * parent, const char * name, WFlags fl )
m_displayBox->insertItem( i18n( "Applied Styles" ) );
m_displayBox->insertItem( i18n( "Custom Styles" ) );
m_displayBox->insertItem( i18n( "Hierarchical" ) );
- connect( m_styleList, TQT_SIGNAL(doubleClicked ( TQListViewItem *)),this, TQT_SIGNAL( modifyStyle()));
+ connect( m_styleList, TQ_SIGNAL(doubleClicked ( TQListViewItem *)),this, TQ_SIGNAL( modifyStyle()));
resize( TQSize(446, 384).expandedTo(minimumSizeHint()) );
}
@@ -86,11 +86,11 @@ StyleDlg::StyleDlg( View * parent, StyleManager * manager,
enableButton( KDialogBase::User2, true );
enableButton( KDialogBase::User3, false );
- connect( m_dlg->m_styleList, TQT_SIGNAL( selectionChanged( TQListViewItem * ) ),
- this, TQT_SLOT( slotSelectionChanged( TQListViewItem * ) ) );
- connect( m_dlg->m_displayBox, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotDisplayMode( int ) ) );
- connect( this, TQT_SIGNAL( user3Clicked() ), this, TQT_SLOT( slotUser3() ) );
- connect( m_dlg, TQT_SIGNAL( modifyStyle() ), this, TQT_SLOT( slotUser2()));
+ connect( m_dlg->m_styleList, TQ_SIGNAL( selectionChanged( TQListViewItem * ) ),
+ this, TQ_SLOT( slotSelectionChanged( TQListViewItem * ) ) );
+ connect( m_dlg->m_displayBox, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotDisplayMode( int ) ) );
+ connect( this, TQ_SIGNAL( user3Clicked() ), this, TQ_SLOT( slotUser3() ) );
+ connect( m_dlg, TQ_SIGNAL( modifyStyle() ), this, TQ_SLOT( slotUser2()));
}
StyleDlg::~StyleDlg()
diff --git a/kspread/dialogs/kspread_dlg_validity.cpp b/kspread/dialogs/kspread_dlg_validity.cpp
index b7aca93e..a90b74db 100644
--- a/kspread/dialogs/kspread_dlg_validity.cpp
+++ b/kspread/dialogs/kspread_dlg_validity.cpp
@@ -214,10 +214,10 @@ DlgValidity::DlgValidity(View* parent,const char* name , const TQRect &_marker )
messageHelp->setTextFormat( TQt::PlainText );
- connect(choose,TQT_SIGNAL(activated(int )),this,TQT_SLOT(changeIndexCond(int)));
- connect(chooseType,TQT_SIGNAL(activated(int )),this,TQT_SLOT(changeIndexType(int)));
- connect( this, TQT_SIGNAL(user1Clicked()), TQT_SLOT(OkPressed()) );
- connect( this, TQT_SIGNAL(user2Clicked()), TQT_SLOT(clearAllPressed()) );
+ connect(choose,TQ_SIGNAL(activated(int )),this,TQ_SLOT(changeIndexCond(int)));
+ connect(chooseType,TQ_SIGNAL(activated(int )),this,TQ_SLOT(changeIndexType(int)));
+ connect( this, TQ_SIGNAL(user1Clicked()), TQ_SLOT(OkPressed()) );
+ connect( this, TQ_SIGNAL(user2Clicked()), TQ_SLOT(clearAllPressed()) );
init();
}
diff --git a/kspread/dialogs/link.cpp b/kspread/dialogs/link.cpp
index e0c1be21..afc64096 100644
--- a/kspread/dialogs/link.cpp
+++ b/kspread/dialogs/link.cpp
@@ -76,8 +76,8 @@ LinkDialog::LinkDialog( TQWidget*, const char* )
d->internetLink = new KLineEdit( d->internetPage );
iLayout->add( d->internetLink );
iLayout->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Minimum, TQSizePolicy::Expanding ) );
- connect( d->internetText, TQT_SIGNAL( textChanged( const TQString& ) ), this,
- TQT_SLOT( setText( const TQString& ) ) );
+ connect( d->internetText, TQ_SIGNAL( textChanged( const TQString& ) ), this,
+ TQ_SLOT( setText( const TQString& ) ) );
// link for e-mail
d->mailPage = addPage( i18n( "Mail" ), TQString(),
@@ -90,8 +90,8 @@ LinkDialog::LinkDialog( TQWidget*, const char* )
d->mailLink = new KLineEdit( d->mailPage );
mLayout->add( d->mailLink );
mLayout->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Minimum, TQSizePolicy::Expanding ) );
- connect( d->mailText, TQT_SIGNAL( textChanged( const TQString& ) ), this,
- TQT_SLOT( setText( const TQString& ) ) );
+ connect( d->mailText, TQ_SIGNAL( textChanged( const TQString& ) ), this,
+ TQ_SLOT( setText( const TQString& ) ) );
// link for external file
d->filePage = addPage( i18n( "File" ), TQString(),
@@ -108,10 +108,10 @@ LinkDialog::LinkDialog( TQWidget*, const char* )
recentFile->setSizePolicy( TQSizePolicy::Expanding, TQSizePolicy::Fixed );
fLayout->add( recentFile );
fLayout->addItem( new TQSpacerItem( 0, 40, TQSizePolicy::Minimum, TQSizePolicy::MinimumExpanding ) );
- connect( d->fileText, TQT_SIGNAL( textChanged( const TQString& ) ), this,
- TQT_SLOT( setText( const TQString& ) ) );
- TQObject::connect( recentFile, TQT_SIGNAL( highlighted ( const TQString &) ),
- d->fileLink->lineEdit(), TQT_SLOT( setText( const TQString & ) ) );
+ connect( d->fileText, TQ_SIGNAL( textChanged( const TQString& ) ), this,
+ TQ_SLOT( setText( const TQString& ) ) );
+ TQObject::connect( recentFile, TQ_SIGNAL( highlighted ( const TQString &) ),
+ d->fileLink->lineEdit(), TQ_SLOT( setText( const TQString & ) ) );
// populate recent files
@@ -139,8 +139,8 @@ LinkDialog::LinkDialog( TQWidget*, const char* )
d->cellLink = new KLineEdit( d->cellPage );
cLayout->add( d->cellLink );
cLayout->addItem( new TQSpacerItem( 0, 0, TQSizePolicy::Minimum, TQSizePolicy::Expanding ) );
- connect( d->cellText, TQT_SIGNAL( textChanged( const TQString& ) ), this,
- TQT_SLOT( setText( const TQString& ) ) );
+ connect( d->cellText, TQ_SIGNAL( textChanged( const TQString& ) ), this,
+ TQ_SLOT( setText( const TQString& ) ) );
enableButtonSeparator( true );
d->internetText->setFocus();