diff options
Diffstat (limited to 'ksysv/Properties.cpp')
-rw-r--r-- | ksysv/Properties.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/ksysv/Properties.cpp b/ksysv/Properties.cpp index 62f4a65..bab4d44 100644 --- a/ksysv/Properties.cpp +++ b/ksysv/Properties.cpp @@ -21,9 +21,9 @@ #include "Data.h" #include "Properties.h" -KSVServicePropertiesDialog::KSVServicePropertiesDialog (KSVData& data, TQWidget* parent) +KSVServicePropertiesDialog::KSVServicePropertiesDialog (KSVData& data, TQWidget* tqparent) : KPropertiesDialog (KURL(data.filenameAndPath()), - parent, "KSVServicePropertiesDialog", true, false), + tqparent, "KSVServicePropertiesDialog", true, false), mData (data) { KSVServicesPage* page = new KSVServicesPage (data, this); @@ -48,13 +48,13 @@ KSVServicesPage::KSVServicesPage (KSVData& data, KPropertiesDialog* props) desc->setSpacing (1); TQLabel* label = new TQLabel(i18n("Description:"), desc); - label->setFixedHeight (label->sizeHint().height()); + label->setFixedHeight (label->tqsizeHint().height()); TQString text; ksv::getServiceDescription (data.filename(), text); - mDesc = new TQTextView (TQString("<p>%1</p>").arg (text), TQString::null, desc); + mDesc = new TQTextView (TQString("<p>%1</p>").arg (text), TQString(), desc); - TQButtonGroup* buttons = new TQButtonGroup (1, Vertical, i18n ("Actions"), mPage); + TQButtonGroup* buttons = new TQButtonGroup (1,Qt::Vertical, i18n ("Actions"), mPage); TQPushButton* b = new TQPushButton (i18n ("&Edit"), buttons); connect (b, TQT_SIGNAL (clicked()), props, TQT_SLOT (doEdit())); @@ -100,8 +100,8 @@ void KSVServicePropertiesDialog::doRestart () } -KSVEntryPropertiesDialog::KSVEntryPropertiesDialog (KSVData& data, TQWidget* parent) - : KPropertiesDialog (data.label(), parent, "KSVEntryPropertiesDialog", true), +KSVEntryPropertiesDialog::KSVEntryPropertiesDialog (KSVData& data, TQWidget* tqparent) + : KPropertiesDialog (data.label(), tqparent, "KSVEntryPropertiesDialog", true), mData (data) { KSVEntryPage* page1 = new KSVEntryPage (data, this); |