summaryrefslogtreecommitdiffstats
path: root/kalzium/src/eqchemview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kalzium/src/eqchemview.cpp')
-rw-r--r--kalzium/src/eqchemview.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kalzium/src/eqchemview.cpp b/kalzium/src/eqchemview.cpp
index fee6e9c7..4a22cd20 100644
--- a/kalzium/src/eqchemview.cpp
+++ b/kalzium/src/eqchemview.cpp
@@ -46,11 +46,11 @@ extern "C" {
char* solve_equation(const char *) { return NULL; }
#endif
-eqchemView::eqchemView(TQWidget *parent) : TQWidget(parent)
+eqchemView::eqchemView(TQWidget *tqparent) : TQWidget(tqparent)
{
settingsChanged();
- TQGridLayout *l = new TQGridLayout(this, 2, 2, 11, 6, "eqchemView::eqchemView layout");
+ TQGridLayout *l = new TQGridLayout(this, 2, 2, 11, 6, "eqchemView::eqchemView tqlayout");
m_eqResult = new EqResult(this);
m_eqedit = new KLineEdit(this);
@@ -89,8 +89,8 @@ void eqchemView::clear()
void eqchemView::compute()
{
TQString equation( m_eqedit->text() );
- equation.replace("+", "+");
- equation.replace("->", " -> ");
+ equation.tqreplace("+", "+");
+ equation.tqreplace("->", " -> ");
equation.append(" ");
equation.prepend(" ");
@@ -104,13 +104,13 @@ void eqchemView::compute()
m_eqResult->add( equation, disp );
}
-EQChemDialog::EQChemDialog( TQWidget *parent )
- : KDialogBase(parent, "EQChemDialog", true, i18n( "Solve Chemical Equations" ),
+ETQChemDialog::ETQChemDialog( TQWidget *tqparent )
+ : KDialogBase(tqparent, "ETQChemDialog", true, i18n( "Solve Chemical Equations" ),
KDialogBase::Apply|KDialogBase::Close|KDialogBase::Help, KDialogBase::Apply, true )
{
}
-void EQChemDialog::slotHelp()
+void ETQChemDialog::slotHelp()
{
emit helpClicked();
if ( kapp )