summaryrefslogtreecommitdiffstats
path: root/developer-doc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-26 11:49:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-28 11:41:02 +0900
commita84f7caff6a73b3d554279d41b9a00aa15ad1400 (patch)
treef55b4d7373fdf5ae2763e06643030f4dbea48209 /developer-doc
parent08d1c7296d2a8348250f0ced6184476a5761e391 (diff)
downloadkmymoney-a84f7caff6a73b3d554279d41b9a00aa15ad1400.tar.gz
kmymoney-a84f7caff6a73b3d554279d41b9a00aa15ad1400.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ecdc0343d446e810e477e8924e846de7f3313c55)
Diffstat (limited to 'developer-doc')
-rw-r--r--developer-doc/phb/coding.docbook4
-rw-r--r--developer-doc/phb/dialogs.docbook2
-rw-r--r--developer-doc/phb/src-examples.docbook20
-rw-r--r--developer-doc/phb/test-examples.docbook4
4 files changed, 15 insertions, 15 deletions
diff --git a/developer-doc/phb/coding.docbook b/developer-doc/phb/coding.docbook
index ca7da82..2bb7913 100644
--- a/developer-doc/phb/coding.docbook
+++ b/developer-doc/phb/coding.docbook
@@ -183,7 +183,7 @@ type.
class KSomethingDlg : public KBaseClass {
private:
- QString m_szSomeString;
+ TQString m_szSomeString;
void useString(void);
private slots:
@@ -391,7 +391,7 @@ For example:
<title>Local variable nameing convention</title>
<screen>
- QString qstringTemp;
+ TQString qstringTemp;
char *pszTemp;
diff --git a/developer-doc/phb/dialogs.docbook b/developer-doc/phb/dialogs.docbook
index 539c353..7e0eeb7 100644
--- a/developer-doc/phb/dialogs.docbook
+++ b/developer-doc/phb/dialogs.docbook
@@ -66,7 +66,7 @@
class &lt;KN&gt;Dlg : public &lt;KN&gt;DlgDecl {
TQ_OBJECT
public:
- &lt;KN&gt;Dlg(QWidget *parent = 0, const char *name = 0);
+ &lt;KN&gt;Dlg(TQWidget *parent = 0, const char *name = 0);
~&lt;KN&gt;Dlg();
</programlisting>
<para/>
diff --git a/developer-doc/phb/src-examples.docbook b/developer-doc/phb/src-examples.docbook
index f0042f6..92e912e 100644
--- a/developer-doc/phb/src-examples.docbook
+++ b/developer-doc/phb/src-examples.docbook
@@ -101,11 +101,11 @@ private:
/** Attributes to store the variables so they can be undone when
* cancelling the apply.
**/
- QColor m_qcolorTempList;
- QColor m_qcolorTempListBG;
+ TQColor m_qcolorTempList;
+ TQColor m_qcolorTempListBG;
QFont m_qfontTempHeader;
QFont m_qfontTempCell;
- QString m_qstringTempRowCount;
+ TQString m_qstringTempRowCount;
bool m_bTempShowGrid;
bool m_bTempColourPerTransaction;
bool m_bTempStartPrompt;
@@ -129,7 +129,7 @@ public:
/**
* Standard constructor.
*
- * @param parent The QWidget this is used in.
+ * @param parent The TQWidget this is used in.
* @param name The QT name.
* @param modal True if we want the dialog to be application modal.
*
@@ -137,7 +137,7 @@ public:
*
* @see ~KSettingsDlg
**/
- KSettingsDlg(QWidget *parent=0, const char *name=0, bool modal=true);
+ KSettingsDlg(TQWidget *parent=0, const char *name=0, bool modal=true);
/**
* Standard destructor.
@@ -213,7 +213,7 @@ signals:
* KDialogBase
* to set the buttons to be showed and the type of dialog to be shown.
**/
-KSettingsDlg::KSettingsDlg(QWidget *parent, const char *name, bool modal)
+KSettingsDlg::KSettingsDlg(TQWidget *parent, const char *name, bool modal)
: KDialogBase(IconList, i18n("Configure"), Ok|Cancel|Apply|User1, Ok, parent,
name, modal, true, i18n("&amp;Reset"))
{
@@ -274,7 +274,7 @@ void KSettingsDlg::setPageList()
QTabWidget *qtabwidget = new QTabWidget(qvboxMainFrame, "TabWidget2");
// Create the first page
- QWidget *qwidgetPage = new QWidget(this);
+ TQWidget *qwidgetPage = new TQWidget(this);
// Create the layout for the page
QVBoxLayout *qvboxlayoutPage = new QVBoxLayout(qwidgetPage);
@@ -338,7 +338,7 @@ void KSettingsDlg::setPageList()
qtabwidget->insertTab(qwidgetPage, i18n("General"));
// Create a new tab for the colour options
- QWidget *qwidgetColour = new QWidget(qtabwidget, "tab");
+ TQWidget *qwidgetColour = new TQWidget(qtabwidget, "tab");
// Create a vertical layout
QVBoxLayout *qvboxlayoutColour = new QVBoxLayout(qwidgetColour);
@@ -416,8 +416,8 @@ void KSettingsDlg::configRead()
tdeconfig->setGroup("List Options");
QFont qfontDefault = QFont("helvetica", 12);
- QColor qcolorDefault = Qt::white;
- QColor qcolorDefaultBG = Qt::gray;
+ TQColor qcolorDefault = Qt::white;
+ TQColor qcolorDefaultBG = Qt::gray;
m_qcolorTempList = tdeconfig->readColorEntry("listColor", &amp;qcolorDefault);
m_kcolorbuttonList->setColor(m_qcolorTempList);
diff --git a/developer-doc/phb/test-examples.docbook b/developer-doc/phb/test-examples.docbook
index 43f9d7f..3ebcc96 100644
--- a/developer-doc/phb/test-examples.docbook
+++ b/developer-doc/phb/test-examples.docbook
@@ -173,7 +173,7 @@ test case, some logic is necessary to print the name only once.
class MyProgressListener : public CppUnit::TextTestProgressListener
{
void startTest(CppUnit::Test *test) {
- QString name = test-&gt;getName().c_str();
+ TQString name = test-&gt;getName().c_str();
name = name.mid(2); // cut off first 2 chars
name = name.left(name.find('.'));
if(m_name != name) {
@@ -184,7 +184,7 @@ class MyProgressListener : public CppUnit::TextTestProgressListener
}
}
private:
- QString m_name;
+ TQString m_name;
};
#endif