summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmconfigpreview.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/kmconfigpreview.cpp
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-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/kmconfigpreview.cpp')
-rw-r--r--kdeprint/management/kmconfigpreview.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kdeprint/management/kmconfigpreview.cpp b/kdeprint/management/kmconfigpreview.cpp
index a3ed5581e..1bd9f46e5 100644
--- a/kdeprint/management/kmconfigpreview.cpp
+++ b/kdeprint/management/kmconfigpreview.cpp
@@ -19,43 +19,43 @@
#include "kmconfigpreview.h"
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqgroupbox.h>
+#include <tqlabel.h>
#include <klocale.h>
#include <kurlrequester.h>
#include <kconfig.h>
#include <kdialog.h>
-KMConfigPreview::KMConfigPreview(QWidget *parent, const char *name)
+KMConfigPreview::KMConfigPreview(TQWidget *parent, const char *name)
: KMConfigPage(parent, name)
{
setPageName(i18n("Preview"));
setPageHeader(i18n("Preview Settings"));
setPagePixmap("filefind");
- QGroupBox *box = new QGroupBox(0, Qt::Vertical, i18n("Preview Program"), this);
+ TQGroupBox *box = new TQGroupBox(0, Qt::Vertical, i18n("Preview Program"), this);
- m_useext = new QCheckBox(i18n("&Use external preview program"), box);
+ m_useext = new TQCheckBox(i18n("&Use external preview program"), box);
m_program = new KURLRequester(box);
- QLabel *lab = new QLabel(box);
+ QLabel *lab = new TQLabel(box);
lab->setText(i18n("You can use an external preview program (PS viewer) instead of the "
"KDE built-in preview system. Note that if the KDE default PS viewer "
"(KGhostView) cannot be found, KDE tries automatically to find another "
"external PostScript viewer"));
lab->setTextFormat(Qt::RichText);
- QVBoxLayout *l0 = new QVBoxLayout(this, 0, KDialog::spacingHint());
+ QVBoxLayout *l0 = new TQVBoxLayout(this, 0, KDialog::spacingHint());
l0->addWidget(box);
l0->addStretch(1);
- QVBoxLayout *l1 = new QVBoxLayout(box->layout(), KDialog::spacingHint());
+ QVBoxLayout *l1 = new TQVBoxLayout(box->layout(), KDialog::spacingHint());
l1->addWidget(lab);
l1->addWidget(m_useext);
l1->addWidget(m_program);
- connect(m_useext, SIGNAL(toggled(bool)), m_program, SLOT(setEnabled(bool)));
+ connect(m_useext, TQT_SIGNAL(toggled(bool)), m_program, TQT_SLOT(setEnabled(bool)));
m_program->setEnabled(false);
}