summaryrefslogtreecommitdiffstats
path: root/src/gui/application/RosegardenGUIApp.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 21:46:40 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 21:46:40 -0600
commitacf699af8244896500e654cccdc8aae7e5b545db (patch)
tree9ddbc02f8dfa15b0f6090b909322b8ebde91e3bd /src/gui/application/RosegardenGUIApp.cpp
parent1d53865a04b4bcbab61f730bcbcc5452e9d04ce7 (diff)
downloadrosegarden-acf699af8244896500e654cccdc8aae7e5b545db.tar.gz
rosegarden-acf699af8244896500e654cccdc8aae7e5b545db.zip
Rename KStartup for enhanced compatibility with KDE4
Diffstat (limited to 'src/gui/application/RosegardenGUIApp.cpp')
-rw-r--r--src/gui/application/RosegardenGUIApp.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gui/application/RosegardenGUIApp.cpp b/src/gui/application/RosegardenGUIApp.cpp
index 1cc510c..9afa803 100644
--- a/src/gui/application/RosegardenGUIApp.cpp
+++ b/src/gui/application/RosegardenGUIApp.cpp
@@ -139,7 +139,7 @@
#include "gui/editors/segment/TriggerSegmentManager.h"
#include "gui/editors/tempo/TempoView.h"
#include "gui/general/EditViewBase.h"
-#include "gui/kdeext/KStartupLogo.h"
+#include "gui/kdeext/TDEStartupLogo.h"
#include "gui/kdeext/KTmpStatusMsg.h"
#include "gui/seqmanager/MidiFilterDialog.h"
#include "gui/seqmanager/SequenceManager.h"
@@ -312,7 +312,7 @@ RosegardenGUIApp::RosegardenGUIApp(bool useSequencer,
// If no connection to JACK
// try to launch JACK - if the configuration wants us to.
if (!launchJack()) {
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
KMessageBox::error(this, i18n("Attempted to launch JACK audio daemon failed. Audio will be disabled.\nPlease check configuration (Settings -> Configure Rosegarden -> Audio -> Startup)\n and restart."));
}
} else {
@@ -1441,7 +1441,7 @@ void RosegardenGUIApp::initView()
m_seqManager->setLoop(0, 0);
stateChanged("have_range", KXMLGUIClient::StateReverse);
} catch (TQString s) {
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
CurrentProgressDialog::freeze();
KMessageBox::error(this, s);
CurrentProgressDialog::thaw();
@@ -1715,13 +1715,13 @@ RosegardenGUIApp::createDocument(TQString filePath, ImportType importType)
if (!info.exists()) {
// can happen with command-line arg, so...
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
KMessageBox::sorry(this, i18n("File \"%1\" does not exist").arg(filePath));
return 0;
}
if (info.isDir()) {
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
KMessageBox::sorry(this, i18n("File \"%1\" is actually a directory"));
return 0;
}
@@ -1729,7 +1729,7 @@ RosegardenGUIApp::createDocument(TQString filePath, ImportType importType)
TQFile file(filePath);
if (!file.open(IO_ReadOnly)) {
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
TQString errStr =
i18n("You do not have read permission for \"%1\"").arg(filePath);
@@ -1795,7 +1795,7 @@ RosegardenGUIApp::createDocumentFromRGFile(TQString filePath)
// At this point the splash screen may still be there, hide it if
// it's the case
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
// It is, so ask the user if he wants to use the autosave file
int reply = KMessageBox::questionYesNo(this,
@@ -3709,7 +3709,7 @@ void RosegardenGUIApp::importProject(TQString filePath)
*proc << "--unpack";
*proc << filePath;
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
proc->start(TDEProcess::Block, TDEProcess::All);
if (!proc->normalExit() || proc->exitStatus()) {
@@ -3774,7 +3774,7 @@ RosegardenGUIApp::guessTextCodec(std::string text)
if (text[c] & 0x80) {
CurrentProgressDialog::freeze();
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
IdentifyTextCodecDialog dialog(0, text);
dialog.exec();
@@ -3862,7 +3862,7 @@ RosegardenGUIApp::createDocumentFromMIDIFile(TQString file)
MidiFile midiFile(fname,
&newDoc->getStudio());
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
ProgressDialog progressDlg(i18n("Importing MIDI file..."),
200,
this);
@@ -4021,7 +4021,7 @@ void RosegardenGUIApp::slotMergeRG21()
RosegardenGUIDoc*
RosegardenGUIApp::createDocumentFromRG21File(TQString file)
{
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
ProgressDialog progressDlg(
i18n("Importing Rosegarden 2.1 file..."), 100, this);
@@ -4108,7 +4108,7 @@ void RosegardenGUIApp::slotMergeHydrogen()
RosegardenGUIDoc*
RosegardenGUIApp::createDocumentFromHydrogenFile(TQString file)
{
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
ProgressDialog progressDlg(
i18n("Importing Hydrogen file..."), 100, this);
@@ -4835,7 +4835,7 @@ void RosegardenGUIApp::slotSequencerExited(TDEProcess*)
{
RG_DEBUG << "RosegardenGUIApp::slotSequencerExited Sequencer exited\n";
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
if (m_sequencerCheckedIn) {
@@ -6215,7 +6215,7 @@ RosegardenGUIApp::getArmedInstruments()
void
RosegardenGUIApp::showError(TQString error)
{
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
CurrentProgressDialog::freeze();
// This is principally used for return values from DSSI plugin
@@ -8037,7 +8037,7 @@ void
RosegardenGUIApp::slotNewerVersionAvailable(TQString v)
{
if (m_firstRun) return;
- KStartupLogo::hideIfStillThere();
+ TDEStartupLogo::hideIfStillThere();
CurrentProgressDialog::freeze();
awaitDialogClearance();
KMessageBox::information