summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp')
-rw-r--r--filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp28
1 files changed, 14 insertions, 14 deletions
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 <qstring.h>
-#include <qvbox.h>
-#include <qlayout.h>
-#include <qlabel.h>
+#include <tqstring.h>
+#include <tqvbox.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
#include <kgenericfactory.h>
#include <kdebug.h>
@@ -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;