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 /kio/kfile/kpreviewprops.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 'kio/kfile/kpreviewprops.cpp')
-rw-r--r-- | kio/kfile/kpreviewprops.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
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 <qlayout.h> +#include <tqlayout.h> #include <kfilemetapreview.h> #include <kglobalsettings.h> @@ -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()); } |