diff options
Diffstat (limited to 'kspread/dialogs/kspread_dlg_layout.cpp')
-rw-r--r-- | kspread/dialogs/kspread_dlg_layout.cpp | 194 |
1 files changed, 97 insertions, 97 deletions
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(); |