summaryrefslogtreecommitdiffstats
path: root/src/gui/previewdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-02 06:40:27 +0000
commit2595a15ebeb6fc46b7cb241d01ec0c2460ec2111 (patch)
tree18a8f0f4ac5a86dacfa74c3537551ec39bc85e75 /src/gui/previewdialog.cpp
parent1d90725a4001fab9d3922b2cbcceeee5e2d1686f (diff)
downloadtellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.tar.gz
tellico-2595a15ebeb6fc46b7cb241d01ec0c2460ec2111.zip
TQt4 port tellico
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1239054 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gui/previewdialog.cpp')
-rw-r--r--src/gui/previewdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/previewdialog.cpp b/src/gui/previewdialog.cpp
index 4c0d8e1..856fcd0 100644
--- a/src/gui/previewdialog.cpp
+++ b/src/gui/previewdialog.cpp
@@ -22,16 +22,16 @@
using Tellico::GUI::PreviewDialog;
-PreviewDialog::PreviewDialog(QWidget* parent_)
- : KDialogBase(parent_, "template preview dialog", false /* modal */,
+PreviewDialog::PreviewDialog(TQWidget* tqparent_)
+ : KDialogBase(tqparent_, "template preview dialog", false /* modal */,
i18n("Template Preview"), KDialogBase::Ok)
, m_tempDir(new KTempDir()) {
m_tempDir->setAutoDelete(true);
- connect(this, SIGNAL(finished()), SLOT(delayedDestruct()));
+ connect(this, TQT_SIGNAL(finished()), TQT_SLOT(delayedDestruct()));
m_view = new EntryView(this);
setMainWidget(m_view->view());
- setInitialSize(QSize(600, 500));
+ setInitialSize(TQSize(600, 500));
}
PreviewDialog::~PreviewDialog() {
@@ -39,7 +39,7 @@ PreviewDialog::~PreviewDialog() {
m_tempDir = 0;
}
-void PreviewDialog::setXSLTFile(const QString& file_) {
+void PreviewDialog::setXSLTFile(const TQString& file_) {
m_view->setXSLTFile(file_);
}