From ba6b21419810544e0c8666969d21d72161d9084c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 21 Dec 2011 14:20:25 -0600 Subject: Rename obsolete tq methods to standard names --- kalzium/ChangeLog | 2 +- kalzium/src/detailinfodlg.cpp | 6 ++-- kalzium/src/elementdataviewer.cpp | 10 +++--- kalzium/src/eqchemview.cpp | 2 +- kalzium/src/kalzium.h | 2 +- kalzium/src/plotsetupwidget.ui | 6 ++-- kalzium/src/settings_colors.ui | 66 +++++++++++++++++++-------------------- kalzium/src/somwidget.ui | 4 +-- kalzium/src/spectrumview.ui | 4 +-- kalzium/src/timewidget.ui | 4 +-- 10 files changed, 53 insertions(+), 53 deletions(-) (limited to 'kalzium') diff --git a/kalzium/ChangeLog b/kalzium/ChangeLog index ce67fc51..61d29e3a 100644 --- a/kalzium/ChangeLog +++ b/kalzium/ChangeLog @@ -19,7 +19,7 @@ Add: - The menustructure is now more consistent - One icon has been added - Make the mainwidget a QScrollView. This make sizehandling easier - - Improved tqlayout of the detailed information dialog + - Improved layout of the detailed information dialog - Added a widget which shows you a table of the isotopes - Added EqChem, a chemical equation solver - Added several glossary-items diff --git a/kalzium/src/detailinfodlg.cpp b/kalzium/src/detailinfodlg.cpp index 727700d4..8a1ace69 100644 --- a/kalzium/src/detailinfodlg.cpp +++ b/kalzium/src/detailinfodlg.cpp @@ -94,10 +94,10 @@ void DetailedInfoDlg::setElement(Element *element) KHTMLPart* DetailedInfoDlg::addHTMLTab( const TQString& title, const TQString& icontext, const TQString& iconname ) { TQFrame *frame = addPage(title, icontext, BarIcon(iconname)); - TQVBoxLayout *tqlayout = new TQVBoxLayout( frame ); - tqlayout->setMargin( 0 ); + TQVBoxLayout *layout = new TQVBoxLayout( frame ); + layout->setMargin( 0 ); KHTMLPart *w = new KHTMLPart( frame, "html-part", TQT_TQOBJECT(frame) ); - tqlayout->addWidget( w->view() ); + layout->addWidget( w->view() ); return w; } diff --git a/kalzium/src/elementdataviewer.cpp b/kalzium/src/elementdataviewer.cpp index bf717d42..376f136b 100644 --- a/kalzium/src/elementdataviewer.cpp +++ b/kalzium/src/elementdataviewer.cpp @@ -41,7 +41,7 @@ ElementDataViewer::ElementDataViewer( TQWidget *parent, const char* name ) yData = new AxisData(); - TQHBoxLayout *tqlayout = new TQHBoxLayout(plainPage(), 0, KDialog::spacingHint() ); + TQHBoxLayout *layout = new TQHBoxLayout(plainPage(), 0, KDialog::spacingHint() ); m_pPlotSetupWidget = new PlotSetupWidget( plainPage(), "plotsetup" ); m_pPlotSetupWidget->from->setMaxValue( d->numberOfElements() - 1 ); @@ -51,10 +51,10 @@ ElementDataViewer::ElementDataViewer( TQWidget *parent, const char* name ) m_pPlotWidget->setMinimumWidth( 200 ); m_pPlotWidget->resize( 400, m_pPlotWidget->height() ); - tqlayout->addWidget( m_pPlotSetupWidget ); - tqlayout->addWidget( m_pPlotWidget ); - tqlayout->setStretchFactor( m_pPlotSetupWidget, 0 ); - tqlayout->setStretchFactor( m_pPlotWidget, 1 ); + layout->addWidget( m_pPlotSetupWidget ); + layout->addWidget( m_pPlotWidget ); + layout->setStretchFactor( m_pPlotSetupWidget, 0 ); + layout->setStretchFactor( m_pPlotWidget, 1 ); // setup the list of names EList::iterator it = d->ElementList.begin(); diff --git a/kalzium/src/eqchemview.cpp b/kalzium/src/eqchemview.cpp index 918b9ac6..fee6e9c7 100644 --- a/kalzium/src/eqchemview.cpp +++ b/kalzium/src/eqchemview.cpp @@ -50,7 +50,7 @@ eqchemView::eqchemView(TQWidget *parent) : TQWidget(parent) { settingsChanged(); - TQGridLayout *l = new TQGridLayout(this, 2, 2, 11, 6, "eqchemView::eqchemView tqlayout"); + TQGridLayout *l = new TQGridLayout(this, 2, 2, 11, 6, "eqchemView::eqchemView layout"); m_eqResult = new EqResult(this); m_eqedit = new KLineEdit(this); diff --git a/kalzium/src/kalzium.h b/kalzium/src/kalzium.h index 7994fd76..e83ccf4a 100644 --- a/kalzium/src/kalzium.h +++ b/kalzium/src/kalzium.h @@ -106,7 +106,7 @@ class Kalzium : public KMainWindow KToggleAction *m_actionCrystal; /** - * the tqlayout of the central Widget ( CentralWidget ) + * the layout of the central Widget ( CentralWidget ) */ TQVBoxLayout *m_pCentralLayout; diff --git a/kalzium/src/plotsetupwidget.ui b/kalzium/src/plotsetupwidget.ui index ad0ee99e..b777713c 100644 --- a/kalzium/src/plotsetupwidget.ui +++ b/kalzium/src/plotsetupwidget.ui @@ -26,7 +26,7 @@ - tqlayout4 + layout4 @@ -69,7 +69,7 @@ - tqlayout2 + layout2 @@ -114,7 +114,7 @@ - tqlayout3 + layout3 diff --git a/kalzium/src/settings_colors.ui b/kalzium/src/settings_colors.ui index 1e025f4f..cd9316cb 100644 --- a/kalzium/src/settings_colors.ui +++ b/kalzium/src/settings_colors.ui @@ -36,7 +36,7 @@ - tqlayout32 + layout32 @@ -44,7 +44,7 @@ - tqlayout28 + layout28 @@ -70,7 +70,7 @@ - tqlayout29 + layout29 @@ -96,7 +96,7 @@ - tqlayout30 + layout30 @@ -122,7 +122,7 @@ - tqlayout31 + layout31 @@ -163,7 +163,7 @@ - tqlayout26 + layout26 @@ -171,7 +171,7 @@ - tqlayout23 + layout23 @@ -197,7 +197,7 @@ - tqlayout24 + layout24 @@ -223,7 +223,7 @@ - tqlayout25 + layout25 @@ -249,7 +249,7 @@ - tqlayout26 + layout26 @@ -290,7 +290,7 @@ - tqlayout22 + layout22 @@ -298,7 +298,7 @@ - tqlayout12 + layout12 @@ -324,7 +324,7 @@ - tqlayout19 + layout19 @@ -350,7 +350,7 @@ - tqlayout18 + layout18 @@ -376,7 +376,7 @@ - tqlayout17 + layout17 @@ -402,7 +402,7 @@ - tqlayout16 + layout16 @@ -428,7 +428,7 @@ - tqlayout15 + layout15 @@ -454,7 +454,7 @@ - tqlayout14 + layout14 @@ -480,7 +480,7 @@ - tqlayout13 + layout13 @@ -521,7 +521,7 @@ - tqlayout14 + layout14 @@ -529,7 +529,7 @@ - tqlayout13 + layout13 @@ -558,7 +558,7 @@ - tqlayout6 + layout6 @@ -584,7 +584,7 @@ - tqlayout7 + layout7 @@ -625,7 +625,7 @@ - tqlayout36 + layout36 @@ -633,7 +633,7 @@ - tqlayout12_2 + layout12_2 @@ -659,7 +659,7 @@ - tqlayout19_2 + layout19_2 @@ -685,7 +685,7 @@ - tqlayout18_2 + layout18_2 @@ -711,7 +711,7 @@ - tqlayout17_2 + layout17_2 @@ -737,7 +737,7 @@ - tqlayout16_2 + layout16_2 @@ -763,7 +763,7 @@ - tqlayout15_2 + layout15_2 @@ -789,7 +789,7 @@ - tqlayout14_2 + layout14_2 @@ -815,7 +815,7 @@ - tqlayout13_2 + layout13_2 @@ -841,7 +841,7 @@ - tqlayout35 + layout35 diff --git a/kalzium/src/somwidget.ui b/kalzium/src/somwidget.ui index 0b41d400..1494a1fe 100644 --- a/kalzium/src/somwidget.ui +++ b/kalzium/src/somwidget.ui @@ -67,7 +67,7 @@ the state of matter - tqlayout3 + layout3 @@ -102,7 +102,7 @@ the state of matter - tqlayout4 + layout4 diff --git a/kalzium/src/spectrumview.ui b/kalzium/src/spectrumview.ui index f136aa5d..785d21af 100644 --- a/kalzium/src/spectrumview.ui +++ b/kalzium/src/spectrumview.ui @@ -38,7 +38,7 @@ - tqlayout2 + layout2 @@ -110,7 +110,7 @@ - tqlayout4 + layout4 diff --git a/kalzium/src/timewidget.ui b/kalzium/src/timewidget.ui index 72eafd28..a684726f 100644 --- a/kalzium/src/timewidget.ui +++ b/kalzium/src/timewidget.ui @@ -35,7 +35,7 @@ - tqlayout3 + layout3 @@ -78,7 +78,7 @@ - tqlayout5 + layout5 -- cgit v1.2.1