summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/application/RosegardenApplication.cpp4
-rw-r--r--src/gui/application/RosegardenGUIApp.cpp8
-rw-r--r--src/gui/application/RosegardenGUIApp.cpp.orig8
-rw-r--r--src/gui/application/RosegardenGUIView.cpp4
-rw-r--r--src/gui/application/main.cpp6
-rw-r--r--src/gui/configuration/AudioConfigurationPage.cpp2
-rw-r--r--src/gui/configuration/AudioConfigurationPage.h2
-rw-r--r--src/gui/configuration/AudioPropertiesPage.h2
-rw-r--r--src/gui/configuration/ColourConfigurationPage.h2
-rw-r--r--src/gui/configuration/DocumentMetaConfigurationPage.h2
-rw-r--r--src/gui/configuration/GeneralConfigurationPage.cpp2
-rw-r--r--src/gui/configuration/GeneralConfigurationPage.h2
-rw-r--r--src/gui/configuration/HeadersConfigurationPage.cpp2
-rw-r--r--src/gui/configuration/LatencyConfigurationPage.h2
-rw-r--r--src/gui/configuration/MIDIConfigurationPage.h2
-rw-r--r--src/gui/configuration/MatrixConfigurationPage.h2
-rw-r--r--src/gui/configuration/NotationConfigurationPage.cpp2
-rw-r--r--src/gui/configuration/NotationConfigurationPage.h2
-rw-r--r--src/gui/dialogs/AddTracksDialog.cpp2
-rw-r--r--src/gui/dialogs/AudioManagerDialog.cpp6
-rw-r--r--src/gui/dialogs/AudioPlayingDialog.cpp2
-rw-r--r--src/gui/dialogs/AudioPluginDialog.cpp2
-rw-r--r--src/gui/dialogs/AudioSplitDialog.cpp2
-rw-r--r--src/gui/dialogs/BeatsBarsDialog.cpp2
-rw-r--r--src/gui/dialogs/ClefDialog.cpp2
-rw-r--r--src/gui/dialogs/CompositionLengthDialog.cpp2
-rw-r--r--src/gui/dialogs/ConfigureDialog.cpp2
-rw-r--r--src/gui/dialogs/ConfigureDialogBase.cpp2
-rw-r--r--src/gui/dialogs/CountdownDialog.cpp2
-rw-r--r--src/gui/dialogs/DocumentConfigureDialog.cpp2
-rw-r--r--src/gui/dialogs/EventEditDialog.cpp4
-rw-r--r--src/gui/dialogs/EventFilterDialog.cpp2
-rw-r--r--src/gui/dialogs/EventParameterDialog.cpp2
-rw-r--r--src/gui/dialogs/ExportDeviceDialog.cpp2
-rw-r--r--src/gui/dialogs/FileLocateDialog.cpp2
-rw-r--r--src/gui/dialogs/FileMergeDialog.cpp2
-rw-r--r--src/gui/dialogs/IdentifyTextCodecDialog.cpp2
-rw-r--r--src/gui/dialogs/ImportDeviceDialog.cpp4
-rw-r--r--src/gui/dialogs/InterpretDialog.cpp2
-rw-r--r--src/gui/dialogs/IntervalDialog.cpp2
-rw-r--r--src/gui/dialogs/KeySignatureDialog.cpp2
-rw-r--r--src/gui/dialogs/LilyPondOptionsDialog.cpp4
-rw-r--r--src/gui/dialogs/LyricEditDialog.cpp2
-rw-r--r--src/gui/dialogs/MakeOrnamentDialog.cpp2
-rw-r--r--src/gui/dialogs/ManageMetronomeDialog.cpp2
-rw-r--r--src/gui/dialogs/MarkerModifyDialog.cpp2
-rw-r--r--src/gui/dialogs/PasteNotationDialog.cpp2
-rw-r--r--src/gui/dialogs/PitchDialog.cpp2
-rw-r--r--src/gui/dialogs/PitchPickerDialog.cpp2
-rw-r--r--src/gui/dialogs/QuantizeDialog.cpp2
-rw-r--r--src/gui/dialogs/RescaleDialog.cpp2
-rw-r--r--src/gui/dialogs/ShowSequencerStatusDialog.cpp2
-rw-r--r--src/gui/dialogs/SimpleEventEditDialog.cpp2
-rw-r--r--src/gui/dialogs/SplitByPitchDialog.cpp2
-rw-r--r--src/gui/dialogs/SplitByRecordingSrcDialog.cpp2
-rw-r--r--src/gui/dialogs/TempoDialog.cpp2
-rw-r--r--src/gui/dialogs/TextEventDialog.cpp2
-rw-r--r--src/gui/dialogs/TimeDialog.cpp2
-rw-r--r--src/gui/dialogs/TimeSignatureDialog.cpp2
-rw-r--r--src/gui/dialogs/TransportDialog.cpp4
-rw-r--r--src/gui/dialogs/TriggerSegmentDialog.cpp2
-rw-r--r--src/gui/dialogs/TupletDialog.cpp2
-rw-r--r--src/gui/dialogs/UnusedAudioSelectionDialog.cpp2
-rw-r--r--src/gui/dialogs/UseOrnamentDialog.cpp2
-rw-r--r--src/gui/editors/eventlist/EventView.cpp4
-rw-r--r--src/gui/editors/guitar/Fingering.cpp2
-rw-r--r--src/gui/editors/guitar/GuitarChordEditorDialog.cpp4
-rw-r--r--src/gui/editors/guitar/GuitarChordSelectorDialog.cpp4
-rw-r--r--src/gui/editors/matrix/MatrixEraser.cpp4
-rw-r--r--src/gui/editors/matrix/MatrixMover.cpp4
-rw-r--r--src/gui/editors/matrix/MatrixPainter.cpp4
-rw-r--r--src/gui/editors/matrix/MatrixResizer.cpp4
-rw-r--r--src/gui/editors/matrix/MatrixSelector.cpp4
-rw-r--r--src/gui/editors/matrix/MatrixToolBox.cpp2
-rw-r--r--src/gui/editors/matrix/MatrixView.cpp6
-rw-r--r--src/gui/editors/notation/ClefInserter.cpp2
-rw-r--r--src/gui/editors/notation/FontViewFrame.cpp4
-rw-r--r--src/gui/editors/notation/GuitarChordInserter.cpp2
-rw-r--r--src/gui/editors/notation/NotationEraser.cpp2
-rw-r--r--src/gui/editors/notation/NotationSelectionPaster.cpp2
-rw-r--r--src/gui/editors/notation/NotationSelector.cpp2
-rw-r--r--src/gui/editors/notation/NotationStaff.cpp4
-rw-r--r--src/gui/editors/notation/NotationStrings.cpp2
-rw-r--r--src/gui/editors/notation/NotationToolBox.cpp2
-rw-r--r--src/gui/editors/notation/NotationVLayout.cpp4
-rw-r--r--src/gui/editors/notation/NotationView.cpp8
-rw-r--r--src/gui/editors/notation/NotationView.h2
-rw-r--r--src/gui/editors/notation/NoteFontFactory.cpp6
-rw-r--r--src/gui/editors/notation/NoteFontMap.cpp4
-rw-r--r--src/gui/editors/notation/NoteFontViewer.cpp2
-rw-r--r--src/gui/editors/notation/NoteInserter.cpp2
-rw-r--r--src/gui/editors/notation/NotePixmapFactory.cpp6
-rw-r--r--src/gui/editors/notation/NoteStyleFactory.cpp2
-rw-r--r--src/gui/editors/notation/NoteStyleFileReader.cpp4
-rw-r--r--src/gui/editors/notation/RestInserter.cpp2
-rw-r--r--src/gui/editors/notation/TextInserter.cpp2
-rw-r--r--src/gui/editors/notation/TrackHeader.cpp2
-rw-r--r--src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp2
-rw-r--r--src/gui/editors/parameters/InstrumentParameterBox.cpp2
-rw-r--r--src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp2
-rw-r--r--src/gui/editors/parameters/RosegardenParameterBox.h2
-rw-r--r--src/gui/editors/parameters/SegmentParameterBox.cpp2
-rw-r--r--src/gui/editors/parameters/TrackParameterBox.cpp4
-rw-r--r--src/gui/editors/segment/ControlEditorDialog.cpp2
-rw-r--r--src/gui/editors/segment/ControlParameterEditDialog.cpp2
-rw-r--r--src/gui/editors/segment/MarkerEditor.cpp4
-rw-r--r--src/gui/editors/segment/PlayList.cpp4
-rw-r--r--src/gui/editors/segment/PlayListView.cpp2
-rw-r--r--src/gui/editors/segment/TrackButtons.cpp6
-rw-r--r--src/gui/editors/segment/TrackEditor.cpp6
-rw-r--r--src/gui/editors/segment/TrackLabel.cpp2
-rw-r--r--src/gui/editors/segment/TriggerSegmentManager.cpp6
-rw-r--r--src/gui/editors/segment/segmentcanvas/CompositionView.cpp2
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentEraser.cpp2
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentJoiner.cpp2
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentMover.cpp4
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentOrderer.cpp2
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentPencil.cpp2
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp4
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp2
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp2
-rw-r--r--src/gui/editors/segment/segmentcanvas/SegmentToolBox.cpp2
-rw-r--r--src/gui/editors/tempo/TempoView.cpp4
-rw-r--r--src/gui/general/EditToolBox.cpp2
-rw-r--r--src/gui/general/EditView.cpp4
-rw-r--r--src/gui/general/EditViewBase.cpp4
-rw-r--r--src/gui/general/MidiPitchLabel.cpp2
-rw-r--r--src/gui/general/PresetGroup.cpp4
-rw-r--r--src/gui/general/PresetHandlerDialog.cpp2
-rw-r--r--src/gui/kdeext/KTmpStatusMsg.cpp2
-rw-r--r--src/gui/rulers/ChordNameRuler.cpp2
-rw-r--r--src/gui/rulers/ControlChangeCommand.cpp2
-rw-r--r--src/gui/rulers/ControlRulerEventEraseCommand.cpp2
-rw-r--r--src/gui/rulers/ControlRulerEventInsertCommand.cpp2
-rw-r--r--src/gui/rulers/ControllerEventsRuler.cpp2
-rw-r--r--src/gui/rulers/LoopRuler.cpp2
-rw-r--r--src/gui/rulers/MarkerRuler.cpp2
-rw-r--r--src/gui/rulers/PropertyViewRuler.cpp2
-rw-r--r--src/gui/rulers/RawNoteRuler.cpp2
-rw-r--r--src/gui/rulers/StandardRuler.cpp2
-rw-r--r--src/gui/rulers/TempoRuler.cpp4
-rw-r--r--src/gui/seqmanager/CompositionMmapper.cpp2
-rw-r--r--src/gui/seqmanager/ControlBlockMmapper.cpp2
-rw-r--r--src/gui/seqmanager/MetronomeMmapper.cpp2
-rw-r--r--src/gui/seqmanager/MidiFilterDialog.cpp2
-rw-r--r--src/gui/seqmanager/SequenceManager.cpp6
-rw-r--r--src/gui/seqmanager/SpecialSegmentMmapper.cpp2
-rw-r--r--src/gui/studio/AudioMixerWindow.cpp4
-rw-r--r--src/gui/studio/AudioPluginOSCGUIManager.cpp2
-rw-r--r--src/gui/studio/BankEditorDialog.cpp6
-rw-r--r--src/gui/studio/ChangeRecordDeviceCommand.h2
-rw-r--r--src/gui/studio/DeviceEditorDialog.cpp4
-rw-r--r--src/gui/studio/DeviceManagerDialog.cpp6
-rw-r--r--src/gui/studio/MidiBankListViewItem.cpp2
-rw-r--r--src/gui/studio/MidiDeviceListViewItem.cpp2
-rw-r--r--src/gui/studio/MidiKeyMapListViewItem.cpp2
-rw-r--r--src/gui/studio/MidiKeyMappingEditor.cpp2
-rw-r--r--src/gui/studio/MidiMixerWindow.cpp2
-rw-r--r--src/gui/studio/MidiProgramsEditor.cpp4
-rw-r--r--src/gui/studio/NameSetEditor.cpp4
-rw-r--r--src/gui/studio/RemapInstrumentDialog.cpp2
-rw-r--r--src/gui/studio/SynthPluginManagerDialog.cpp2
-rw-r--r--src/gui/widgets/AudioFaderBox.cpp4
-rw-r--r--src/gui/widgets/AudioRouteMenu.cpp2
-rw-r--r--src/gui/widgets/CollapsingFrame.cpp2
-rw-r--r--src/gui/widgets/ColourTable.cpp2
-rw-r--r--src/gui/widgets/DiatonicPitchChooser.cpp2
-rw-r--r--src/gui/widgets/PitchChooser.cpp2
-rw-r--r--src/gui/widgets/ProgressDialog.cpp2
-rw-r--r--src/gui/widgets/QuantizeParameters.cpp2
-rw-r--r--src/gui/widgets/Rotary.cpp2
-rw-r--r--src/gui/widgets/TimeWidget.cpp2
172 files changed, 237 insertions, 237 deletions
diff --git a/src/gui/application/RosegardenApplication.cpp b/src/gui/application/RosegardenApplication.cpp
index 0a427a5..447df3d 100644
--- a/src/gui/application/RosegardenApplication.cpp
+++ b/src/gui/application/RosegardenApplication.cpp
@@ -32,9 +32,9 @@
#include "gui/kdeext/KTmpStatusMsg.h"
#include "RosegardenGUIApp.h"
#include <tdecmdlineargs.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdemainwindow.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kprocess.h>
#include <kuniqueapplication.h>
#include <tqcstring.h>
diff --git a/src/gui/application/RosegardenGUIApp.cpp b/src/gui/application/RosegardenGUIApp.cpp
index c2f3068..fbc5fe4 100644
--- a/src/gui/application/RosegardenGUIApp.cpp
+++ b/src/gui/application/RosegardenGUIApp.cpp
@@ -181,20 +181,20 @@
#include <kdockwidget.h>
#include <kedittoolbar.h>
#include <tdefiledialog.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kinputdialog.h>
#include <tdeio/netaccess.h>
#include <kkeydialog.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdemainwindow.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kmimetype.h>
#include <kprocess.h>
#include <kstatusbar.h>
#include <tdestdaccel.h>
#include <kstdaction.h>
#include <kstddirs.h>
-#include <ktempfile.h>
+#include <tdetempfile.h>
#include <ktip.h>
#include <tdetoolbar.h>
#include <kurl.h>
diff --git a/src/gui/application/RosegardenGUIApp.cpp.orig b/src/gui/application/RosegardenGUIApp.cpp.orig
index b47bd1d..498cedb 100644
--- a/src/gui/application/RosegardenGUIApp.cpp.orig
+++ b/src/gui/application/RosegardenGUIApp.cpp.orig
@@ -181,20 +181,20 @@
#include <kdockwidget.h>
#include <kedittoolbar.h>
#include <tdefiledialog.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kinputdialog.h>
#include <tdeio/netaccess.h>
#include <kkeydialog.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdemainwindow.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kmimetype.h>
#include <kprocess.h>
#include <kstatusbar.h>
#include <tdestdaccel.h>
#include <kstdaction.h>
#include <kstddirs.h>
-#include <ktempfile.h>
+#include <tdetempfile.h>
#include <ktip.h>
#include <tdetoolbar.h>
#include <kurl.h>
diff --git a/src/gui/application/RosegardenGUIView.cpp b/src/gui/application/RosegardenGUIView.cpp
index 40adbc6..a335dba 100644
--- a/src/gui/application/RosegardenGUIView.cpp
+++ b/src/gui/application/RosegardenGUIView.cpp
@@ -28,7 +28,7 @@
#include "sound/Midi.h"
#include "gui/editors/segment/TrackButtons.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "document/ConfigGroups.h"
@@ -81,7 +81,7 @@
#include "sound/MappedEvent.h"
#include <kcommand.h>
#include <tdeconfig.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kprocess.h>
#include <tqapplication.h>
#include <tqcursor.h>
diff --git a/src/gui/application/main.cpp b/src/gui/application/main.cpp
index e14f657..3506d68 100644
--- a/src/gui/application/main.cpp
+++ b/src/gui/application/main.cpp
@@ -27,14 +27,14 @@
#include <tdecmdlineargs.h>
#include <tdeaboutdata.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <dcopclient.h>
#include <tdeconfig.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kstddirs.h>
#include <ktip.h>
#include <kprocess.h>
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include <tqstringlist.h>
#include <tqregexp.h>
diff --git a/src/gui/configuration/AudioConfigurationPage.cpp b/src/gui/configuration/AudioConfigurationPage.cpp
index 43c143a..49b854c 100644
--- a/src/gui/configuration/AudioConfigurationPage.cpp
+++ b/src/gui/configuration/AudioConfigurationPage.cpp
@@ -58,7 +58,7 @@
#include <tqtabwidget.h>
#include <tqtooltip.h>
#include <tqwidget.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
namespace Rosegarden
diff --git a/src/gui/configuration/AudioConfigurationPage.h b/src/gui/configuration/AudioConfigurationPage.h
index 2ff2776..4f31b0e 100644
--- a/src/gui/configuration/AudioConfigurationPage.h
+++ b/src/gui/configuration/AudioConfigurationPage.h
@@ -27,7 +27,7 @@
#include "TabbedConfigurationPage.h"
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqlineedit.h>
class TQWidget;
diff --git a/src/gui/configuration/AudioPropertiesPage.h b/src/gui/configuration/AudioPropertiesPage.h
index 3e68f37..f226dcc 100644
--- a/src/gui/configuration/AudioPropertiesPage.h
+++ b/src/gui/configuration/AudioPropertiesPage.h
@@ -28,7 +28,7 @@
#include "TabbedConfigurationPage.h"
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
class TQWidget;
diff --git a/src/gui/configuration/ColourConfigurationPage.h b/src/gui/configuration/ColourConfigurationPage.h
index e43fa4e..092ab1c 100644
--- a/src/gui/configuration/ColourConfigurationPage.h
+++ b/src/gui/configuration/ColourConfigurationPage.h
@@ -30,7 +30,7 @@
#include "gui/widgets/ColourTable.h"
#include "TabbedConfigurationPage.h"
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
class TQWidget;
diff --git a/src/gui/configuration/DocumentMetaConfigurationPage.h b/src/gui/configuration/DocumentMetaConfigurationPage.h
index e9a4f04..f41db1e 100644
--- a/src/gui/configuration/DocumentMetaConfigurationPage.h
+++ b/src/gui/configuration/DocumentMetaConfigurationPage.h
@@ -28,7 +28,7 @@
#include "TabbedConfigurationPage.h"
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
class TQWidget;
diff --git a/src/gui/configuration/GeneralConfigurationPage.cpp b/src/gui/configuration/GeneralConfigurationPage.cpp
index 0dff640..2e4930e 100644
--- a/src/gui/configuration/GeneralConfigurationPage.cpp
+++ b/src/gui/configuration/GeneralConfigurationPage.cpp
@@ -38,7 +38,7 @@
#include <kcombobox.h>
#include <tdeconfig.h>
#include <tdefiledialog.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqcheckbox.h>
#include <tqcombobox.h>
#include <tqfileinfo.h>
diff --git a/src/gui/configuration/GeneralConfigurationPage.h b/src/gui/configuration/GeneralConfigurationPage.h
index 2309ce4..2508099 100644
--- a/src/gui/configuration/GeneralConfigurationPage.h
+++ b/src/gui/configuration/GeneralConfigurationPage.h
@@ -33,7 +33,7 @@
#include <tqspinbox.h>
#include <tqcombobox.h>
#include <tqlineedit.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kiconloader.h>
class TQWidget;
diff --git a/src/gui/configuration/HeadersConfigurationPage.cpp b/src/gui/configuration/HeadersConfigurationPage.cpp
index b4f5339..c424c9e 100644
--- a/src/gui/configuration/HeadersConfigurationPage.cpp
+++ b/src/gui/configuration/HeadersConfigurationPage.cpp
@@ -34,7 +34,7 @@
#include <tdeapplication.h>
#include <tdeconfig.h>
#include <tdelistview.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqgroupbox.h>
#include <tqlabel.h>
#include <tqlayout.h>
diff --git a/src/gui/configuration/LatencyConfigurationPage.h b/src/gui/configuration/LatencyConfigurationPage.h
index 21cd926..4aec527 100644
--- a/src/gui/configuration/LatencyConfigurationPage.h
+++ b/src/gui/configuration/LatencyConfigurationPage.h
@@ -28,7 +28,7 @@
#include "TabbedConfigurationPage.h"
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqslider.h>
diff --git a/src/gui/configuration/MIDIConfigurationPage.h b/src/gui/configuration/MIDIConfigurationPage.h
index cf1c63b..78aff2f 100644
--- a/src/gui/configuration/MIDIConfigurationPage.h
+++ b/src/gui/configuration/MIDIConfigurationPage.h
@@ -27,7 +27,7 @@
#include "TabbedConfigurationPage.h"
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqlineedit.h>
#include <tqcheckbox.h>
diff --git a/src/gui/configuration/MatrixConfigurationPage.h b/src/gui/configuration/MatrixConfigurationPage.h
index 3b9740e..e306f11 100644
--- a/src/gui/configuration/MatrixConfigurationPage.h
+++ b/src/gui/configuration/MatrixConfigurationPage.h
@@ -28,7 +28,7 @@
#include "TabbedConfigurationPage.h"
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
class TQWidget;
diff --git a/src/gui/configuration/NotationConfigurationPage.cpp b/src/gui/configuration/NotationConfigurationPage.cpp
index 9bb61d7..e6a73ec 100644
--- a/src/gui/configuration/NotationConfigurationPage.cpp
+++ b/src/gui/configuration/NotationConfigurationPage.cpp
@@ -46,7 +46,7 @@
#include <kcombobox.h>
#include <tdeconfig.h>
#include <tdefontrequester.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqcheckbox.h>
#include <tqcombobox.h>
#include <tqfont.h>
diff --git a/src/gui/configuration/NotationConfigurationPage.h b/src/gui/configuration/NotationConfigurationPage.h
index 8ab2b0c..e72a1fd 100644
--- a/src/gui/configuration/NotationConfigurationPage.h
+++ b/src/gui/configuration/NotationConfigurationPage.h
@@ -30,7 +30,7 @@
#include "TabbedConfigurationPage.h"
#include <tqstring.h>
#include <tqstringlist.h>
-#include <klocale.h>
+#include <tdelocale.h>
class TQWidget;
diff --git a/src/gui/dialogs/AddTracksDialog.cpp b/src/gui/dialogs/AddTracksDialog.cpp
index a41d10b..5754266 100644
--- a/src/gui/dialogs/AddTracksDialog.cpp
+++ b/src/gui/dialogs/AddTracksDialog.cpp
@@ -25,7 +25,7 @@
#include "AddTracksDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialogbase.h>
#include <tqhbox.h>
#include <tqlabel.h>
diff --git a/src/gui/dialogs/AudioManagerDialog.cpp b/src/gui/dialogs/AudioManagerDialog.cpp
index 06e7d1b..6d53e22 100644
--- a/src/gui/dialogs/AudioManagerDialog.cpp
+++ b/src/gui/dialogs/AudioManagerDialog.cpp
@@ -53,16 +53,16 @@
#include "sound/AudioFileManager.h"
#include "sound/WAVAudioFile.h"
#include "UnusedAudioSelectionDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include <tdeaction.h>
#include <kcommand.h>
#include <tdefiledialog.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <klineeditdlg.h>
#include <tdelistview.h>
#include <tdemainwindow.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kstdaction.h>
#include <kurl.h>
#include <kxmlguiclient.h>
diff --git a/src/gui/dialogs/AudioPlayingDialog.cpp b/src/gui/dialogs/AudioPlayingDialog.cpp
index 524278e..7aa08c3 100644
--- a/src/gui/dialogs/AudioPlayingDialog.cpp
+++ b/src/gui/dialogs/AudioPlayingDialog.cpp
@@ -25,7 +25,7 @@
#include "AudioPlayingDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialogbase.h>
#include <tqhbox.h>
#include <tqlabel.h>
diff --git a/src/gui/dialogs/AudioPluginDialog.cpp b/src/gui/dialogs/AudioPluginDialog.cpp
index 9258cd7..d522b8f 100644
--- a/src/gui/dialogs/AudioPluginDialog.cpp
+++ b/src/gui/dialogs/AudioPluginDialog.cpp
@@ -26,7 +26,7 @@
#include "AudioPluginDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/AudioPluginInstance.h"
diff --git a/src/gui/dialogs/AudioSplitDialog.cpp b/src/gui/dialogs/AudioSplitDialog.cpp
index ceec4b5..f7e3d07 100644
--- a/src/gui/dialogs/AudioSplitDialog.cpp
+++ b/src/gui/dialogs/AudioSplitDialog.cpp
@@ -26,7 +26,7 @@
#include "AudioSplitDialog.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/Exception.h"
diff --git a/src/gui/dialogs/BeatsBarsDialog.cpp b/src/gui/dialogs/BeatsBarsDialog.cpp
index 3d02b64..c8fde70 100644
--- a/src/gui/dialogs/BeatsBarsDialog.cpp
+++ b/src/gui/dialogs/BeatsBarsDialog.cpp
@@ -26,7 +26,7 @@
#include "BeatsBarsDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Segment.h"
#include <kcombobox.h>
#include <kdialogbase.h>
diff --git a/src/gui/dialogs/ClefDialog.cpp b/src/gui/dialogs/ClefDialog.cpp
index c566948..850571e 100644
--- a/src/gui/dialogs/ClefDialog.cpp
+++ b/src/gui/dialogs/ClefDialog.cpp
@@ -28,7 +28,7 @@
#include "base/NotationTypes.h"
#include "gui/editors/notation/NotePixmapFactory.h"
#include "gui/widgets/BigArrowButton.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialogbase.h>
#include <tqbuttongroup.h>
#include <tqgroupbox.h>
diff --git a/src/gui/dialogs/CompositionLengthDialog.cpp b/src/gui/dialogs/CompositionLengthDialog.cpp
index 85d2530..0f32551 100644
--- a/src/gui/dialogs/CompositionLengthDialog.cpp
+++ b/src/gui/dialogs/CompositionLengthDialog.cpp
@@ -25,7 +25,7 @@
#include "CompositionLengthDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Composition.h"
#include <kdialogbase.h>
#include <tqhbox.h>
diff --git a/src/gui/dialogs/ConfigureDialog.cpp b/src/gui/dialogs/ConfigureDialog.cpp
index 42276b6..6845eca 100644
--- a/src/gui/dialogs/ConfigureDialog.cpp
+++ b/src/gui/dialogs/ConfigureDialog.cpp
@@ -26,7 +26,7 @@
#include "ConfigureDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "ConfigureDialogBase.h"
#include "document/RosegardenGUIDoc.h"
#include "gui/configuration/GeneralConfigurationPage.h"
diff --git a/src/gui/dialogs/ConfigureDialogBase.cpp b/src/gui/dialogs/ConfigureDialogBase.cpp
index 3102922..14ddd0c 100644
--- a/src/gui/dialogs/ConfigureDialogBase.cpp
+++ b/src/gui/dialogs/ConfigureDialogBase.cpp
@@ -25,7 +25,7 @@
#include "ConfigureDialogBase.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "gui/configuration/ConfigurationPage.h"
#include <kdialogbase.h>
#include <tqstring.h>
diff --git a/src/gui/dialogs/CountdownDialog.cpp b/src/gui/dialogs/CountdownDialog.cpp
index 537bc2b..aaccaf6 100644
--- a/src/gui/dialogs/CountdownDialog.cpp
+++ b/src/gui/dialogs/CountdownDialog.cpp
@@ -26,7 +26,7 @@
#include "CountdownDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "CountdownBar.h"
#include <tqaccel.h>
#include <tqdialog.h>
diff --git a/src/gui/dialogs/DocumentConfigureDialog.cpp b/src/gui/dialogs/DocumentConfigureDialog.cpp
index bff4531..ef8a32d 100644
--- a/src/gui/dialogs/DocumentConfigureDialog.cpp
+++ b/src/gui/dialogs/DocumentConfigureDialog.cpp
@@ -26,7 +26,7 @@
#include "DocumentConfigureDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "ConfigureDialogBase.h"
#include "document/RosegardenGUIDoc.h"
#include "gui/configuration/AudioPropertiesPage.h"
diff --git a/src/gui/dialogs/EventEditDialog.cpp b/src/gui/dialogs/EventEditDialog.cpp
index 6bd4752..941e631 100644
--- a/src/gui/dialogs/EventEditDialog.cpp
+++ b/src/gui/dialogs/EventEditDialog.cpp
@@ -25,7 +25,7 @@
#include "EventEditDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "base/Event.h"
#include "base/MidiTypes.h"
@@ -34,7 +34,7 @@
#include "base/RealTime.h"
#include "gui/editors/notation/NotePixmapFactory.h"
#include <kdialogbase.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqcheckbox.h>
#include <tqfont.h>
#include <tqgrid.h>
diff --git a/src/gui/dialogs/EventFilterDialog.cpp b/src/gui/dialogs/EventFilterDialog.cpp
index b765532..53760eb 100644
--- a/src/gui/dialogs/EventFilterDialog.cpp
+++ b/src/gui/dialogs/EventFilterDialog.cpp
@@ -40,7 +40,7 @@
#include <tdeapplication.h>
#include <tdeconfig.h>
#include <kdialogbase.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqcheckbox.h>
#include <tqcombobox.h>
#include <tqdialog.h>
diff --git a/src/gui/dialogs/EventParameterDialog.cpp b/src/gui/dialogs/EventParameterDialog.cpp
index 98abb44..3669b40 100644
--- a/src/gui/dialogs/EventParameterDialog.cpp
+++ b/src/gui/dialogs/EventParameterDialog.cpp
@@ -25,7 +25,7 @@
#include "EventParameterDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/PropertyName.h"
diff --git a/src/gui/dialogs/ExportDeviceDialog.cpp b/src/gui/dialogs/ExportDeviceDialog.cpp
index 348a5b8..0ca4024 100644
--- a/src/gui/dialogs/ExportDeviceDialog.cpp
+++ b/src/gui/dialogs/ExportDeviceDialog.cpp
@@ -25,7 +25,7 @@
#include "ExportDeviceDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialogbase.h>
#include <tqbuttongroup.h>
#include <tqlabel.h>
diff --git a/src/gui/dialogs/FileLocateDialog.cpp b/src/gui/dialogs/FileLocateDialog.cpp
index 04c3c20..83d84dc 100644
--- a/src/gui/dialogs/FileLocateDialog.cpp
+++ b/src/gui/dialogs/FileLocateDialog.cpp
@@ -25,7 +25,7 @@
#include "FileLocateDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include <kdialogbase.h>
#include <tdefiledialog.h>
diff --git a/src/gui/dialogs/FileMergeDialog.cpp b/src/gui/dialogs/FileMergeDialog.cpp
index d7d48cf..6e4e59d 100644
--- a/src/gui/dialogs/FileMergeDialog.cpp
+++ b/src/gui/dialogs/FileMergeDialog.cpp
@@ -25,7 +25,7 @@
#include "FileMergeDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kcombobox.h>
#include <kdialogbase.h>
#include <tqcheckbox.h>
diff --git a/src/gui/dialogs/IdentifyTextCodecDialog.cpp b/src/gui/dialogs/IdentifyTextCodecDialog.cpp
index 2c4f179..f1fabe0 100644
--- a/src/gui/dialogs/IdentifyTextCodecDialog.cpp
+++ b/src/gui/dialogs/IdentifyTextCodecDialog.cpp
@@ -25,7 +25,7 @@
#include "IdentifyTextCodecDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "base/NotationTypes.h"
#include <kcombobox.h>
diff --git a/src/gui/dialogs/ImportDeviceDialog.cpp b/src/gui/dialogs/ImportDeviceDialog.cpp
index badf983..b232b06 100644
--- a/src/gui/dialogs/ImportDeviceDialog.cpp
+++ b/src/gui/dialogs/ImportDeviceDialog.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "document/ConfigGroups.h"
#include "base/MidiDevice.h"
@@ -37,7 +37,7 @@
#include <kcombobox.h>
#include <tdeconfig.h>
#include <kdialogbase.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kurl.h>
#include <tdeio/netaccess.h>
#include <tqbuttongroup.h>
diff --git a/src/gui/dialogs/InterpretDialog.cpp b/src/gui/dialogs/InterpretDialog.cpp
index 2ed7922..caa8767 100644
--- a/src/gui/dialogs/InterpretDialog.cpp
+++ b/src/gui/dialogs/InterpretDialog.cpp
@@ -26,7 +26,7 @@
#include "InterpretDialog.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "document/ConfigGroups.h"
#include "commands/notation/InterpretCommand.h"
#include <tdeconfig.h>
diff --git a/src/gui/dialogs/IntervalDialog.cpp b/src/gui/dialogs/IntervalDialog.cpp
index 2a9b3ec..fb90371 100644
--- a/src/gui/dialogs/IntervalDialog.cpp
+++ b/src/gui/dialogs/IntervalDialog.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include <iostream>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "base/MidiDevice.h"
#include "base/NotationRules.h"
diff --git a/src/gui/dialogs/KeySignatureDialog.cpp b/src/gui/dialogs/KeySignatureDialog.cpp
index c79ff35..953f97f 100644
--- a/src/gui/dialogs/KeySignatureDialog.cpp
+++ b/src/gui/dialogs/KeySignatureDialog.cpp
@@ -25,7 +25,7 @@
#include "KeySignatureDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "base/NotationTypes.h"
#include "gui/editors/notation/NotePixmapFactory.h"
diff --git a/src/gui/dialogs/LilyPondOptionsDialog.cpp b/src/gui/dialogs/LilyPondOptionsDialog.cpp
index 9d0a5ec..4481e74 100644
--- a/src/gui/dialogs/LilyPondOptionsDialog.cpp
+++ b/src/gui/dialogs/LilyPondOptionsDialog.cpp
@@ -37,8 +37,8 @@
#include <klineedit.h>
#include <tdeconfig.h>
#include <kdialogbase.h>
-#include <kglobal.h>
-#include <klocale.h>
+#include <tdeglobal.h>
+#include <tdelocale.h>
#include <tqcheckbox.h>
#include <tqcombobox.h>
#include <tqframe.h>
diff --git a/src/gui/dialogs/LyricEditDialog.cpp b/src/gui/dialogs/LyricEditDialog.cpp
index f713d11..c73467d 100644
--- a/src/gui/dialogs/LyricEditDialog.cpp
+++ b/src/gui/dialogs/LyricEditDialog.cpp
@@ -27,7 +27,7 @@
#include "base/Event.h"
#include "base/BaseProperties.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "misc/Debug.h"
#include "base/Composition.h"
diff --git a/src/gui/dialogs/MakeOrnamentDialog.cpp b/src/gui/dialogs/MakeOrnamentDialog.cpp
index 8bd283f..d06168b 100644
--- a/src/gui/dialogs/MakeOrnamentDialog.cpp
+++ b/src/gui/dialogs/MakeOrnamentDialog.cpp
@@ -25,7 +25,7 @@
#include "MakeOrnamentDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "gui/widgets/PitchChooser.h"
#include <kdialogbase.h>
#include <tqgroupbox.h>
diff --git a/src/gui/dialogs/ManageMetronomeDialog.cpp b/src/gui/dialogs/ManageMetronomeDialog.cpp
index 8335a83..6ecbc8d 100644
--- a/src/gui/dialogs/ManageMetronomeDialog.cpp
+++ b/src/gui/dialogs/ManageMetronomeDialog.cpp
@@ -26,7 +26,7 @@
#include "ManageMetronomeDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/Composition.h"
diff --git a/src/gui/dialogs/MarkerModifyDialog.cpp b/src/gui/dialogs/MarkerModifyDialog.cpp
index 9308303..ce4725f 100644
--- a/src/gui/dialogs/MarkerModifyDialog.cpp
+++ b/src/gui/dialogs/MarkerModifyDialog.cpp
@@ -26,7 +26,7 @@
#include "MarkerModifyDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Composition.h"
#include "document/RosegardenGUIDoc.h"
#include "gui/widgets/TimeWidget.h"
diff --git a/src/gui/dialogs/PasteNotationDialog.cpp b/src/gui/dialogs/PasteNotationDialog.cpp
index cb0aa43..c9af4aa 100644
--- a/src/gui/dialogs/PasteNotationDialog.cpp
+++ b/src/gui/dialogs/PasteNotationDialog.cpp
@@ -25,7 +25,7 @@
#include "PasteNotationDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "commands/edit/PasteEventsCommand.h"
#include <kdialogbase.h>
#include <tqbuttongroup.h>
diff --git a/src/gui/dialogs/PitchDialog.cpp b/src/gui/dialogs/PitchDialog.cpp
index c484142..3d0ea97 100644
--- a/src/gui/dialogs/PitchDialog.cpp
+++ b/src/gui/dialogs/PitchDialog.cpp
@@ -25,7 +25,7 @@
#include "PitchDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "gui/widgets/PitchChooser.h"
#include <kdialogbase.h>
#include <tqstring.h>
diff --git a/src/gui/dialogs/PitchPickerDialog.cpp b/src/gui/dialogs/PitchPickerDialog.cpp
index 3853818..8620d83 100644
--- a/src/gui/dialogs/PitchPickerDialog.cpp
+++ b/src/gui/dialogs/PitchPickerDialog.cpp
@@ -24,7 +24,7 @@
#include "PitchPickerDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialogbase.h>
#include <tqlayout.h>
#include <tqframe.h>
diff --git a/src/gui/dialogs/QuantizeDialog.cpp b/src/gui/dialogs/QuantizeDialog.cpp
index 87d7f79..ceb957e 100644
--- a/src/gui/dialogs/QuantizeDialog.cpp
+++ b/src/gui/dialogs/QuantizeDialog.cpp
@@ -25,7 +25,7 @@
#include "QuantizeDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Quantizer.h"
#include "gui/widgets/QuantizeParameters.h"
#include <kdialogbase.h>
diff --git a/src/gui/dialogs/RescaleDialog.cpp b/src/gui/dialogs/RescaleDialog.cpp
index d30d247..537e45d 100644
--- a/src/gui/dialogs/RescaleDialog.cpp
+++ b/src/gui/dialogs/RescaleDialog.cpp
@@ -25,7 +25,7 @@
#include "RescaleDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "document/ConfigGroups.h"
#include "base/Composition.h"
#include "gui/widgets/TimeWidget.h"
diff --git a/src/gui/dialogs/ShowSequencerStatusDialog.cpp b/src/gui/dialogs/ShowSequencerStatusDialog.cpp
index 373712a..539a7bd 100644
--- a/src/gui/dialogs/ShowSequencerStatusDialog.cpp
+++ b/src/gui/dialogs/ShowSequencerStatusDialog.cpp
@@ -25,7 +25,7 @@
#include "ShowSequencerStatusDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialogbase.h>
#include <tqcstring.h>
#include <tqdatastream.h>
diff --git a/src/gui/dialogs/SimpleEventEditDialog.cpp b/src/gui/dialogs/SimpleEventEditDialog.cpp
index 7597e69..80b25af 100644
--- a/src/gui/dialogs/SimpleEventEditDialog.cpp
+++ b/src/gui/dialogs/SimpleEventEditDialog.cpp
@@ -38,7 +38,7 @@
#include <kcombobox.h>
#include <kdialogbase.h>
#include <tdefiledialog.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqcheckbox.h>
#include <tqdialog.h>
#include <tqfile.h>
diff --git a/src/gui/dialogs/SplitByPitchDialog.cpp b/src/gui/dialogs/SplitByPitchDialog.cpp
index aacad2c..dfd5367 100644
--- a/src/gui/dialogs/SplitByPitchDialog.cpp
+++ b/src/gui/dialogs/SplitByPitchDialog.cpp
@@ -25,7 +25,7 @@
#include "SplitByPitchDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "commands/segment/SegmentSplitByPitchCommand.h"
#include "gui/general/ClefIndex.h"
#include "gui/widgets/PitchChooser.h"
diff --git a/src/gui/dialogs/SplitByRecordingSrcDialog.cpp b/src/gui/dialogs/SplitByRecordingSrcDialog.cpp
index df23437..7348825 100644
--- a/src/gui/dialogs/SplitByRecordingSrcDialog.cpp
+++ b/src/gui/dialogs/SplitByRecordingSrcDialog.cpp
@@ -26,7 +26,7 @@
#include "SplitByRecordingSrcDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "base/MidiDevice.h"
#include "document/RosegardenGUIDoc.h"
diff --git a/src/gui/dialogs/TempoDialog.cpp b/src/gui/dialogs/TempoDialog.cpp
index 7d7bbd9..b8bf9e3 100644
--- a/src/gui/dialogs/TempoDialog.cpp
+++ b/src/gui/dialogs/TempoDialog.cpp
@@ -26,7 +26,7 @@
#include "TempoDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "base/Composition.h"
#include "base/NotationTypes.h"
diff --git a/src/gui/dialogs/TextEventDialog.cpp b/src/gui/dialogs/TextEventDialog.cpp
index a3cf30e..469548e 100644
--- a/src/gui/dialogs/TextEventDialog.cpp
+++ b/src/gui/dialogs/TextEventDialog.cpp
@@ -26,7 +26,7 @@
#include "TextEventDialog.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "document/ConfigGroups.h"
#include "base/NotationTypes.h"
diff --git a/src/gui/dialogs/TimeDialog.cpp b/src/gui/dialogs/TimeDialog.cpp
index d4eb4b6..ca7abbd 100644
--- a/src/gui/dialogs/TimeDialog.cpp
+++ b/src/gui/dialogs/TimeDialog.cpp
@@ -25,7 +25,7 @@
#include "TimeDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Composition.h"
#include "gui/widgets/TimeWidget.h"
#include <kdialogbase.h>
diff --git a/src/gui/dialogs/TimeSignatureDialog.cpp b/src/gui/dialogs/TimeSignatureDialog.cpp
index c502380..f29bde2 100644
--- a/src/gui/dialogs/TimeSignatureDialog.cpp
+++ b/src/gui/dialogs/TimeSignatureDialog.cpp
@@ -26,7 +26,7 @@
#include "TimeSignatureDialog.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "document/ConfigGroups.h"
#include "base/Composition.h"
#include "base/NotationTypes.h"
diff --git a/src/gui/dialogs/TransportDialog.cpp b/src/gui/dialogs/TransportDialog.cpp
index f1297e3..ebd386c 100644
--- a/src/gui/dialogs/TransportDialog.cpp
+++ b/src/gui/dialogs/TransportDialog.cpp
@@ -25,7 +25,7 @@
#include "TransportDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "base/Composition.h"
#include "base/NotationTypes.h"
@@ -38,7 +38,7 @@
#include "sound/MappedEvent.h"
#include "document/ConfigGroups.h"
#include <tdeconfig.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqaccel.h>
#include <tqcolor.h>
#include <tqcstring.h>
diff --git a/src/gui/dialogs/TriggerSegmentDialog.cpp b/src/gui/dialogs/TriggerSegmentDialog.cpp
index e6d04bf..e1c245a 100644
--- a/src/gui/dialogs/TriggerSegmentDialog.cpp
+++ b/src/gui/dialogs/TriggerSegmentDialog.cpp
@@ -27,7 +27,7 @@
#include <tdeapplication.h>
#include "base/BaseProperties.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "document/ConfigGroups.h"
#include "base/Composition.h"
diff --git a/src/gui/dialogs/TupletDialog.cpp b/src/gui/dialogs/TupletDialog.cpp
index 6dff628..a9ee1dc 100644
--- a/src/gui/dialogs/TupletDialog.cpp
+++ b/src/gui/dialogs/TupletDialog.cpp
@@ -26,7 +26,7 @@
#include "TupletDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/NotationTypes.h"
#include "gui/editors/notation/NotationStrings.h"
#include "gui/editors/notation/NotePixmapFactory.h"
diff --git a/src/gui/dialogs/UnusedAudioSelectionDialog.cpp b/src/gui/dialogs/UnusedAudioSelectionDialog.cpp
index 8e4f40b..da05eab 100644
--- a/src/gui/dialogs/UnusedAudioSelectionDialog.cpp
+++ b/src/gui/dialogs/UnusedAudioSelectionDialog.cpp
@@ -25,7 +25,7 @@
#include "UnusedAudioSelectionDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kdialogbase.h>
#include <tdelistview.h>
#include <tqfileinfo.h>
diff --git a/src/gui/dialogs/UseOrnamentDialog.cpp b/src/gui/dialogs/UseOrnamentDialog.cpp
index 9747418..1d6a4d9 100644
--- a/src/gui/dialogs/UseOrnamentDialog.cpp
+++ b/src/gui/dialogs/UseOrnamentDialog.cpp
@@ -28,7 +28,7 @@
#include <tdeapplication.h>
#include "base/BaseProperties.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "document/ConfigGroups.h"
#include "base/Composition.h"
diff --git a/src/gui/editors/eventlist/EventView.cpp b/src/gui/editors/eventlist/EventView.cpp
index 8ecbb27..2f7caa0 100644
--- a/src/gui/editors/eventlist/EventView.cpp
+++ b/src/gui/editors/eventlist/EventView.cpp
@@ -61,10 +61,10 @@
#include "gui/dialogs/EventFilterDialog.h"
#include <tdeaction.h>
#include <tdeconfig.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstatusbar.h>
#include <kstddirs.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <klineeditdlg.h>
#include <tdelistview.h>
#include <kxmlguiclient.h>
diff --git a/src/gui/editors/guitar/Fingering.cpp b/src/gui/editors/guitar/Fingering.cpp
index 59459e9..caa98fe 100644
--- a/src/gui/editors/guitar/Fingering.cpp
+++ b/src/gui/editors/guitar/Fingering.cpp
@@ -29,7 +29,7 @@
#include <tqstringlist.h>
#include <sstream>
#include <algorithm>
-#include <klocale.h>
+#include <tdelocale.h>
namespace Rosegarden
{
diff --git a/src/gui/editors/guitar/GuitarChordEditorDialog.cpp b/src/gui/editors/guitar/GuitarChordEditorDialog.cpp
index 8a4fb3e..79bec1e 100644
--- a/src/gui/editors/guitar/GuitarChordEditorDialog.cpp
+++ b/src/gui/editors/guitar/GuitarChordEditorDialog.cpp
@@ -30,8 +30,8 @@
#include <klineedit.h>
#include <tqcombobox.h>
#include <tqspinbox.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kstddirs.h>
#include <tqlayout.h>
#include <tqlabel.h>
diff --git a/src/gui/editors/guitar/GuitarChordSelectorDialog.cpp b/src/gui/editors/guitar/GuitarChordSelectorDialog.cpp
index accbcc5..c1a6165 100644
--- a/src/gui/editors/guitar/GuitarChordSelectorDialog.cpp
+++ b/src/gui/editors/guitar/GuitarChordSelectorDialog.cpp
@@ -34,8 +34,8 @@
#include <tqcombobox.h>
#include <tqpushbutton.h>
#include <tqlabel.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <kstddirs.h>
namespace Rosegarden
diff --git a/src/gui/editors/matrix/MatrixEraser.cpp b/src/gui/editors/matrix/MatrixEraser.cpp
index ffd1a59..db69d51 100644
--- a/src/gui/editors/matrix/MatrixEraser.cpp
+++ b/src/gui/editors/matrix/MatrixEraser.cpp
@@ -26,7 +26,7 @@
#include "MatrixEraser.h"
#include "misc/Debug.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "base/ViewElement.h"
#include "commands/matrix/MatrixEraseCommand.h"
@@ -35,7 +35,7 @@
#include "MatrixTool.h"
#include "MatrixView.h"
#include <tdeaction.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqiconset.h>
#include <tqstring.h>
diff --git a/src/gui/editors/matrix/MatrixMover.cpp b/src/gui/editors/matrix/MatrixMover.cpp
index 50344ab..310786a 100644
--- a/src/gui/editors/matrix/MatrixMover.cpp
+++ b/src/gui/editors/matrix/MatrixMover.cpp
@@ -26,7 +26,7 @@
#include "MatrixMover.h"
#include "base/BaseProperties.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "base/Event.h"
#include "base/Segment.h"
@@ -44,7 +44,7 @@
#include "MatrixView.h"
#include "MatrixVLayout.h"
#include <tdeaction.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqiconset.h>
#include <tqpoint.h>
#include <tqstring.h>
diff --git a/src/gui/editors/matrix/MatrixPainter.cpp b/src/gui/editors/matrix/MatrixPainter.cpp
index e48e4ed..5a95f7d 100644
--- a/src/gui/editors/matrix/MatrixPainter.cpp
+++ b/src/gui/editors/matrix/MatrixPainter.cpp
@@ -26,7 +26,7 @@
#include "MatrixPainter.h"
#include "base/BaseProperties.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "base/Event.h"
#include "base/NotationTypes.h"
@@ -43,7 +43,7 @@
#include "MatrixTool.h"
#include "MatrixView.h"
#include <tdeaction.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqiconset.h>
#include <tqpoint.h>
#include <tqstring.h>
diff --git a/src/gui/editors/matrix/MatrixResizer.cpp b/src/gui/editors/matrix/MatrixResizer.cpp
index 167d464..6e2bd95 100644
--- a/src/gui/editors/matrix/MatrixResizer.cpp
+++ b/src/gui/editors/matrix/MatrixResizer.cpp
@@ -25,7 +25,7 @@
#include "MatrixResizer.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "base/Event.h"
#include "base/Segment.h"
@@ -41,7 +41,7 @@
#include "MatrixTool.h"
#include "MatrixView.h"
#include <tdeaction.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqiconset.h>
#include <tqpoint.h>
#include <tqstring.h>
diff --git a/src/gui/editors/matrix/MatrixSelector.cpp b/src/gui/editors/matrix/MatrixSelector.cpp
index c75400b..3f9904d 100644
--- a/src/gui/editors/matrix/MatrixSelector.cpp
+++ b/src/gui/editors/matrix/MatrixSelector.cpp
@@ -26,7 +26,7 @@
#include "MatrixSelector.h"
#include "base/BaseProperties.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "base/Event.h"
#include "base/NotationTypes.h"
@@ -47,7 +47,7 @@
#include "MatrixTool.h"
#include "MatrixView.h"
#include <tdeaction.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tdeapplication.h>
#include <tdeconfig.h>
#include <tqdialog.h>
diff --git a/src/gui/editors/matrix/MatrixToolBox.cpp b/src/gui/editors/matrix/MatrixToolBox.cpp
index dab9632..1d2af4b 100644
--- a/src/gui/editors/matrix/MatrixToolBox.cpp
+++ b/src/gui/editors/matrix/MatrixToolBox.cpp
@@ -35,7 +35,7 @@
#include "MatrixResizer.h"
#include <tqstring.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
namespace Rosegarden
{
diff --git a/src/gui/editors/matrix/MatrixView.cpp b/src/gui/editors/matrix/MatrixView.cpp
index 8353ce2..5b3e411 100644
--- a/src/gui/editors/matrix/MatrixView.cpp
+++ b/src/gui/editors/matrix/MatrixView.cpp
@@ -102,14 +102,14 @@
#include "PianoKeyboard.h"
#include "sound/MappedEvent.h"
#include "sound/SequencerDataBlock.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include <tdeaction.h>
#include <kcombobox.h>
#include <tdeconfig.h>
#include <kdockwidget.h>
-#include <kglobal.h>
-#include <kmessagebox.h>
+#include <tdeglobal.h>
+#include <tdemessagebox.h>
#include <kstatusbar.h>
#include <tdetoolbar.h>
#include <kxmlguiclient.h>
diff --git a/src/gui/editors/notation/ClefInserter.cpp b/src/gui/editors/notation/ClefInserter.cpp
index 28198a2..d2d053f 100644
--- a/src/gui/editors/notation/ClefInserter.cpp
+++ b/src/gui/editors/notation/ClefInserter.cpp
@@ -25,7 +25,7 @@
#include "ClefInserter.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Event.h"
#include "base/NotationTypes.h"
#include "base/ViewElement.h"
diff --git a/src/gui/editors/notation/FontViewFrame.cpp b/src/gui/editors/notation/FontViewFrame.cpp
index a226ffb..40b686b 100644
--- a/src/gui/editors/notation/FontViewFrame.cpp
+++ b/src/gui/editors/notation/FontViewFrame.cpp
@@ -26,8 +26,8 @@
#include "FontViewFrame.h"
#include <tdeapplication.h>
-#include <klocale.h>
-#include <kmessagebox.h>
+#include <tdelocale.h>
+#include <tdemessagebox.h>
#include <tqfontmetrics.h>
#include <tqframe.h>
#include <tqsize.h>
diff --git a/src/gui/editors/notation/GuitarChordInserter.cpp b/src/gui/editors/notation/GuitarChordInserter.cpp
index 0885b66..c35949e 100644
--- a/src/gui/editors/notation/GuitarChordInserter.cpp
+++ b/src/gui/editors/notation/GuitarChordInserter.cpp
@@ -25,7 +25,7 @@
#include "GuitarChordInserter.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Event.h"
#include "base/Exception.h"
#include "base/Staff.h"
diff --git a/src/gui/editors/notation/NotationEraser.cpp b/src/gui/editors/notation/NotationEraser.cpp
index 1908fcf..45aad1b 100644
--- a/src/gui/editors/notation/NotationEraser.cpp
+++ b/src/gui/editors/notation/NotationEraser.cpp
@@ -26,7 +26,7 @@
#include "NotationEraser.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "document/ConfigGroups.h"
#include "base/ViewElement.h"
#include "commands/notation/EraseEventCommand.h"
diff --git a/src/gui/editors/notation/NotationSelectionPaster.cpp b/src/gui/editors/notation/NotationSelectionPaster.cpp
index d3bba0e..e55bca6 100644
--- a/src/gui/editors/notation/NotationSelectionPaster.cpp
+++ b/src/gui/editors/notation/NotationSelectionPaster.cpp
@@ -25,7 +25,7 @@
#include "NotationSelectionPaster.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Event.h"
#include "base/Selection.h"
#include "base/ViewElement.h"
diff --git a/src/gui/editors/notation/NotationSelector.cpp b/src/gui/editors/notation/NotationSelector.cpp
index c6d1c68..0a4ab21 100644
--- a/src/gui/editors/notation/NotationSelector.cpp
+++ b/src/gui/editors/notation/NotationSelector.cpp
@@ -26,7 +26,7 @@
#include "NotationSelector.h"
#include "misc/Debug.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Event.h"
#include "base/NotationTypes.h"
#include "base/PropertyName.h"
diff --git a/src/gui/editors/notation/NotationStaff.cpp b/src/gui/editors/notation/NotationStaff.cpp
index 3e1bf28..d9c28e4 100644
--- a/src/gui/editors/notation/NotationStaff.cpp
+++ b/src/gui/editors/notation/NotationStaff.cpp
@@ -27,7 +27,7 @@
#include "misc/Debug.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "document/ConfigGroups.h"
#include "base/Composition.h"
@@ -63,7 +63,7 @@
#include "NotePixmapParameters.h"
#include "NoteStyleFactory.h"
#include <tdeconfig.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqcanvas.h>
#include <tqpainter.h>
#include <tqpoint.h>
diff --git a/src/gui/editors/notation/NotationStrings.cpp b/src/gui/editors/notation/NotationStrings.cpp
index e46f95e..0554127 100644
--- a/src/gui/editors/notation/NotationStrings.cpp
+++ b/src/gui/editors/notation/NotationStrings.cpp
@@ -26,7 +26,7 @@
#include "NotationStrings.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "document/ConfigGroups.h"
#include "base/Exception.h"
diff --git a/src/gui/editors/notation/NotationToolBox.cpp b/src/gui/editors/notation/NotationToolBox.cpp
index 7632413..f04162c 100644
--- a/src/gui/editors/notation/NotationToolBox.cpp
+++ b/src/gui/editors/notation/NotationToolBox.cpp
@@ -37,7 +37,7 @@
#include "NotationSelector.h"
#include <tqstring.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
namespace Rosegarden
{
diff --git a/src/gui/editors/notation/NotationVLayout.cpp b/src/gui/editors/notation/NotationVLayout.cpp
index 5afaa4a..3366e20 100644
--- a/src/gui/editors/notation/NotationVLayout.cpp
+++ b/src/gui/editors/notation/NotationVLayout.cpp
@@ -26,7 +26,7 @@
#include "NotationVLayout.h"
#include "misc/Debug.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Composition.h"
#include "base/Event.h"
#include "base/LayoutEngine.h"
@@ -41,7 +41,7 @@
#include "NotationProperties.h"
#include "NotationStaff.h"
#include "NotePixmapFactory.h"
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqobject.h>
#include <tqstring.h>
#include <tqwidget.h>
diff --git a/src/gui/editors/notation/NotationView.cpp b/src/gui/editors/notation/NotationView.cpp
index 3059de3..35ddd87 100644
--- a/src/gui/editors/notation/NotationView.cpp
+++ b/src/gui/editors/notation/NotationView.cpp
@@ -32,7 +32,7 @@
#include "gui/editors/segment/TrackEditor.h"
#include "gui/editors/segment/TrackButtons.h"
#include "base/BaseProperties.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "misc/Strings.h"
#include "base/AnalysisTypes.h"
@@ -183,15 +183,15 @@
#include <tdeaction.h>
#include <kcombobox.h>
#include <tdeconfig.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <klineeditdlg.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <kprinter.h>
#include <kprocess.h>
#include <kprogress.h>
#include <kstatusbar.h>
#include <kstdaction.h>
-#include <ktempfile.h>
+#include <tdetempfile.h>
#include <tdetoolbar.h>
#include <kxmlguiclient.h>
#include <tqbrush.h>
diff --git a/src/gui/editors/notation/NotationView.h b/src/gui/editors/notation/NotationView.h
index 352e5e9..b8282d8 100644
--- a/src/gui/editors/notation/NotationView.h
+++ b/src/gui/editors/notation/NotationView.h
@@ -34,7 +34,7 @@
#include "NotationCanvasView.h"
#include <string>
#include <kprocess.h>
-#include <ktempfile.h>
+#include <tdetempfile.h>
#include <tqmap.h>
#include <tqsize.h>
#include <tqstring.h>
diff --git a/src/gui/editors/notation/NoteFontFactory.cpp b/src/gui/editors/notation/NoteFontFactory.cpp
index b13f45b..d924ffc 100644
--- a/src/gui/editors/notation/NoteFontFactory.cpp
+++ b/src/gui/editors/notation/NoteFontFactory.cpp
@@ -27,7 +27,7 @@
#include "misc/Debug.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "misc/Strings.h"
#include "document/ConfigGroups.h"
@@ -36,8 +36,8 @@
#include "NoteFont.h"
#include "NoteFontMap.h"
#include <tdeconfig.h>
-#include <kglobal.h>
-#include <kmessagebox.h>
+#include <tdeglobal.h>
+#include <tdemessagebox.h>
#include <tqdir.h>
#include <tqstring.h>
#include <tqstringlist.h>
diff --git a/src/gui/editors/notation/NoteFontMap.cpp b/src/gui/editors/notation/NoteFontMap.cpp
index 3060375..f557a08 100644
--- a/src/gui/editors/notation/NoteFontMap.cpp
+++ b/src/gui/editors/notation/NoteFontMap.cpp
@@ -26,12 +26,12 @@
#include "NoteFontMap.h"
#include "misc/Debug.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "misc/Strings.h"
#include "base/Exception.h"
#include "SystemFont.h"
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqfile.h>
#include <tqfileinfo.h>
#include <tqpixmap.h>
diff --git a/src/gui/editors/notation/NoteFontViewer.cpp b/src/gui/editors/notation/NoteFontViewer.cpp
index 2474ec1..9327b20 100644
--- a/src/gui/editors/notation/NoteFontViewer.cpp
+++ b/src/gui/editors/notation/NoteFontViewer.cpp
@@ -25,7 +25,7 @@
#include "NoteFontViewer.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "FontViewFrame.h"
#include <kcombobox.h>
#include <kdialogbase.h>
diff --git a/src/gui/editors/notation/NoteInserter.cpp b/src/gui/editors/notation/NoteInserter.cpp
index 609b6cf..9763f7c 100644
--- a/src/gui/editors/notation/NoteInserter.cpp
+++ b/src/gui/editors/notation/NoteInserter.cpp
@@ -28,7 +28,7 @@
#include <tdeapplication.h>
#include "base/BaseProperties.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "document/ConfigGroups.h"
#include "base/Event.h"
diff --git a/src/gui/editors/notation/NotePixmapFactory.cpp b/src/gui/editors/notation/NotePixmapFactory.cpp
index e2f69cb..a190d5f 100644
--- a/src/gui/editors/notation/NotePixmapFactory.cpp
+++ b/src/gui/editors/notation/NotePixmapFactory.cpp
@@ -28,7 +28,7 @@
#include "base/NotationRules.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include <tdeconfig.h>
#include "misc/Strings.h"
@@ -54,8 +54,8 @@
#include "NotePixmapPainter.h"
#include "NoteStyleFactory.h"
#include "NoteStyle.h"
-#include <kglobal.h>
-#include <kmessagebox.h>
+#include <tdeglobal.h>
+#include <tdemessagebox.h>
#include <tqbitmap.h>
#include <tqcolor.h>
#include <tqfile.h>
diff --git a/src/gui/editors/notation/NoteStyleFactory.cpp b/src/gui/editors/notation/NoteStyleFactory.cpp
index 340a657..784218b 100644
--- a/src/gui/editors/notation/NoteStyleFactory.cpp
+++ b/src/gui/editors/notation/NoteStyleFactory.cpp
@@ -32,7 +32,7 @@
#include "NotationProperties.h"
#include "NoteStyle.h"
#include "NoteStyleFileReader.h"
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqdir.h>
#include <tqfileinfo.h>
#include <tqstring.h>
diff --git a/src/gui/editors/notation/NoteStyleFileReader.cpp b/src/gui/editors/notation/NoteStyleFileReader.cpp
index d8a552f..bcab138 100644
--- a/src/gui/editors/notation/NoteStyleFileReader.cpp
+++ b/src/gui/editors/notation/NoteStyleFileReader.cpp
@@ -29,9 +29,9 @@
#include <tqfileinfo.h>
#include <tqdir.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kstddirs.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "NotationStrings.h"
diff --git a/src/gui/editors/notation/RestInserter.cpp b/src/gui/editors/notation/RestInserter.cpp
index 2dccf65..31b29d9 100644
--- a/src/gui/editors/notation/RestInserter.cpp
+++ b/src/gui/editors/notation/RestInserter.cpp
@@ -25,7 +25,7 @@
#include "RestInserter.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Event.h"
#include "base/NotationTypes.h"
#include "base/BaseProperties.h"
diff --git a/src/gui/editors/notation/TextInserter.cpp b/src/gui/editors/notation/TextInserter.cpp
index 84a832e..a812f07 100644
--- a/src/gui/editors/notation/TextInserter.cpp
+++ b/src/gui/editors/notation/TextInserter.cpp
@@ -25,7 +25,7 @@
#include "TextInserter.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Event.h"
#include "base/Exception.h"
#include "base/NotationTypes.h"
diff --git a/src/gui/editors/notation/TrackHeader.cpp b/src/gui/editors/notation/TrackHeader.cpp
index 1b73889..61215ea 100644
--- a/src/gui/editors/notation/TrackHeader.cpp
+++ b/src/gui/editors/notation/TrackHeader.cpp
@@ -49,7 +49,7 @@
#include <utility>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqsize.h>
#include <tqwidget.h>
#include <tqhbox.h>
diff --git a/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp b/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp
index ddd9d6a..cdabe74 100644
--- a/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp
+++ b/src/gui/editors/parameters/AudioInstrumentParameterPanel.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/AudioPluginInstance.h"
diff --git a/src/gui/editors/parameters/InstrumentParameterBox.cpp b/src/gui/editors/parameters/InstrumentParameterBox.cpp
index a47edef..60323f6 100644
--- a/src/gui/editors/parameters/InstrumentParameterBox.cpp
+++ b/src/gui/editors/parameters/InstrumentParameterBox.cpp
@@ -26,7 +26,7 @@
#include "InstrumentParameterBox.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "AudioInstrumentParameterPanel.h"
#include "base/Instrument.h"
diff --git a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
index f3c137f..cd42eb8 100644
--- a/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
+++ b/src/gui/editors/parameters/MIDIInstrumentParameterPanel.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include "sound/Midi.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/Colour.h"
diff --git a/src/gui/editors/parameters/RosegardenParameterBox.h b/src/gui/editors/parameters/RosegardenParameterBox.h
index e7fbfef..716c3bc 100644
--- a/src/gui/editors/parameters/RosegardenParameterBox.h
+++ b/src/gui/editors/parameters/RosegardenParameterBox.h
@@ -30,7 +30,7 @@
#include <tqfont.h>
#include <tqframe.h>
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
class TQWidget;
diff --git a/src/gui/editors/parameters/SegmentParameterBox.cpp b/src/gui/editors/parameters/SegmentParameterBox.cpp
index e6c3beb..7f2ee49 100644
--- a/src/gui/editors/parameters/SegmentParameterBox.cpp
+++ b/src/gui/editors/parameters/SegmentParameterBox.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "document/ConfigGroups.h"
diff --git a/src/gui/editors/parameters/TrackParameterBox.cpp b/src/gui/editors/parameters/TrackParameterBox.cpp
index 347ee8a..566a952 100644
--- a/src/gui/editors/parameters/TrackParameterBox.cpp
+++ b/src/gui/editors/parameters/TrackParameterBox.cpp
@@ -31,7 +31,7 @@
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "gui/general/ClefIndex.h"
@@ -63,7 +63,7 @@
#include <kcombobox.h>
#include <tdeconfig.h>
#include <klineeditdlg.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <ksqueezedtextlabel.h>
#include <ktabwidget.h>
#include <tqcolor.h>
diff --git a/src/gui/editors/segment/ControlEditorDialog.cpp b/src/gui/editors/segment/ControlEditorDialog.cpp
index e91f9f1..d064d0c 100644
--- a/src/gui/editors/segment/ControlEditorDialog.cpp
+++ b/src/gui/editors/segment/ControlEditorDialog.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/Colour.h"
diff --git a/src/gui/editors/segment/ControlParameterEditDialog.cpp b/src/gui/editors/segment/ControlParameterEditDialog.cpp
index a7d794b..253e7c6 100644
--- a/src/gui/editors/segment/ControlParameterEditDialog.cpp
+++ b/src/gui/editors/segment/ControlParameterEditDialog.cpp
@@ -26,7 +26,7 @@
#include "ControlParameterEditDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/Colour.h"
diff --git a/src/gui/editors/segment/MarkerEditor.cpp b/src/gui/editors/segment/MarkerEditor.cpp
index 922b385..66d44a7 100644
--- a/src/gui/editors/segment/MarkerEditor.cpp
+++ b/src/gui/editors/segment/MarkerEditor.cpp
@@ -28,7 +28,7 @@
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include <tdestdaccel.h>
#include <tdeconfig.h>
@@ -46,7 +46,7 @@
#include "gui/dialogs/MarkerModifyDialog.h"
#include <tdeaction.h>
#include <kcommand.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tdelistview.h>
#include <tdemainwindow.h>
#include <tdestdaccel.h>
diff --git a/src/gui/editors/segment/PlayList.cpp b/src/gui/editors/segment/PlayList.cpp
index 58d59cc..ccb54d6 100644
--- a/src/gui/editors/segment/PlayList.cpp
+++ b/src/gui/editors/segment/PlayList.cpp
@@ -29,10 +29,10 @@
#include "document/ConfigGroups.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeconfig.h>
#include <tdefiledialog.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kurl.h>
#include <tqframe.h>
#include <tqpushbutton.h>
diff --git a/src/gui/editors/segment/PlayListView.cpp b/src/gui/editors/segment/PlayListView.cpp
index bbaa4b3..dbf7a0a 100644
--- a/src/gui/editors/segment/PlayListView.cpp
+++ b/src/gui/editors/segment/PlayListView.cpp
@@ -24,7 +24,7 @@
#include "PlayListView.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqdragobject.h>
namespace Rosegarden {
diff --git a/src/gui/editors/segment/TrackButtons.cpp b/src/gui/editors/segment/TrackButtons.cpp
index e4eb458..6d2b9eb 100644
--- a/src/gui/editors/segment/TrackButtons.cpp
+++ b/src/gui/editors/segment/TrackButtons.cpp
@@ -26,7 +26,7 @@
#include "TrackButtons.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
@@ -47,9 +47,9 @@
#include "sound/PluginIdentifier.h"
#include "TrackLabel.h"
#include "TrackVUMeter.h"
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kled.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqcursor.h>
#include <tqframe.h>
#include <tqiconset.h>
diff --git a/src/gui/editors/segment/TrackEditor.cpp b/src/gui/editors/segment/TrackEditor.cpp
index 0638aba..c4e13a2 100644
--- a/src/gui/editors/segment/TrackEditor.cpp
+++ b/src/gui/editors/segment/TrackEditor.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeconfig.h>
#include <kstddirs.h>
#include "misc/Debug.h"
@@ -62,8 +62,8 @@
#include "TrackEditorIface.h"
#include <dcopobject.h>
#include <kcommand.h>
-#include <kglobal.h>
-#include <kmessagebox.h>
+#include <tdeglobal.h>
+#include <tdemessagebox.h>
#include <tqapplication.h>
#include <tqcursor.h>
#include <tqfont.h>
diff --git a/src/gui/editors/segment/TrackLabel.cpp b/src/gui/editors/segment/TrackLabel.cpp
index 49b3afc..5adc1af 100644
--- a/src/gui/editors/segment/TrackLabel.cpp
+++ b/src/gui/editors/segment/TrackLabel.cpp
@@ -25,7 +25,7 @@
#include "TrackLabel.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Track.h"
#include <klineeditdlg.h>
#include <tqfont.h>
diff --git a/src/gui/editors/segment/TriggerSegmentManager.cpp b/src/gui/editors/segment/TriggerSegmentManager.cpp
index c26cc15..3435abd 100644
--- a/src/gui/editors/segment/TriggerSegmentManager.cpp
+++ b/src/gui/editors/segment/TriggerSegmentManager.cpp
@@ -29,7 +29,7 @@
#include <tdeapplication.h>
#include "base/BaseProperties.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
@@ -49,10 +49,10 @@
#include "gui/general/MidiPitchLabel.h"
#include <tdeaction.h>
#include <kcommand.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tdelistview.h>
#include <tdemainwindow.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tdestdaccel.h>
#include <kstdaction.h>
#include <tdeconfig.h>
diff --git a/src/gui/editors/segment/segmentcanvas/CompositionView.cpp b/src/gui/editors/segment/segmentcanvas/CompositionView.cpp
index 0380d9e..b7cce97 100644
--- a/src/gui/editors/segment/segmentcanvas/CompositionView.cpp
+++ b/src/gui/editors/segment/segmentcanvas/CompositionView.cpp
@@ -46,7 +46,7 @@
#include "SegmentSelector.h"
#include "SegmentToolBox.h"
#include "SegmentTool.h"
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqbrush.h>
#include <tqcolor.h>
#include <tqevent.h>
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentEraser.cpp b/src/gui/editors/segment/segmentcanvas/SegmentEraser.cpp
index 3c4a7ae..b34fe20 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentEraser.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentEraser.cpp
@@ -36,7 +36,7 @@
#include <kcommand.h>
#include <tqpoint.h>
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
namespace Rosegarden
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentJoiner.cpp b/src/gui/editors/segment/segmentcanvas/SegmentJoiner.cpp
index 71a3ca3..6361a55 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentJoiner.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentJoiner.cpp
@@ -34,7 +34,7 @@
#include <kcommand.h>
#include <tqpoint.h>
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
namespace Rosegarden
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentMover.cpp b/src/gui/editors/segment/segmentcanvas/SegmentMover.cpp
index 04da855..eaf5735 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentMover.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentMover.cpp
@@ -26,7 +26,7 @@
#include "SegmentMover.h"
#include "base/Event.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "base/Composition.h"
#include "base/RealTime.h"
@@ -48,7 +48,7 @@
#include <tqpoint.h>
#include <tqrect.h>
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
namespace Rosegarden
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentOrderer.cpp b/src/gui/editors/segment/segmentcanvas/SegmentOrderer.cpp
index 4262eb9..0b5629e 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentOrderer.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentOrderer.cpp
@@ -28,7 +28,7 @@
#include "misc/Debug.h"
#include "base/Composition.h"
#include "base/Segment.h"
-#include <klocale.h>
+#include <tdelocale.h>
namespace Rosegarden
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentPencil.cpp b/src/gui/editors/segment/segmentcanvas/SegmentPencil.cpp
index 8f4399c..c29bc73 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentPencil.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentPencil.cpp
@@ -41,7 +41,7 @@
#include "gui/general/RosegardenCanvasView.h"
#include "SegmentTool.h"
#include <kcommand.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqcursor.h>
#include <tqevent.h>
#include <tqpoint.h>
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp b/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp
index 4c4c884..befedad 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentResizer.cpp
@@ -26,7 +26,7 @@
#include "SegmentResizer.h"
#include "base/Event.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "base/Composition.h"
#include "base/NotationTypes.h"
@@ -48,7 +48,7 @@
#include "gui/widgets/ProgressDialog.h"
#include "SegmentTool.h"
#include <kcommand.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqcursor.h>
#include <tqevent.h>
#include <tqpoint.h>
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp b/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp
index fe61e78..e8fbae8 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentSelector.cpp
@@ -26,7 +26,7 @@
#include "SegmentSelector.h"
#include "base/Event.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "base/Composition.h"
#include "base/RealTime.h"
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp b/src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp
index d5fe45a..42ba2a3 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentSplitter.cpp
@@ -40,7 +40,7 @@
#include <tqpoint.h>
#include <tqrect.h>
#include <tqstring.h>
-#include <klocale.h>
+#include <tdelocale.h>
namespace Rosegarden
diff --git a/src/gui/editors/segment/segmentcanvas/SegmentToolBox.cpp b/src/gui/editors/segment/segmentcanvas/SegmentToolBox.cpp
index 5ce8a58..ca359c9 100644
--- a/src/gui/editors/segment/segmentcanvas/SegmentToolBox.cpp
+++ b/src/gui/editors/segment/segmentcanvas/SegmentToolBox.cpp
@@ -37,7 +37,7 @@
#include "SegmentResizer.h"
#include "SegmentSplitter.h"
#include <tqstring.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
namespace Rosegarden
{
diff --git a/src/gui/editors/tempo/TempoView.cpp b/src/gui/editors/tempo/TempoView.cpp
index 2041515..bad04b3 100644
--- a/src/gui/editors/tempo/TempoView.cpp
+++ b/src/gui/editors/tempo/TempoView.cpp
@@ -25,7 +25,7 @@
#include "TempoView.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "misc/Debug.h"
#include "base/Composition.h"
@@ -45,7 +45,7 @@
#include "gui/kdeext/KTmpStatusMsg.h"
#include "TempoListItem.h"
#include <tdeaction.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tdeconfig.h>
#include <tdelistview.h>
#include <kxmlguiclient.h>
diff --git a/src/gui/general/EditToolBox.cpp b/src/gui/general/EditToolBox.cpp
index 48fa7e4..19b0714 100644
--- a/src/gui/general/EditToolBox.cpp
+++ b/src/gui/general/EditToolBox.cpp
@@ -30,7 +30,7 @@
#include "EditView.h"
#include <tqobject.h>
#include <tqstring.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
namespace Rosegarden
{
diff --git a/src/gui/general/EditView.cpp b/src/gui/general/EditView.cpp
index 551e48a..0ad2e69 100644
--- a/src/gui/general/EditView.cpp
+++ b/src/gui/general/EditView.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include "base/BaseProperties.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeconfig.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
@@ -82,7 +82,7 @@
#include <tdeaction.h>
#include <kcommand.h>
#include <kdockwidget.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kiconloader.h>
#include <kstddirs.h>
#include <ktabwidget.h>
diff --git a/src/gui/general/EditViewBase.cpp b/src/gui/general/EditViewBase.cpp
index 5194349..0591a8c 100644
--- a/src/gui/general/EditViewBase.cpp
+++ b/src/gui/general/EditViewBase.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "misc/Debug.h"
#include "base/Clipboard.h"
@@ -49,7 +49,7 @@
#include <tdeconfig.h>
#include <kdockwidget.h>
#include <kedittoolbar.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kkeydialog.h>
#include <tdemainwindow.h>
#include <kstatusbar.h>
diff --git a/src/gui/general/MidiPitchLabel.cpp b/src/gui/general/MidiPitchLabel.cpp
index 82667b6..ba42587 100644
--- a/src/gui/general/MidiPitchLabel.cpp
+++ b/src/gui/general/MidiPitchLabel.cpp
@@ -28,7 +28,7 @@
#include "document/ConfigGroups.h"
#include <tdeconfig.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqstring.h>
diff --git a/src/gui/general/PresetGroup.cpp b/src/gui/general/PresetGroup.cpp
index 9eb17ba..353b7d4 100644
--- a/src/gui/general/PresetGroup.cpp
+++ b/src/gui/general/PresetGroup.cpp
@@ -33,9 +33,9 @@
#include "gui/general/ClefIndex.h"
#include "base/Exception.h"
#include "CategoryElement.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqfile.h>
#include <tqfileinfo.h>
#include <tqregexp.h>
diff --git a/src/gui/general/PresetHandlerDialog.cpp b/src/gui/general/PresetHandlerDialog.cpp
index a1ce9d5..1dc7db1 100644
--- a/src/gui/general/PresetHandlerDialog.cpp
+++ b/src/gui/general/PresetHandlerDialog.cpp
@@ -30,7 +30,7 @@
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "document/ConfigGroups.h"
#include "CategoryElement.h"
diff --git a/src/gui/kdeext/KTmpStatusMsg.cpp b/src/gui/kdeext/KTmpStatusMsg.cpp
index 6051009..57214f3 100644
--- a/src/gui/kdeext/KTmpStatusMsg.cpp
+++ b/src/gui/kdeext/KTmpStatusMsg.cpp
@@ -24,7 +24,7 @@
#include <tdemainwindow.h>
#include <kstatusbar.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "KTmpStatusMsg.h"
#include "gui/application/RosegardenApplication.h"
diff --git a/src/gui/rulers/ChordNameRuler.cpp b/src/gui/rulers/ChordNameRuler.cpp
index 26a5145..0854af6 100644
--- a/src/gui/rulers/ChordNameRuler.cpp
+++ b/src/gui/rulers/ChordNameRuler.cpp
@@ -26,7 +26,7 @@
#include "ChordNameRuler.h"
#include "misc/Debug.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "base/AnalysisTypes.h"
#include "base/Composition.h"
diff --git a/src/gui/rulers/ControlChangeCommand.cpp b/src/gui/rulers/ControlChangeCommand.cpp
index 6d90d0d..ccbce4e 100644
--- a/src/gui/rulers/ControlChangeCommand.cpp
+++ b/src/gui/rulers/ControlChangeCommand.cpp
@@ -25,7 +25,7 @@
#include "ControlChangeCommand.h"
#include "ControlItem.h"
#include "misc/Debug.h"
-#include <klocale.h>
+#include <tdelocale.h>
namespace Rosegarden {
diff --git a/src/gui/rulers/ControlRulerEventEraseCommand.cpp b/src/gui/rulers/ControlRulerEventEraseCommand.cpp
index 743ee16..807877d 100644
--- a/src/gui/rulers/ControlRulerEventEraseCommand.cpp
+++ b/src/gui/rulers/ControlRulerEventEraseCommand.cpp
@@ -26,7 +26,7 @@
#include "ControlItem.h"
#include "ElementAdapter.h"
#include "misc/Debug.h"
-#include <klocale.h>
+#include <tdelocale.h>
namespace Rosegarden
{
diff --git a/src/gui/rulers/ControlRulerEventInsertCommand.cpp b/src/gui/rulers/ControlRulerEventInsertCommand.cpp
index ab6a73c..b7302f8 100644
--- a/src/gui/rulers/ControlRulerEventInsertCommand.cpp
+++ b/src/gui/rulers/ControlRulerEventInsertCommand.cpp
@@ -24,7 +24,7 @@
#include "ControlRulerEventInsertCommand.h"
#include "base/MidiTypes.h"
-#include <klocale.h>
+#include <tdelocale.h>
namespace Rosegarden
{
diff --git a/src/gui/rulers/ControllerEventsRuler.cpp b/src/gui/rulers/ControllerEventsRuler.cpp
index fef6e15..d220929 100644
--- a/src/gui/rulers/ControllerEventsRuler.cpp
+++ b/src/gui/rulers/ControllerEventsRuler.cpp
@@ -25,7 +25,7 @@
#include "ControllerEventsRuler.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/ControlParameter.h"
diff --git a/src/gui/rulers/LoopRuler.cpp b/src/gui/rulers/LoopRuler.cpp
index cd6932e..eb012c5 100644
--- a/src/gui/rulers/LoopRuler.cpp
+++ b/src/gui/rulers/LoopRuler.cpp
@@ -36,7 +36,7 @@
#include <tqsize.h>
#include <tqwidget.h>
#include <tqtooltip.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeaction.h>
#include <tqpainter.h>
#include <tqpointarray.h>
diff --git a/src/gui/rulers/MarkerRuler.cpp b/src/gui/rulers/MarkerRuler.cpp
index 7bb97eb..16ad5ba 100644
--- a/src/gui/rulers/MarkerRuler.cpp
+++ b/src/gui/rulers/MarkerRuler.cpp
@@ -48,7 +48,7 @@
#include <tqsize.h>
#include <tqstring.h>
#include <tqwidget.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tdeaction.h>
#include <kstddirs.h>
#include <tqtooltip.h>
diff --git a/src/gui/rulers/PropertyViewRuler.cpp b/src/gui/rulers/PropertyViewRuler.cpp
index 2a39713..3e74c36 100644
--- a/src/gui/rulers/PropertyViewRuler.cpp
+++ b/src/gui/rulers/PropertyViewRuler.cpp
@@ -26,7 +26,7 @@
#include "PropertyViewRuler.h"
#include "base/Event.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "base/PropertyName.h"
#include "base/RulerScale.h"
diff --git a/src/gui/rulers/RawNoteRuler.cpp b/src/gui/rulers/RawNoteRuler.cpp
index 30029bc..a9c8187 100644
--- a/src/gui/rulers/RawNoteRuler.cpp
+++ b/src/gui/rulers/RawNoteRuler.cpp
@@ -34,7 +34,7 @@
#include "base/Segment.h"
#include "DefaultVelocityColour.h"
#include "gui/general/GUIPalette.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqcolor.h>
#include <tqpainter.h>
#include <tqrect.h>
diff --git a/src/gui/rulers/StandardRuler.cpp b/src/gui/rulers/StandardRuler.cpp
index 4869d84..e943ec7 100644
--- a/src/gui/rulers/StandardRuler.cpp
+++ b/src/gui/rulers/StandardRuler.cpp
@@ -25,7 +25,7 @@
#include "StandardRuler.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "MarkerRuler.h"
#include "base/RulerScale.h"
diff --git a/src/gui/rulers/TempoRuler.cpp b/src/gui/rulers/TempoRuler.cpp
index fe81cf2..18b1ab3 100644
--- a/src/gui/rulers/TempoRuler.cpp
+++ b/src/gui/rulers/TempoRuler.cpp
@@ -25,7 +25,7 @@
#include "TempoRuler.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "misc/Debug.h"
#include "base/Composition.h"
@@ -41,7 +41,7 @@
#include "gui/widgets/TextFloat.h"
#include "TempoColour.h"
#include <tdeaction.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <kxmlguiclient.h>
#include <kxmlguifactory.h>
#include <tqcolor.h>
diff --git a/src/gui/seqmanager/CompositionMmapper.cpp b/src/gui/seqmanager/CompositionMmapper.cpp
index 543959d..c86fbab 100644
--- a/src/gui/seqmanager/CompositionMmapper.cpp
+++ b/src/gui/seqmanager/CompositionMmapper.cpp
@@ -33,7 +33,7 @@
#include "gui/application/RosegardenApplication.h"
#include "SegmentMmapperFactory.h"
#include "SegmentMmapper.h"
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqdir.h>
#include <tqfile.h>
#include <tqstring.h>
diff --git a/src/gui/seqmanager/ControlBlockMmapper.cpp b/src/gui/seqmanager/ControlBlockMmapper.cpp
index 2d64c57..ec4810b 100644
--- a/src/gui/seqmanager/ControlBlockMmapper.cpp
+++ b/src/gui/seqmanager/ControlBlockMmapper.cpp
@@ -34,7 +34,7 @@
#include "base/Track.h"
#include "document/RosegardenGUIDoc.h"
#include "sound/ControlBlock.h"
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqfile.h>
#include <tqstring.h>
#include <sys/types.h>
diff --git a/src/gui/seqmanager/MetronomeMmapper.cpp b/src/gui/seqmanager/MetronomeMmapper.cpp
index ab46191..196c481 100644
--- a/src/gui/seqmanager/MetronomeMmapper.cpp
+++ b/src/gui/seqmanager/MetronomeMmapper.cpp
@@ -41,7 +41,7 @@
#include "SegmentMmapper.h"
#include "sound/MappedEvent.h"
#include <tdeconfig.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqstring.h>
#include <algorithm>
diff --git a/src/gui/seqmanager/MidiFilterDialog.cpp b/src/gui/seqmanager/MidiFilterDialog.cpp
index 0227eff..1988f2a 100644
--- a/src/gui/seqmanager/MidiFilterDialog.cpp
+++ b/src/gui/seqmanager/MidiFilterDialog.cpp
@@ -25,7 +25,7 @@
#include "MidiFilterDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/MidiProgram.h"
#include "base/NotationTypes.h"
#include "document/RosegardenGUIDoc.h"
diff --git a/src/gui/seqmanager/SequenceManager.cpp b/src/gui/seqmanager/SequenceManager.cpp
index e0b0b2d..cc6d52b 100644
--- a/src/gui/seqmanager/SequenceManager.cpp
+++ b/src/gui/seqmanager/SequenceManager.cpp
@@ -61,11 +61,11 @@
#include "sound/SoundDriver.h"
#include "TempoSegmentMmapper.h"
#include "TimeSigSegmentMmapper.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include <tdeconfig.h>
-#include <kglobal.h>
-#include <kmessagebox.h>
+#include <tdeglobal.h>
+#include <tdemessagebox.h>
#include <tqapplication.h>
#include <tqcstring.h>
#include <tqcursor.h>
diff --git a/src/gui/seqmanager/SpecialSegmentMmapper.cpp b/src/gui/seqmanager/SpecialSegmentMmapper.cpp
index e556820..45a87fd 100644
--- a/src/gui/seqmanager/SpecialSegmentMmapper.cpp
+++ b/src/gui/seqmanager/SpecialSegmentMmapper.cpp
@@ -31,7 +31,7 @@
#include "base/TriggerSegment.h"
#include "document/RosegardenGUIDoc.h"
#include "SegmentMmapper.h"
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqstring.h>
diff --git a/src/gui/studio/AudioMixerWindow.cpp b/src/gui/studio/AudioMixerWindow.cpp
index f983cb9..abdb387 100644
--- a/src/gui/studio/AudioMixerWindow.cpp
+++ b/src/gui/studio/AudioMixerWindow.cpp
@@ -54,10 +54,10 @@
#include "sound/MappedCommon.h"
#include "sound/MappedEvent.h"
#include "sound/MappedStudio.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include <tdeaction.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tdemainwindow.h>
#include <kstdaction.h>
#include <tqaccel.h>
diff --git a/src/gui/studio/AudioPluginOSCGUIManager.cpp b/src/gui/studio/AudioPluginOSCGUIManager.cpp
index 7b8bbd3..0a0ab7e 100644
--- a/src/gui/studio/AudioPluginOSCGUIManager.cpp
+++ b/src/gui/studio/AudioPluginOSCGUIManager.cpp
@@ -30,7 +30,7 @@
#include "AudioPluginOSCGUIManager.h"
#include "sound/Midi.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "AudioPluginOSCGUI.h"
diff --git a/src/gui/studio/BankEditorDialog.cpp b/src/gui/studio/BankEditorDialog.cpp
index 14a0636..40937c2 100644
--- a/src/gui/studio/BankEditorDialog.cpp
+++ b/src/gui/studio/BankEditorDialog.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
@@ -51,10 +51,10 @@
#include <kcombobox.h>
#include <kcommand.h>
#include <tdefiledialog.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tdelistview.h>
#include <tdemainwindow.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tdestdaccel.h>
#include <kstdaction.h>
#include <kxmlguiclient.h>
diff --git a/src/gui/studio/ChangeRecordDeviceCommand.h b/src/gui/studio/ChangeRecordDeviceCommand.h
index 70819db..cb47c22 100644
--- a/src/gui/studio/ChangeRecordDeviceCommand.h
+++ b/src/gui/studio/ChangeRecordDeviceCommand.h
@@ -26,7 +26,7 @@
#define _RG_CHANGERECORDDEVICECOMMAND_H_
#include "base/Studio.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <kcommand.h>
namespace Rosegarden
diff --git a/src/gui/studio/DeviceEditorDialog.cpp b/src/gui/studio/DeviceEditorDialog.cpp
index dc80ff6..9d19cc0 100644
--- a/src/gui/studio/DeviceEditorDialog.cpp
+++ b/src/gui/studio/DeviceEditorDialog.cpp
@@ -25,7 +25,7 @@
#include "DeviceEditorDialog.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/Device.h"
@@ -38,7 +38,7 @@
#include "document/MultiViewCommandHistory.h"
#include "gui/application/RosegardenApplication.h"
#include <kdialogbase.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tqcstring.h>
#include <tqdatastream.h>
#include <tqhbox.h>
diff --git a/src/gui/studio/DeviceManagerDialog.cpp b/src/gui/studio/DeviceManagerDialog.cpp
index 8c8f160..0bc9b8d 100644
--- a/src/gui/studio/DeviceManagerDialog.cpp
+++ b/src/gui/studio/DeviceManagerDialog.cpp
@@ -45,13 +45,13 @@
#include "gui/dialogs/ExportDeviceDialog.h"
#include "gui/dialogs/ImportDeviceDialog.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include <tdeaction.h>
#include <tdefiledialog.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tdemainwindow.h>
-#include <kmessagebox.h>
+#include <tdemessagebox.h>
#include <tdestdaccel.h>
#include <kstdaction.h>
#include <tqcstring.h>
diff --git a/src/gui/studio/MidiBankListViewItem.cpp b/src/gui/studio/MidiBankListViewItem.cpp
index 599eb9e..b568772 100644
--- a/src/gui/studio/MidiBankListViewItem.cpp
+++ b/src/gui/studio/MidiBankListViewItem.cpp
@@ -25,7 +25,7 @@
#include "MidiBankListViewItem.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Device.h"
#include "MidiDeviceListViewItem.h"
#include "MidiKeyMapListViewItem.h"
diff --git a/src/gui/studio/MidiDeviceListViewItem.cpp b/src/gui/studio/MidiDeviceListViewItem.cpp
index bfece9e..e155568 100644
--- a/src/gui/studio/MidiDeviceListViewItem.cpp
+++ b/src/gui/studio/MidiDeviceListViewItem.cpp
@@ -25,7 +25,7 @@
#include "MidiDeviceListViewItem.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/Device.h"
#include <tqlistview.h>
#include <tqstring.h>
diff --git a/src/gui/studio/MidiKeyMapListViewItem.cpp b/src/gui/studio/MidiKeyMapListViewItem.cpp
index dd77055..9136d80 100644
--- a/src/gui/studio/MidiKeyMapListViewItem.cpp
+++ b/src/gui/studio/MidiKeyMapListViewItem.cpp
@@ -28,7 +28,7 @@
#include "MidiDeviceListViewItem.h"
#include "MidiBankListViewItem.h"
#include "base/Device.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqstring.h>
diff --git a/src/gui/studio/MidiKeyMappingEditor.cpp b/src/gui/studio/MidiKeyMappingEditor.cpp
index 0a607ad..11c8c6b 100644
--- a/src/gui/studio/MidiKeyMappingEditor.cpp
+++ b/src/gui/studio/MidiKeyMappingEditor.cpp
@@ -25,7 +25,7 @@
#include "MidiKeyMappingEditor.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "BankEditorDialog.h"
diff --git a/src/gui/studio/MidiMixerWindow.cpp b/src/gui/studio/MidiMixerWindow.cpp
index 088369b..0c62685 100644
--- a/src/gui/studio/MidiMixerWindow.cpp
+++ b/src/gui/studio/MidiMixerWindow.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include "sound/Midi.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "misc/Strings.h"
#include "base/Colour.h"
diff --git a/src/gui/studio/MidiProgramsEditor.cpp b/src/gui/studio/MidiProgramsEditor.cpp
index 25cad16..21ea94a 100644
--- a/src/gui/studio/MidiProgramsEditor.cpp
+++ b/src/gui/studio/MidiProgramsEditor.cpp
@@ -34,9 +34,9 @@
#include "base/MidiProgram.h"
#include "gui/widgets/RosegardenPopupMenu.h"
#include <kcompletion.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <klineedit.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include <tqcheckbox.h>
#include <tqcursor.h>
diff --git a/src/gui/studio/NameSetEditor.cpp b/src/gui/studio/NameSetEditor.cpp
index d349543..5f8438d 100644
--- a/src/gui/studio/NameSetEditor.cpp
+++ b/src/gui/studio/NameSetEditor.cpp
@@ -26,9 +26,9 @@
#include "NameSetEditor.h"
#include "BankEditorDialog.h"
#include <kcompletion.h>
-#include <kglobalsettings.h>
+#include <tdeglobalsettings.h>
#include <klineedit.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqframe.h>
#include <tqgroupbox.h>
#include <tqhbox.h>
diff --git a/src/gui/studio/RemapInstrumentDialog.cpp b/src/gui/studio/RemapInstrumentDialog.cpp
index a957650..b06d334 100644
--- a/src/gui/studio/RemapInstrumentDialog.cpp
+++ b/src/gui/studio/RemapInstrumentDialog.cpp
@@ -38,7 +38,7 @@
#include <kcombobox.h>
#include <kcommand.h>
#include <kdialogbase.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqbuttongroup.h>
#include <tqgroupbox.h>
#include <tqlabel.h>
diff --git a/src/gui/studio/SynthPluginManagerDialog.cpp b/src/gui/studio/SynthPluginManagerDialog.cpp
index ba57efc..6d0d14a 100644
--- a/src/gui/studio/SynthPluginManagerDialog.cpp
+++ b/src/gui/studio/SynthPluginManagerDialog.cpp
@@ -26,7 +26,7 @@
#include "SynthPluginManagerDialog.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "AudioPlugin.h"
#include "AudioPluginManager.h"
diff --git a/src/gui/widgets/AudioFaderBox.cpp b/src/gui/widgets/AudioFaderBox.cpp
index 3313a79..070e334 100644
--- a/src/gui/widgets/AudioFaderBox.cpp
+++ b/src/gui/widgets/AudioFaderBox.cpp
@@ -26,7 +26,7 @@
#include "AudioFaderBox.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <kstddirs.h>
#include "misc/Debug.h"
#include "AudioRouteMenu.h"
@@ -39,7 +39,7 @@
#include "gui/application/RosegardenGUIApp.h"
#include "gui/studio/AudioPluginOSCGUIManager.h"
#include "Rotary.h"
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqframe.h>
#include <tqhbox.h>
#include <tqlabel.h>
diff --git a/src/gui/widgets/AudioRouteMenu.cpp b/src/gui/widgets/AudioRouteMenu.cpp
index 89cd416..8c3adce 100644
--- a/src/gui/widgets/AudioRouteMenu.cpp
+++ b/src/gui/widgets/AudioRouteMenu.cpp
@@ -33,7 +33,7 @@
#include "sound/MappedCommon.h"
#include "sound/MappedStudio.h"
#include <kcombobox.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqcursor.h>
#include <tqobject.h>
#include <tqpoint.h>
diff --git a/src/gui/widgets/CollapsingFrame.cpp b/src/gui/widgets/CollapsingFrame.cpp
index 93fc146..804fa31 100644
--- a/src/gui/widgets/CollapsingFrame.cpp
+++ b/src/gui/widgets/CollapsingFrame.cpp
@@ -27,7 +27,7 @@
#include <tdeapplication.h>
#include <kstddirs.h>
#include <tdeconfig.h>
-#include <kglobal.h>
+#include <tdeglobal.h>
#include <tqfont.h>
#include <tqframe.h>
#include <tqlayout.h>
diff --git a/src/gui/widgets/ColourTable.cpp b/src/gui/widgets/ColourTable.cpp
index 2cceca4..8855166 100644
--- a/src/gui/widgets/ColourTable.cpp
+++ b/src/gui/widgets/ColourTable.cpp
@@ -25,7 +25,7 @@
#include "ColourTable.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Strings.h"
#include "base/ColourMap.h"
#include "ColourTableItem.h"
diff --git a/src/gui/widgets/DiatonicPitchChooser.cpp b/src/gui/widgets/DiatonicPitchChooser.cpp
index 539a8fb..091ef8b 100644
--- a/src/gui/widgets/DiatonicPitchChooser.cpp
+++ b/src/gui/widgets/DiatonicPitchChooser.cpp
@@ -26,7 +26,7 @@
#include "DiatonicPitchChooser.h"
#include <iostream>
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/NotationRules.h"
#include "base/NotationTypes.h"
#include "gui/general/MidiPitchLabel.h"
diff --git a/src/gui/widgets/PitchChooser.cpp b/src/gui/widgets/PitchChooser.cpp
index 869d11c..3ecc632 100644
--- a/src/gui/widgets/PitchChooser.cpp
+++ b/src/gui/widgets/PitchChooser.cpp
@@ -25,7 +25,7 @@
#include "PitchChooser.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include "gui/general/MidiPitchLabel.h"
#include "PitchDragLabel.h"
#include <tqgroupbox.h>
diff --git a/src/gui/widgets/ProgressDialog.cpp b/src/gui/widgets/ProgressDialog.cpp
index 7cef518..e01368b 100644
--- a/src/gui/widgets/ProgressDialog.cpp
+++ b/src/gui/widgets/ProgressDialog.cpp
@@ -27,7 +27,7 @@
#include "CurrentProgressDialog.h"
#include "misc/Debug.h"
#include "gui/application/RosegardenApplication.h"
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqcursor.h>
#include <tqprogressdialog.h>
#include <tqstring.h>
diff --git a/src/gui/widgets/QuantizeParameters.cpp b/src/gui/widgets/QuantizeParameters.cpp
index 5a6076f..adc52a9 100644
--- a/src/gui/widgets/QuantizeParameters.cpp
+++ b/src/gui/widgets/QuantizeParameters.cpp
@@ -27,7 +27,7 @@
#include <tqlayout.h>
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "base/NotationTypes.h"
#include "base/Quantizer.h"
#include "base/BasicQuantizer.h"
diff --git a/src/gui/widgets/Rotary.cpp b/src/gui/widgets/Rotary.cpp
index f1475c4..0090500 100644
--- a/src/gui/widgets/Rotary.cpp
+++ b/src/gui/widgets/Rotary.cpp
@@ -30,7 +30,7 @@
#include "gui/general/GUIPalette.h"
#include "TextFloat.h"
#include <tdeapplication.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include <tqbrush.h>
#include <tqcolor.h>
#include <tqdialog.h>
diff --git a/src/gui/widgets/TimeWidget.cpp b/src/gui/widgets/TimeWidget.cpp
index 0edc963..4ea48dd 100644
--- a/src/gui/widgets/TimeWidget.cpp
+++ b/src/gui/widgets/TimeWidget.cpp
@@ -26,7 +26,7 @@
#include "TimeWidget.h"
#include <tqlayout.h>
-#include <klocale.h>
+#include <tdelocale.h>
#include "misc/Debug.h"
#include "base/Composition.h"
#include "base/NotationTypes.h"