summaryrefslogtreecommitdiffstats
path: root/src/gui/editors/segment/TriggerSegmentManager.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:05:43 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:05:43 -0600
commitfb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca (patch)
tree5785d2ccbdfbe2f44d02fec75b4a51f5079a4b62 /src/gui/editors/segment/TriggerSegmentManager.cpp
parentacf699af8244896500e654cccdc8aae7e5b545db (diff)
downloadrosegarden-fb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca.tar.gz
rosegarden-fb3718a55f355cd22f9eb9fa4e89cd3b84b8c9ca.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'src/gui/editors/segment/TriggerSegmentManager.cpp')
-rw-r--r--src/gui/editors/segment/TriggerSegmentManager.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/gui/editors/segment/TriggerSegmentManager.cpp b/src/gui/editors/segment/TriggerSegmentManager.cpp
index 8bfb621..ca05d84 100644
--- a/src/gui/editors/segment/TriggerSegmentManager.cpp
+++ b/src/gui/editors/segment/TriggerSegmentManager.cpp
@@ -75,7 +75,7 @@ namespace Rosegarden
TriggerSegmentManager::TriggerSegmentManager(TQWidget *parent,
RosegardenGUIDoc *doc):
- KMainWindow(parent, "triggereditordialog"),
+ TDEMainWindow(parent, "triggereditordialog"),
m_doc(doc),
m_modified(false)
{
@@ -84,7 +84,7 @@ TriggerSegmentManager::TriggerSegmentManager(TQWidget *parent,
setCaption(i18n("Manage Triggered Segments"));
- m_listView = new KListView(mainFrame);
+ m_listView = new TDEListView(mainFrame);
m_listView->addColumn("Index");
m_listView->addColumn(i18n("ID"));
m_listView->addColumn(i18n("Label"));
@@ -375,7 +375,7 @@ TriggerSegmentManager::slotClose()
void
TriggerSegmentManager::setupActions()
{
- KAction* close = KStdAction::close(TQT_TQOBJECT(this),
+ TDEAction* close = KStdAction::close(TQT_TQOBJECT(this),
TQT_SLOT(slotClose()),
actionCollection());
@@ -385,31 +385,31 @@ TriggerSegmentManager::setupActions()
TQString pixmapDir = TDEGlobal::dirs()->findResource("appdata", "pixmaps/");
// some adjustments
- new KToolBarPopupAction(i18n("Und&o"),
+ new TDEToolBarPopupAction(i18n("Und&o"),
"undo",
- KStdAccel::key(KStdAccel::Undo),
+ TDEStdAccel::key(TDEStdAccel::Undo),
actionCollection(),
KStdAction::stdName(KStdAction::Undo));
- new KToolBarPopupAction(i18n("Re&do"),
+ new TDEToolBarPopupAction(i18n("Re&do"),
"redo",
- KStdAccel::key(KStdAccel::Redo),
+ TDEStdAccel::key(TDEStdAccel::Redo),
actionCollection(),
KStdAction::stdName(KStdAction::Redo));
- new KAction(i18n("Pa&ste as New Triggered Segment"), CTRL + SHIFT + Key_V, TQT_TQOBJECT(this),
+ new TDEAction(i18n("Pa&ste as New Triggered Segment"), CTRL + SHIFT + Key_V, TQT_TQOBJECT(this),
TQT_SLOT(slotPasteAsNew()), actionCollection(),
"paste_to_trigger_segment");
kapp->config()->setGroup(TriggerManagerConfigGroup);
int timeMode = kapp->config()->readNumEntry("timemode", 0);
- KRadioAction *action;
+ TDERadioAction *action;
TQCanvasPixmap pixmap(pixmapDir + "/toolbar/time-musical.png");
TQIconSet icon(pixmap);
- action = new KRadioAction(i18n("&Musical Times"), icon, 0, TQT_TQOBJECT(this),
+ action = new TDERadioAction(i18n("&Musical Times"), icon, 0, TQT_TQOBJECT(this),
TQT_SLOT(slotMusicalTime()),
actionCollection(), "time_musical");
action->setExclusiveGroup("timeMode");
@@ -419,7 +419,7 @@ TriggerSegmentManager::setupActions()
pixmap.load(pixmapDir + "/toolbar/time-real.png");
icon = TQIconSet(pixmap);
- action = new KRadioAction(i18n("&Real Times"), icon, 0, TQT_TQOBJECT(this),
+ action = new TDERadioAction(i18n("&Real Times"), icon, 0, TQT_TQOBJECT(this),
TQT_SLOT(slotRealTime()),
actionCollection(), "time_real");
action->setExclusiveGroup("timeMode");
@@ -429,7 +429,7 @@ TriggerSegmentManager::setupActions()
pixmap.load(pixmapDir + "/toolbar/time-raw.png");
icon = TQIconSet(pixmap);
- action = new KRadioAction(i18n("Ra&w Times"), icon, 0, TQT_TQOBJECT(this),
+ action = new TDERadioAction(i18n("Ra&w Times"), icon, 0, TQT_TQOBJECT(this),
TQT_SLOT(slotRawTime()),
actionCollection(), "time_raw");
action->setExclusiveGroup("timeMode");
@@ -490,7 +490,7 @@ void
TriggerSegmentManager::closeEvent(TQCloseEvent *e)
{
emit closing();
- KMainWindow::closeEvent(e);
+ TDEMainWindow::closeEvent(e);
}
void