summaryrefslogtreecommitdiffstats
path: root/tdeprint/tests/richpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/tests/richpage.cpp')
-rw-r--r--tdeprint/tests/richpage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeprint/tests/richpage.cpp b/tdeprint/tests/richpage.cpp
index d611e4ecd..30da712de 100644
--- a/tdeprint/tests/richpage.cpp
+++ b/tdeprint/tests/richpage.cpp
@@ -4,7 +4,7 @@
#include <tqspinbox.h>
#include <tqcombobox.h>
#include <tqfontdatabase.h>
-#include <layout.h>
+#include <tqlayout.h>
RichPage::RichPage(TQWidget *parent, const char *name)
: KPrintDialogPage(parent,name)
@@ -23,7 +23,7 @@ RichPage::RichPage(TQWidget *parent, const char *name)
QFontDatabase db;
QStringList fonts = db.families();
fontname_->insertStringList(fonts);
- fontname_->setCurrentItem(fonts.findIndex(TQString::fromLatin1("times")));
+ fontname_->setCurrentItem(fonts.findIndex(TQString::tqfromLatin1("times")));
if (fontname_->currentItem() < 0) fontname_->setCurrentItem(0);
QLabel *l1 = new TQLabel("Margin:",this);