diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/kmconfigdialog.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kmconfigdialog.cpp')
-rw-r--r-- | kdeprint/management/kmconfigdialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kdeprint/management/kmconfigdialog.cpp b/kdeprint/management/kmconfigdialog.cpp index b775786e8..9bd20e494 100644 --- a/kdeprint/management/kmconfigdialog.cpp +++ b/kdeprint/management/kmconfigdialog.cpp @@ -29,12 +29,12 @@ #include "kmconfigfonts.h" #include "kmconfigjobs.h" -#include <qlayout.h> +#include <tqlayout.h> #include <klocale.h> #include <kiconloader.h> #include <kconfig.h> -KMConfigDialog::KMConfigDialog(QWidget *parent, const char *name) +KMConfigDialog::KMConfigDialog(TQWidget *parent, const char *name) : KDialogBase(IconList,i18n("KDE Print Configuration"),Ok|Cancel,Ok,parent,name,true,true) { m_pages.setAutoDelete(false); @@ -48,7 +48,7 @@ KMConfigDialog::KMConfigDialog(QWidget *parent, const char *name) // initialize pages KConfig *conf = KMFactory::self()->printConfig(); - QPtrListIterator<KMConfigPage> it(m_pages); + TQPtrListIterator<KMConfigPage> it(m_pages); for (;it.current();++it) it.current()->loadConfig(conf); @@ -60,15 +60,15 @@ void KMConfigDialog::addConfigPage(KMConfigPage *page) { if (page) { - QPixmap icon = KGlobal::instance()->iconLoader()->loadIcon( + TQPixmap icon = KGlobal::instance()->iconLoader()->loadIcon( page->pagePixmap(), KIcon::NoGroup, KIcon::SizeMedium ); QFrame *frame = addPage(page->pageName(),page->pageHeader(),icon); - page->reparent(frame,QPoint(0,0)); - QVBoxLayout *lay = new QVBoxLayout(frame, 0, 0); + page->reparent(frame,TQPoint(0,0)); + QVBoxLayout *lay = new TQVBoxLayout(frame, 0, 0); lay->addWidget(page); m_pages.append(page); } @@ -78,7 +78,7 @@ void KMConfigDialog::slotOk() { // save configuration KConfig *conf = KMFactory::self()->printConfig(); - QPtrListIterator<KMConfigPage> it(m_pages); + TQPtrListIterator<KMConfigPage> it(m_pages); for (;it.current();++it) it.current()->saveConfig(conf); KMFactory::self()->saveConfig(); |