summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editors/segment')
-rw-r--r--src/gui/editors/segment/ControlEditorDialog.cpp4
-rw-r--r--src/gui/editors/segment/MarkerEditor.cpp22
-rw-r--r--src/gui/editors/segment/TrackEditor.cpp4
-rw-r--r--src/gui/editors/segment/TriggerSegmentManager.cpp22
-rw-r--r--src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp2
-rw-r--r--src/gui/editors/segment/segmentcanvas/CompositionView.cpp8
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp4
7 files changed, 33 insertions, 33 deletions
diff --git a/src/gui/editors/segment/ControlEditorDialog.cpp b/src/gui/editors/segment/ControlEditorDialog.cpp
index 3c1fcd3..abc6564 100644
--- a/src/gui/editors/segment/ControlEditorDialog.cpp
+++ b/src/gui/editors/segment/ControlEditorDialog.cpp
@@ -115,7 +115,7 @@ ControlEditorDialog::ControlEditorDialog(TQWidget *parent,
for (int i = 1; i < 9; ++i)
m_listView->setColumnAlignment(i, TQt::AlignHCenter);
- m_listView->restoreLayout(kapp->config(), ControlEditorConfigGroup);
+ m_listView->restoreLayout(tdeApp->config(), ControlEditorConfigGroup);
TQFrame* btnBox = new TQFrame(mainFrame);
@@ -178,7 +178,7 @@ ControlEditorDialog::~ControlEditorDialog()
{
RG_DEBUG << "\n*** ControlEditorDialog::~ControlEditorDialog\n" << endl;
- m_listView->saveLayout(kapp->config(), ControlEditorConfigGroup);
+ m_listView->saveLayout(tdeApp->config(), ControlEditorConfigGroup);
if (m_doc)
m_doc->getCommandHistory()->detachView(actionCollection());
diff --git a/src/gui/editors/segment/MarkerEditor.cpp b/src/gui/editors/segment/MarkerEditor.cpp
index 3be2998..4bd649c 100644
--- a/src/gui/editors/segment/MarkerEditor.cpp
+++ b/src/gui/editors/segment/MarkerEditor.cpp
@@ -223,7 +223,7 @@ MarkerEditor::~MarkerEditor()
{
RG_DEBUG << "MarkerEditor::~MarkerEditor" << endl;
- m_listView->saveLayout(kapp->config(), MarkerEditorConfigGroup);
+ m_listView->saveLayout(tdeApp->config(), MarkerEditorConfigGroup);
if (m_doc)
m_doc->getCommandHistory()->detachView(actionCollection());
@@ -252,8 +252,8 @@ MarkerEditor::slotUpdate()
Composition::markerconstiterator it;
- kapp->config()->setGroup(MarkerEditorConfigGroup);
- int timeMode = kapp->config()->readNumEntry("timemode", 0);
+ tdeApp->config()->setGroup(MarkerEditorConfigGroup);
+ int timeMode = tdeApp->config()->readNumEntry("timemode", 0);
for (it = markers.begin(); it != markers.end(); ++it) {
TQString timeString = makeTimeString((*it)->getTime(), timeMode);
@@ -386,8 +386,8 @@ MarkerEditor::setupActions()
KStdAction::stdName(KStdAction::Redo));
TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/");
- kapp->config()->setGroup(MarkerEditorConfigGroup);
- int timeMode = kapp->config()->readNumEntry("timemode", 0);
+ tdeApp->config()->setGroup(MarkerEditorConfigGroup);
+ int timeMode = tdeApp->config()->readNumEntry("timemode", 0);
TDERadioAction *action;
@@ -567,24 +567,24 @@ MarkerEditor::makeTimeString(timeT time, int timeMode)
void
MarkerEditor::slotMusicalTime()
{
- kapp->config()->setGroup(MarkerEditorConfigGroup);
- kapp->config()->writeEntry("timemode", 0);
+ tdeApp->config()->setGroup(MarkerEditorConfigGroup);
+ tdeApp->config()->writeEntry("timemode", 0);
slotUpdate();
}
void
MarkerEditor::slotRealTime()
{
- kapp->config()->setGroup(MarkerEditorConfigGroup);
- kapp->config()->writeEntry("timemode", 1);
+ tdeApp->config()->setGroup(MarkerEditorConfigGroup);
+ tdeApp->config()->writeEntry("timemode", 1);
slotUpdate();
}
void
MarkerEditor::slotRawTime()
{
- kapp->config()->setGroup(MarkerEditorConfigGroup);
- kapp->config()->writeEntry("timemode", 2);
+ tdeApp->config()->setGroup(MarkerEditorConfigGroup);
+ tdeApp->config()->writeEntry("timemode", 2);
slotUpdate();
}
diff --git a/src/gui/editors/segment/TrackEditor.cpp b/src/gui/editors/segment/TrackEditor.cpp
index 9a76cda..d44112f 100644
--- a/src/gui/editors/segment/TrackEditor.cpp
+++ b/src/gui/editors/segment/TrackEditor.cpp
@@ -169,8 +169,8 @@ TrackEditor::init(TQWidget* rosegardenguiview)
m_segmentCanvas = new CompositionView(m_doc, m_compositionModel, this);
- kapp->config()->setGroup(GeneralOptionsConfigGroup);
- if (kapp->config()->readBoolEntry("backgroundtextures", true)) {
+ tdeApp->config()->setGroup(GeneralOptionsConfigGroup);
+ if (tdeApp->config()->readBoolEntry("backgroundtextures", true)) {
TQPixmap background;
TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/");
if (background.load(TQString("%1/misc/bg-segmentcanvas.xpm").
diff --git a/src/gui/editors/segment/TriggerSegmentManager.cpp b/src/gui/editors/segment/TriggerSegmentManager.cpp
index d086a18..55f1c5b 100644
--- a/src/gui/editors/segment/TriggerSegmentManager.cpp
+++ b/src/gui/editors/segment/TriggerSegmentManager.cpp
@@ -174,7 +174,7 @@ TriggerSegmentManager::~TriggerSegmentManager()
{
RG_DEBUG << "TriggerSegmentManager::~TriggerSegmentManager" << endl;
- m_listView->saveLayout(kapp->config(), TriggerManagerConfigGroup);
+ m_listView->saveLayout(tdeApp->config(), TriggerManagerConfigGroup);
if (m_doc)
m_doc->getCommandHistory()->detachView(actionCollection());
@@ -203,8 +203,8 @@ TriggerSegmentManager::slotUpdate()
Composition::triggersegmentcontainerconstiterator it;
- kapp->config()->setGroup(TriggerManagerConfigGroup);
- int timeMode = kapp->config()->readNumEntry("timemode", 0);
+ tdeApp->config()->setGroup(TriggerManagerConfigGroup);
+ int timeMode = tdeApp->config()->readNumEntry("timemode", 0);
int i = 0;
@@ -399,8 +399,8 @@ TriggerSegmentManager::setupActions()
TQ_SLOT(slotPasteAsNew()), actionCollection(),
"paste_to_trigger_segment");
- kapp->config()->setGroup(TriggerManagerConfigGroup);
- int timeMode = kapp->config()->readNumEntry("timemode", 0);
+ tdeApp->config()->setGroup(TriggerManagerConfigGroup);
+ int timeMode = tdeApp->config()->readNumEntry("timemode", 0);
TDERadioAction *action;
@@ -549,24 +549,24 @@ TriggerSegmentManager::makeDurationString(timeT time,
void
TriggerSegmentManager::slotMusicalTime()
{
- kapp->config()->setGroup(TriggerManagerConfigGroup);
- kapp->config()->writeEntry("timemode", 0);
+ tdeApp->config()->setGroup(TriggerManagerConfigGroup);
+ tdeApp->config()->writeEntry("timemode", 0);
slotUpdate();
}
void
TriggerSegmentManager::slotRealTime()
{
- kapp->config()->setGroup(TriggerManagerConfigGroup);
- kapp->config()->writeEntry("timemode", 1);
+ tdeApp->config()->setGroup(TriggerManagerConfigGroup);
+ tdeApp->config()->writeEntry("timemode", 1);
slotUpdate();
}
void
TriggerSegmentManager::slotRawTime()
{
- kapp->config()->setGroup(TriggerManagerConfigGroup);
- kapp->config()->writeEntry("timemode", 2);
+ tdeApp->config()->setGroup(TriggerManagerConfigGroup);
+ tdeApp->config()->writeEntry("timemode", 2);
slotUpdate();
}
diff --git a/src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp b/src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp
index 0400f8f..7b4d773 100644
--- a/src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp
+++ b/src/gui/editors/segment/segmentcanvas/AudioPreviewPainter.cpp
@@ -144,7 +144,7 @@ void AudioPreviewPainter::paintPreviewImage()
haveTempoChange = true;
}
- TDEConfig* config = kapp->config();
+ TDEConfig* config = tdeApp->config();
config->setGroup(GeneralOptionsConfigGroup);
bool meterLevels = (config->readUnsignedNumEntry("audiopreviewstyle", 1)
diff --git a/src/gui/editors/segment/segmentcanvas/CompositionView.cpp b/src/gui/editors/segment/segmentcanvas/CompositionView.cpp
index 0e055a2..3bad3ca 100644
--- a/src/gui/editors/segment/segmentcanvas/CompositionView.cpp
+++ b/src/gui/editors/segment/segmentcanvas/CompositionView.cpp
@@ -1328,8 +1328,8 @@ bool CompositionView::event(TQEvent* e)
void CompositionView::enterEvent(TQEvent *e)
{
- kapp->config()->setGroup(GeneralOptionsConfigGroup);
- if (!kapp->config()->readBoolEntry("toolcontexthelp", true)) return;
+ tdeApp->config()->setGroup(GeneralOptionsConfigGroup);
+ if (!tdeApp->config()->readBoolEntry("toolcontexthelp", true)) return;
emit showContextHelp(m_toolContextHelp);
m_contextHelpShown = true;
@@ -1346,8 +1346,8 @@ void CompositionView::slotToolHelpChanged(const TQString &text)
if (m_toolContextHelp == text) return;
m_toolContextHelp = text;
- kapp->config()->setGroup(GeneralOptionsConfigGroup);
- if (!kapp->config()->readBoolEntry("toolcontexthelp", true)) return;
+ tdeApp->config()->setGroup(GeneralOptionsConfigGroup);
+ if (!tdeApp->config()->readBoolEntry("toolcontexthelp", true)) return;
if (m_contextHelpShown) emit showContextHelp(text);
}
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp b/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp
index a15a6c9..335bab4 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp
@@ -479,8 +479,8 @@ SegmentSelector::handleMouseMove(TQMouseEvent *e)
void SegmentSelector::setContextHelpFor(TQPoint p, bool ctrlPressed)
{
- kapp->config()->setGroup(GeneralOptionsConfigGroup);
- if (!kapp->config()->readBoolEntry("toolcontexthelp", true)) return;
+ tdeApp->config()->setGroup(GeneralOptionsConfigGroup);
+ if (!tdeApp->config()->readBoolEntry("toolcontexthelp", true)) return;
CompositionItem item = m_canvas->getFirstItemAt(p);