From 84f5a315c3429b47a7eff15e626e2efdbe4f6e5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 8 Oct 2013 00:13:25 +0200 Subject: Initial TQt conversion --- src/preferencesdlg.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/preferencesdlg.cpp') 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 +#include #include #include #include #include -#include +#include #include #include #include @@ -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); -- cgit v1.2.1