From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../propsdlgplugin/propsdlgshareplugin.cpp | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp') diff --git a/filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp b/filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp index b5a2ef26..fafb4ece 100644 --- a/filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp +++ b/filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp @@ -16,10 +16,10 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include -#include -#include -#include +#include +#include +#include +#include #include #include @@ -46,7 +46,7 @@ class PropsDlgSharePlugin::Private }; PropsDlgSharePlugin::PropsDlgSharePlugin( KPropertiesDialog *dlg, - const char *, const QStringList & ) + const char *, const TQStringList & ) : KPropsDlgPlugin(dlg), d(0) { KGlobal::locale()->insertCatalogue("kfileshare"); @@ -57,30 +57,30 @@ PropsDlgSharePlugin::PropsDlgSharePlugin( KPropertiesDialog *dlg, } - QVBox* vbox = properties->addVBoxPage(i18n("&Share")); + TQVBox* vbox = properties->addVBoxPage(i18n("&Share")); properties->setFileSharingPage(vbox); if (KFileShare::authorization() == KFileShare::UserNotAllowed) { - QWidget* widget = new QWidget( vbox ); - QVBoxLayout * vLayout = new QVBoxLayout( widget ); + TQWidget* widget = new TQWidget( vbox ); + TQVBoxLayout * vLayout = new TQVBoxLayout( widget ); vLayout->setSpacing( KDialog::spacingHint() ); vLayout->setMargin( 0 ); if (KFileShare::sharingEnabled()) { vLayout->addWidget( - new QLabel( i18n("You need to be authorized to share directories."), + new TQLabel( i18n("You need to be authorized to share directories."), widget )); } else { vLayout->addWidget( - new QLabel( i18n("File sharing is disabled."), widget)); + new TQLabel( i18n("File sharing is disabled."), widget)); } KPushButton* btn = new KPushButton( i18n("Configure File Sharing..."), widget ); - connect( btn, SIGNAL( clicked() ), SLOT( slotConfigureFileSharing() ) ); + connect( btn, TQT_SIGNAL( clicked() ), TQT_SLOT( slotConfigureFileSharing() ) ); btn->setDefault(false); - QHBoxLayout* hBox = new QHBoxLayout( (QWidget *)0L ); + TQHBoxLayout* hBox = new TQHBoxLayout( (TQWidget *)0L ); hBox->addWidget( btn, 0, Qt::AlignLeft ); vLayout->addLayout(hBox); vLayout->addStretch( 10 ); // align items on top @@ -91,8 +91,8 @@ PropsDlgSharePlugin::PropsDlgSharePlugin( KPropertiesDialog *dlg, d = new Private(); d->page = new PropertiesPage(vbox, properties->items(),false); - connect(d->page, SIGNAL(changed()), - this, SIGNAL(changed())); + connect(d->page, TQT_SIGNAL(changed()), + this, TQT_SIGNAL(changed())); kdDebug(5009) << "Fileshare properties dialog plugin loaded" << endl; -- cgit v1.2.1