summaryrefslogtreecommitdiffstats
path: root/src/preferencesdlg.cpp
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2013-10-08 00:13:25 +0200
committerSlávek Banko <slavek.banko@axis.cz>2013-10-08 05:14:53 +0200
commit84f5a315c3429b47a7eff15e626e2efdbe4f6e5e (patch)
tree770861aa9033e1dc6c5168358194ff85b32dd429 /src/preferencesdlg.cpp
parent57d8bb3d12aed373eee08915f0ff19f5233aabe3 (diff)
downloadkscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.tar.gz
kscope-84f5a315c3429b47a7eff15e626e2efdbe4f6e5e.zip
Initial TQt conversion
Diffstat (limited to 'src/preferencesdlg.cpp')
-rw-r--r--src/preferencesdlg.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/preferencesdlg.cpp b/src/preferencesdlg.cpp
index ab13c33..9540c73 100644
--- a/src/preferencesdlg.cpp
+++ b/src/preferencesdlg.cpp
@@ -25,12 +25,12 @@
*
***************************************************************************/
-#include <qlayout.h>
+#include <ntqlayout.h>
#include <klocale.h>
#include <kiconloader.h>
#include <kurlrequester.h>
#include <klineedit.h>
-#include <qcheckbox.h>
+#include <ntqcheckbox.h>
#include <kcolorbutton.h>
#include <kmessagebox.h>
#include <kfontrequester.h>
@@ -51,33 +51,33 @@
* @param pParent The parent widget
* @param szName The widget's name
*/
-PreferencesDlg::PreferencesDlg(uint nPage, QWidget* pParent,
+PreferencesDlg::PreferencesDlg(uint nPage, TQWidget* pParent,
const char* szName) :
KDialogBase(IconList, i18n("Preferences"), Default | Ok | Apply | Cancel,
Ok, pParent, szName, 0)
{
- QFrame* pFrame;
- QVBoxLayout* pLayout;
+ TQFrame* pFrame;
+ TQVBoxLayout* pLayout;
// Create and add the "Frontend" page
pFrame = addPage(i18n("Programmes"),
i18n("Paths to back-end programmes"),
KGlobal::iconLoader()->loadIcon("run", KIcon::Panel, 0, false));
- pLayout = new QVBoxLayout(pFrame, 0, 0);
+ pLayout = new TQVBoxLayout(pFrame, 0, 0);
m_pPrefFrontend = new PrefFrontend(pFrame);
pLayout->addWidget(m_pPrefFrontend);
// Create and add the "Colours" page
pFrame = addPage(i18n("Colours"), i18n("Window colours"),
KGlobal::iconLoader()->loadIcon("colors", KIcon::Panel, 0, false));
- pLayout = new QVBoxLayout(pFrame, 0, 0);
+ pLayout = new TQVBoxLayout(pFrame, 0, 0);
m_pPrefColor = new PrefColor(pFrame);
pLayout->addWidget(m_pPrefColor);
// Create and add the "Fonts" page
pFrame = addPage(i18n("Fonts"), i18n("Window fonts"),
KGlobal::iconLoader()->loadIcon("fonts", KIcon::Panel, 0, false));
- pLayout = new QVBoxLayout(pFrame, 0, 0);
+ pLayout = new TQVBoxLayout(pFrame, 0, 0);
m_pPrefFont = new PrefFont(pFrame);
pLayout->addWidget(m_pPrefFont);
@@ -85,7 +85,7 @@ PreferencesDlg::PreferencesDlg(uint nPage, QWidget* pParent,
pFrame = addPage(i18n("Options"), i18n("Misc. Options"),
KGlobal::iconLoader()->loadIcon("package_settings",
KIcon::Panel, 0, false));
- pLayout = new QVBoxLayout(pFrame, 0, 0);
+ pLayout = new TQVBoxLayout(pFrame, 0, 0);
m_pPrefOpt = new PrefOpt(pFrame);
pLayout->addWidget(m_pPrefOpt);