diff options
Diffstat (limited to 'src/preferencesdlg.cpp')
-rw-r--r-- | src/preferencesdlg.cpp | 18 |
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); |