diff options
Diffstat (limited to 'ksysv/OldView.cpp')
-rw-r--r-- | ksysv/OldView.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ksysv/OldView.cpp b/ksysv/OldView.cpp index 65c4002..d657684 100644 --- a/ksysv/OldView.cpp +++ b/ksysv/OldView.cpp @@ -572,7 +572,7 @@ void KSVContent::infoOnData (KSVItem* item) { KSVData oldState = *item->data(); KSVData newState = oldState; - KSVEntryPropertiesDialog* props = new KSVEntryPropertiesDialog (newState, kapp->mainWidget()); + KSVEntryPropertiesDialog* props = new KSVEntryPropertiesDialog (newState, tdeApp->mainWidget()); connect (props, TQ_SIGNAL (editService (const TQString&)), this, TQ_SLOT (editService (const TQString&))); @@ -714,7 +714,7 @@ void KSVContent::slotDoubleClick (TQListViewItem* item) { void KSVContent::slotScriptProperties(TQListViewItem* item) { KSVServicePropertiesDialog* prop = - new KSVServicePropertiesDialog (*static_cast<KSVItem*> (item)->data(), kapp->mainWidget()); + new KSVServicePropertiesDialog (*static_cast<KSVItem*> (item)->data(), tdeApp->mainWidget()); connect (prop, TQ_SIGNAL (editService (const TQString&)), this, TQ_SLOT (editService (const TQString&))); @@ -856,7 +856,7 @@ void KSVContent::pasteAppend() { KSVData data; - if (KSVDrag::decodeNative (kapp->clipboard()->data(), data)) + if (KSVDrag::decodeNative (tdeApp->clipboard()->data(), data)) { KSVAction* action = 0L; @@ -933,7 +933,7 @@ void KSVContent::multiplexEnabled (bool val) if ( !file->exists() ) { int choice = KMessageBox::warningYesNo - (kapp->mainWidget(), + (tdeApp->mainWidget(), i18n ("<p>You have specified that your system's init " \ "scripts are located in the folder " \ "<tt><b>%1</b></tt>, but this folder does not "\ @@ -948,9 +948,9 @@ void KSVContent::multiplexEnabled (bool val) "edit your system's init configuration.</p>" \ "<p>Would you like to reconfigure %4?</p>") .arg (config->scriptPath()) - .arg (kapp->aboutData()->programName()) - .arg (kapp->aboutData()->programName()) - .arg (kapp->aboutData()->programName()), + .arg (tdeApp->aboutData()->programName()) + .arg (tdeApp->aboutData()->programName()) + .arg (tdeApp->aboutData()->programName()), i18n("Folder Does Not Exist"),i18n("Reconfigure"),i18n("Do Not Reconfigure")); if ( choice == KMessageBox::Yes ) @@ -961,7 +961,7 @@ void KSVContent::multiplexEnabled (bool val) } else { - KMessageBox::information (kapp->mainWidget(), + KMessageBox::information (tdeApp->mainWidget(), i18n ("<p>You do not have the right permissions " \ "to edit your system's init configuration. " \ "However, you are free to browse the runlevels.</p>" \ @@ -972,8 +972,8 @@ void KSVContent::multiplexEnabled (bool val) "<em>suid</em> or <em>sgid</em>.</p>" \ "<p>The latter way is not recommended though, " \ "due to security issues.</p>") - .arg (kapp->aboutData()->programName()) - .arg (kapp->aboutData()->programName()), + .arg (tdeApp->aboutData()->programName()) + .arg (tdeApp->aboutData()->programName()), i18n("Insufficient Permissions"), ksv::notifications[ksv::RunlevelsReadOnly]); } @@ -1123,7 +1123,7 @@ void KSVContent::merge (TQValueList<KSVData>& list, KSVDragList* widget) emit undoAction (new AddAction (widget, item->data())); } - kapp->processEvents (); + tdeApp->processEvents (); } TQPtrList<KSVItem> deleteList; @@ -1140,11 +1140,11 @@ void KSVContent::merge (TQValueList<KSVData>& list, KSVDragList* widget) emit undoAction (new RemoveAction (widget, item->data())); } - kapp->processEvents (); + tdeApp->processEvents (); } widget->sort(); - kapp->processEvents(); + tdeApp->processEvents(); } #include "OldView.moc" |