diff options
Diffstat (limited to 'src/gui/editors/notation/NotationView.cpp')
-rw-r--r-- | src/gui/editors/notation/NotationView.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/gui/editors/notation/NotationView.cpp b/src/gui/editors/notation/NotationView.cpp index 7c9f498..4a8fd00 100644 --- a/src/gui/editors/notation/NotationView.cpp +++ b/src/gui/editors/notation/NotationView.cpp @@ -511,7 +511,7 @@ NotationView::NotationView(RosegardenGUIDoc *doc, m_headersTopFrame = new TQFrame(getCentralWidget()); TQGridLayout * headersTopGrid = new TQGridLayout(m_headersTopFrame, 2, 2); - TQString pixmapDir = KGlobal::dirs()->findResource("appdata", "pixmaps/"); + TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/"); TQCanvasPixmap pixmap(pixmapDir + "/misc/close.xpm"); TQPushButton * hideHeadersButton = new TQPushButton(m_headersTopFrame); @@ -1335,7 +1335,7 @@ void NotationView::positionPages() m_config->setGroup(NotationViewConfigGroup); if (m_config->readBoolEntry("backgroundtextures", true)) { TQString pixmapDir = - KGlobal::dirs()->findResource("appdata", "pixmaps/"); + TDEGlobal::dirs()->findResource("appdata", "pixmaps/"); if (background.load(TQString("%1/misc/bg-paper-cream.xpm"). arg(pixmapDir))) { haveBackground = true; @@ -1818,7 +1818,7 @@ void NotationView::setupActions() // int layoutMode = m_config->readNumEntry("layoutmode", 0); - TQString pixmapDir = KGlobal::dirs()->findResource("appdata", "pixmaps/"); + TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/"); TQCanvasPixmap pixmap(pixmapDir + "/toolbar/linear-layout.xpm"); icon = TQIconSet(pixmap); @@ -2466,7 +2466,7 @@ void NotationView::setupActions() "clear_selection"); // TQString pixmapDir = - // KGlobal::dirs()->findResource("appdata", "pixmaps/"); + // TDEGlobal::dirs()->findResource("appdata", "pixmaps/"); // icon = TQIconSet(TQCanvasPixmap(pixmapDir + "/toolbar/eventfilter.xpm")); new KAction(i18n("&Filter Selection"), "filter", Key_F + CTRL, TQT_TQOBJECT(this), TQT_SLOT(slotFilterSelection()), actionCollection(), @@ -4640,7 +4640,7 @@ NotationView::slotFilePrintPreview() printingView.print(true); } -std::map<KProcess *, KTempFile *> NotationView::m_lilyTempFileMap; +std::map<TDEProcess *, KTempFile *> NotationView::m_lilyTempFileMap; void NotationView::slotPrintLilyPond() { @@ -4655,15 +4655,15 @@ void NotationView::slotPrintLilyPond() if (!exportLilyPondFile(file->name(), true)) { return ; } - KProcess *proc = new KProcess; + TDEProcess *proc = new TDEProcess; *proc << "rosegarden-lilypondview"; *proc << "--graphical"; *proc << "--print"; *proc << file->name(); - connect(proc, TQT_SIGNAL(processExited(KProcess *)), - this, TQT_SLOT(slotLilyPondViewProcessExited(KProcess *))); + connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), + this, TQT_SLOT(slotLilyPondViewProcessExited(TDEProcess *))); m_lilyTempFileMap[proc] = file; - proc->start(KProcess::NotifyOnExit); + proc->start(TDEProcess::NotifyOnExit); } void NotationView::slotPreviewLilyPond() @@ -4679,18 +4679,18 @@ void NotationView::slotPreviewLilyPond() if (!exportLilyPondFile(file->name(), true)) { return ; } - KProcess *proc = new KProcess; + TDEProcess *proc = new TDEProcess; *proc << "rosegarden-lilypondview"; *proc << "--graphical"; *proc << "--pdf"; *proc << file->name(); - connect(proc, TQT_SIGNAL(processExited(KProcess *)), - this, TQT_SLOT(slotLilyPondViewProcessExited(KProcess *))); + connect(proc, TQT_SIGNAL(processExited(TDEProcess *)), + this, TQT_SLOT(slotLilyPondViewProcessExited(TDEProcess *))); m_lilyTempFileMap[proc] = file; - proc->start(KProcess::NotifyOnExit); + proc->start(TDEProcess::NotifyOnExit); } -void NotationView::slotLilyPondViewProcessExited(KProcess *p) +void NotationView::slotLilyPondViewProcessExited(TDEProcess *p) { delete m_lilyTempFileMap[p]; m_lilyTempFileMap.erase(p); |