summaryrefslogtreecommitdiffstats
path: root/src/gui/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/AudioManagerDialog.cpp2
-rw-r--r--src/gui/dialogs/ConfigureDialog.cpp4
-rw-r--r--src/gui/dialogs/DocumentConfigureDialog.cpp4
-rw-r--r--src/gui/dialogs/LilyPondOptionsDialog.cpp4
-rw-r--r--src/gui/dialogs/TransportDialog.cpp2
5 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/dialogs/AudioManagerDialog.cpp b/src/gui/dialogs/AudioManagerDialog.cpp
index e9a0f7c..14e727d 100644
--- a/src/gui/dialogs/AudioManagerDialog.cpp
+++ b/src/gui/dialogs/AudioManagerDialog.cpp
@@ -126,7 +126,7 @@ AudioManagerDialog::AudioManagerDialog(TQWidget *parent,
m_wrongSampleRates = new TQLabel(i18n("* Some audio files are encoded at a sample rate different from that of the JACK audio server.\nRosegarden will play them at the correct speed, but they will sound terrible.\nPlease consider resampling such files externally, or adjusting the sample rate of the JACK server."), box);
m_wrongSampleRates->hide();
- TQString pixmapDir = KGlobal::dirs()->findResource("appdata", "pixmaps/");
+ TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/");
TQIconSet icon(TQPixmap(pixmapDir + "/toolbar/transport-play.xpm"));
new KAction(i18n("&Add Audio File..."), "fileopen", 0, TQT_TQOBJECT(this),
diff --git a/src/gui/dialogs/ConfigureDialog.cpp b/src/gui/dialogs/ConfigureDialog.cpp
index db00fdc..cbb3b56 100644
--- a/src/gui/dialogs/ConfigureDialog.cpp
+++ b/src/gui/dialogs/ConfigureDialog.cpp
@@ -45,7 +45,7 @@ namespace Rosegarden
static TQPixmap loadIcon(const char *name)
{
- TQString pixmapDir = KGlobal::dirs()->findResource("appdata", "pixmaps/");
+ TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/");
TQString fileBase = pixmapDir + "/misc/";
fileBase += name;
if (TQFile(fileBase + ".png").exists()) {
@@ -53,7 +53,7 @@ static TQPixmap loadIcon(const char *name)
} else if (TQFile(fileBase + ".xpm").exists()) {
return TQPixmap(fileBase + ".xpm");
}
- TQPixmap pmap = KGlobal::instance()->iconLoader()
+ TQPixmap pmap = TDEGlobal::instance()->iconLoader()
->loadIcon(TQString::fromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium);
return pmap;
}
diff --git a/src/gui/dialogs/DocumentConfigureDialog.cpp b/src/gui/dialogs/DocumentConfigureDialog.cpp
index b235078..52d5e5f 100644
--- a/src/gui/dialogs/DocumentConfigureDialog.cpp
+++ b/src/gui/dialogs/DocumentConfigureDialog.cpp
@@ -43,7 +43,7 @@ namespace Rosegarden
{
static TQPixmap loadIcon(const char *name)
{
- TQString pixmapDir = KGlobal::dirs()->findResource("appdata", "pixmaps/");
+ TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/");
TQString fileBase = pixmapDir + "/misc/";
fileBase += name;
if (TQFile(fileBase + ".png").exists()) {
@@ -52,7 +52,7 @@ static TQPixmap loadIcon(const char *name)
return TQPixmap(fileBase + ".xpm");
}
- TQPixmap pmap = KGlobal::instance()->iconLoader()
+ TQPixmap pmap = TDEGlobal::instance()->iconLoader()
->loadIcon(TQString::fromLatin1(name), KIcon::NoGroup, KIcon::SizeMedium);
return pmap;
}
diff --git a/src/gui/dialogs/LilyPondOptionsDialog.cpp b/src/gui/dialogs/LilyPondOptionsDialog.cpp
index f8e1efb..4eda3fe 100644
--- a/src/gui/dialogs/LilyPondOptionsDialog.cpp
+++ b/src/gui/dialogs/LilyPondOptionsDialog.cpp
@@ -135,8 +135,8 @@ LilyPondOptionsDialog::LilyPondOptionsDialog(TQWidget *parent,
m_lilyPaperSize->insertItem(i18n("Tabloid"));
m_lilyPaperSize->insertItem(i18n("do not specify"));
int defaultPaperSize = 1; // A4
- if (KGlobal::locale()->country() == "us" ||
- KGlobal::locale()->country() == "US") defaultPaperSize = 5; // Letter
+ if (TDEGlobal::locale()->country() == "us" ||
+ TDEGlobal::locale()->country() == "US") defaultPaperSize = 5; // Letter
m_lilyPaperSize->setCurrentItem(config->readUnsignedNumEntry
("lilypapersize", defaultPaperSize));
diff --git a/src/gui/dialogs/TransportDialog.cpp b/src/gui/dialogs/TransportDialog.cpp
index f3fdd70..af19b79 100644
--- a/src/gui/dialogs/TransportDialog.cpp
+++ b/src/gui/dialogs/TransportDialog.cpp
@@ -341,7 +341,7 @@ TransportDialog::loadPixmaps()
{
m_lcdList.clear();
TQString fileName;
- TQString pixmapDir = KGlobal::dirs()->findResource("appdata", "pixmaps/");
+ TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/");
for (int i = 0; i < 10; i++) {
fileName = TQString("%1/transport/led-%2.xpm").arg(pixmapDir).arg(i);