summaryrefslogtreecommitdiffstats
path: root/filesharing/advanced/propsdlgplugin/propsdlgshareplugin.cpp
diff options
context:
space:
mode:
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;