summaryrefslogtreecommitdiffstats
path: root/developer-doc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 23:11:58 -0600
committerTimothy Pearson <[email protected]>2013-02-01 23:11:58 -0600
commite8837d86c8961bdfb65c25c6ff040468c95240cd (patch)
treefeaa7456a26d48b1f72a2518c3a765de158cf309 /developer-doc
parentd0af61c358a04f3d3b956636076eb073dcf253c0 (diff)
downloadkmymoney-e8837d86c8961bdfb65c25c6ff040468c95240cd.tar.gz
kmymoney-e8837d86c8961bdfb65c25c6ff040468c95240cd.zip
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'developer-doc')
-rw-r--r--developer-doc/phb/src-examples.docbook22
1 files changed, 11 insertions, 11 deletions
diff --git a/developer-doc/phb/src-examples.docbook b/developer-doc/phb/src-examples.docbook
index d81c7ee..8103cc8 100644
--- a/developer-doc/phb/src-examples.docbook
+++ b/developer-doc/phb/src-examples.docbook
@@ -39,7 +39,7 @@ This appendix contains an example of a
// ----------------------------------------------------------------------------
// KDE Includes
#include &lt;kdialogbase.h&gt;
-#include &lt;kfontdialog.h&gt;
+#include &lt;tdefontdialog.h&gt;
#include &lt;kcolorbutton.h&gt;
#include &lt;klineedit.h&gt;
@@ -76,9 +76,9 @@ private:
/** Color background */
KColorButton *m_kcolorbuttonBack;
/** Select font header */
- TDEFontChooser *m_kfontchooserHeader;
+ TDEFontChooser *m_tdefontchooserHeader;
/** Font cell setting */
- TDEFontChooser *m_kfontchooserCell;
+ TDEFontChooser *m_tdefontchooserCell;
/** No rows to show in register */
KLineEdit *m_klineeditRowCount;
@@ -387,14 +387,14 @@ void KSettingsDlg::setPageList()
QVBox *qvboxInsideTab1 = new QVBox( this, "tab1" );
qvboxInsideTab1->setSpacing( 6 );
qvboxInsideTab1->setMargin( 11 );
- m_kfontchooserHeader = new TDEFontChooser(qvboxInsideTab1);
+ m_tdefontchooserHeader = new TDEFontChooser(qvboxInsideTab1);
qtabwidget->insertTab(qvboxInsideTab1, i18n("Header Font"));
// Create another tab adding a font chooser widget
QVBox *qvboxInsideTab2 = new QVBox( this, "tab2" );
qvboxInsideTab2->setSpacing( 6 );
qvboxInsideTab2->setMargin( 11 );
- m_kfontchooserCell = new TDEFontChooser(qvboxInsideTab2);
+ m_tdefontchooserCell = new TDEFontChooser(qvboxInsideTab2);
qtabwidget->addTab(qvboxInsideTab2, i18n("Cell Font"));
}
@@ -428,10 +428,10 @@ void KSettingsDlg::configRead()
m_qfontTempHeader = tdeconfig->readFontEntry("listHeaderFont",
&amp;qfontDefault);
- m_kfontchooserHeader->setFont(m_qfontTempHeader);
+ m_tdefontchooserHeader->setFont(m_qfontTempHeader);
m_qfontTempCell = tdeconfig->readFontEntry("listCellFont", &amp;qfontDefault);
- m_kfontchooserCell->setFont(m_qfontTempCell);
+ m_tdefontchooserCell->setFont(m_qfontTempCell);
m_qstringTempRowCount = tdeconfig->readEntry("RowCount", "2");
m_klineeditRowCount->setText(m_qstringTempRowCount);
@@ -456,8 +456,8 @@ void KSettingsDlg::configWrite()
tdeconfig->setGroup("List Options");
tdeconfig->writeEntry("listColor", m_kcolorbuttonList->color());
tdeconfig->writeEntry("listBGColor", m_kcolorbuttonBack->color());
- tdeconfig->writeEntry("listHeaderFont", m_kfontchooserHeader->font());
- tdeconfig->writeEntry("listCellFont", m_kfontchooserCell->font());
+ tdeconfig->writeEntry("listHeaderFont", m_tdefontchooserHeader->font());
+ tdeconfig->writeEntry("listCellFont", m_tdefontchooserCell->font());
tdeconfig->writeEntry("RowCount", m_klineeditRowCount->text());
tdeconfig->writeEntry("ShowGrid", m_qcheckboxShowGrid->isChecked());
tdeconfig->writeEntry("ColourPerTransaction",
@@ -536,8 +536,8 @@ void KSettingsDlg::slotUser1()
m_qradiobuttonStartPrompt->setChecked(m_bTempStartPrompt);
m_kcolorbuttonList->setColor(m_qcolorTempList);
m_kcolorbuttonBack->setColor(m_qcolorTempListBG);
- m_kfontchooserHeader->setFont(m_qfontTempHeader);
- m_kfontchooserCell->setFont(m_qfontTempCell);
+ m_tdefontchooserHeader->setFont(m_qfontTempHeader);
+ m_tdefontchooserCell->setFont(m_qfontTempCell);
m_klineeditRowCount->setText(m_qstringTempRowCount);
m_qcheckboxShowGrid->setChecked(m_bTempShowGrid);
m_qradiobuttonPerTransaction->setChecked(m_bTempColourPerTransaction);