From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kio/kfile/kpreviewprops.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kio/kfile/kpreviewprops.cpp') diff --git a/kio/kfile/kpreviewprops.cpp b/kio/kfile/kpreviewprops.cpp index 986e46597..7458fb244 100644 --- a/kio/kfile/kpreviewprops.cpp +++ b/kio/kfile/kpreviewprops.cpp @@ -19,7 +19,7 @@ #include "kpreviewprops.h" -#include +#include #include #include @@ -46,15 +46,15 @@ KPreviewPropsPlugin::KPreviewPropsPlugin(KPropertiesDialog* props) void KPreviewPropsPlugin::createLayout() { // let the dialog create the page frame - QFrame* topframe = properties->addPage(i18n("P&review")); - topframe->setFrameStyle(QFrame::NoFrame); + TQFrame* topframe = properties->addPage(i18n("P&review")); + topframe->setFrameStyle(TQFrame::NoFrame); - QVBoxLayout* tmp = new QVBoxLayout(topframe, 0, 0); + TQVBoxLayout* tmp = new TQVBoxLayout(topframe, 0, 0); preview = new KFileMetaPreview(topframe); tmp->addWidget(preview) ; - connect( properties, SIGNAL( aboutToShowPage( QWidget * ) ), SLOT( aboutToShowPage( QWidget* ) ) ); + connect( properties, TQT_SIGNAL( aboutToShowPage( TQWidget * ) ), TQT_SLOT( aboutToShowPage( TQWidget* ) ) ); } KPreviewPropsPlugin::~KPreviewPropsPlugin() @@ -77,12 +77,12 @@ bool KPreviewPropsPlugin::supports( KFileItemList _items ) return true; } -void KPreviewPropsPlugin::aboutToShowPage( QWidget* widget ) +void KPreviewPropsPlugin::aboutToShowPage( TQWidget* widget ) { if ( widget != preview->parent() ) return; - disconnect( properties, SIGNAL( aboutToShowPage( QWidget * ) ), this, SLOT( aboutToShowPage( QWidget* ) ) ); + disconnect( properties, TQT_SIGNAL( aboutToShowPage( TQWidget * ) ), this, TQT_SLOT( aboutToShowPage( TQWidget* ) ) ); preview->showPreview(properties->item()->url()); } -- cgit v1.2.1