diff options
Diffstat (limited to 'src/gui/editors/segment')
-rw-r--r-- | src/gui/editors/segment/ControlEditorDialog.cpp | 16 | ||||
-rw-r--r-- | src/gui/editors/segment/ControlEditorDialog.h | 6 | ||||
-rw-r--r-- | src/gui/editors/segment/ControlParameterItem.h | 4 | ||||
-rw-r--r-- | src/gui/editors/segment/MarkerEditor.cpp | 24 | ||||
-rw-r--r-- | src/gui/editors/segment/MarkerEditor.h | 6 | ||||
-rw-r--r-- | src/gui/editors/segment/MarkerEditorViewItem.cpp | 4 | ||||
-rw-r--r-- | src/gui/editors/segment/MarkerEditorViewItem.h | 4 | ||||
-rw-r--r-- | src/gui/editors/segment/PlayListView.cpp | 4 | ||||
-rw-r--r-- | src/gui/editors/segment/PlayListView.h | 2 | ||||
-rw-r--r-- | src/gui/editors/segment/PlayListViewItem.cpp | 8 | ||||
-rw-r--r-- | src/gui/editors/segment/PlayListViewItem.h | 6 | ||||
-rw-r--r-- | src/gui/editors/segment/TriggerSegmentManager.cpp | 26 | ||||
-rw-r--r-- | src/gui/editors/segment/TriggerSegmentManager.h | 6 | ||||
-rw-r--r-- | src/gui/editors/segment/segmentcanvas/SegmentTool.cpp | 2 |
14 files changed, 59 insertions, 59 deletions
diff --git a/src/gui/editors/segment/ControlEditorDialog.cpp b/src/gui/editors/segment/ControlEditorDialog.cpp index 7818efd..8a10ace 100644 --- a/src/gui/editors/segment/ControlEditorDialog.cpp +++ b/src/gui/editors/segment/ControlEditorDialog.cpp @@ -75,7 +75,7 @@ const TQString notShowing(i18n("<not showing>")); ControlEditorDialog::ControlEditorDialog(TQWidget *parent, RosegardenGUIDoc *doc, DeviceId device): - KMainWindow(parent, "controleditordialog"), + TDEMainWindow(parent, "controleditordialog"), m_studio(&doc->getStudio()), m_doc(doc), m_device(device), @@ -100,7 +100,7 @@ ControlEditorDialog::ControlEditorDialog(TQWidget *parent, arg(device), mainFrame); new TQLabel("", mainFrame); - m_listView = new KListView(mainFrame); + m_listView = new TDEListView(mainFrame); m_listView->addColumn(i18n("Control Event name ")); m_listView->addColumn(i18n("Control Event type ")); m_listView->addColumn(i18n("Control Event value ")); @@ -337,7 +337,7 @@ ControlEditorDialog::slotClose() void ControlEditorDialog::setupActions() { - KAction* close = KStdAction::close(TQT_TQOBJECT(this), + TDEAction* close = KStdAction::close(TQT_TQOBJECT(this), TQT_SLOT(slotClose()), actionCollection()); @@ -345,15 +345,15 @@ ControlEditorDialog::setupActions() connect(m_closeButton, TQT_SIGNAL(released()), this, TQT_SLOT(slotClose())); // 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)); @@ -428,7 +428,7 @@ void ControlEditorDialog::closeEvent(TQCloseEvent *e) { emit closing(); - KMainWindow::closeEvent(e); + TDEMainWindow::closeEvent(e); } void diff --git a/src/gui/editors/segment/ControlEditorDialog.h b/src/gui/editors/segment/ControlEditorDialog.h index f606210..7b7b0b6 100644 --- a/src/gui/editors/segment/ControlEditorDialog.h +++ b/src/gui/editors/segment/ControlEditorDialog.h @@ -35,7 +35,7 @@ class TQWidget; class TQPushButton; class TQListViewItem; class TQCloseEvent; -class KListView; +class TDEListView; class KCommand; @@ -47,7 +47,7 @@ class RosegardenGUIDoc; class MultiViewCommandHistory; -class ControlEditorDialog : public KMainWindow +class ControlEditorDialog : public TDEMainWindow { Q_OBJECT @@ -109,7 +109,7 @@ protected: TQPushButton *m_addButton; TQPushButton *m_deleteButton; - KListView *m_listView; + TDEListView *m_listView; bool m_modified; diff --git a/src/gui/editors/segment/ControlParameterItem.h b/src/gui/editors/segment/ControlParameterItem.h index 7be91b3..2a354d3 100644 --- a/src/gui/editors/segment/ControlParameterItem.h +++ b/src/gui/editors/segment/ControlParameterItem.h @@ -34,7 +34,7 @@ namespace Rosegarden { -class ControlParameterItem : public KListViewItem +class ControlParameterItem : public TDEListViewItem { public: ControlParameterItem(int id, @@ -48,7 +48,7 @@ public: TQString str7, TQString str8, TQString str9): - KListViewItem(parent, str1, str2, str3, str4, str5, str6, str7, str8), + TDEListViewItem(parent, str1, str2, str3, str4, str5, str6, str7, str8), m_id(id) { setText(8, str9); } int getId() const { return m_id; } diff --git a/src/gui/editors/segment/MarkerEditor.cpp b/src/gui/editors/segment/MarkerEditor.cpp index c6c2dd8..2a62a4a 100644 --- a/src/gui/editors/segment/MarkerEditor.cpp +++ b/src/gui/editors/segment/MarkerEditor.cpp @@ -73,7 +73,7 @@ namespace Rosegarden MarkerEditor::MarkerEditor(TQWidget *parent, RosegardenGUIDoc *doc): - KMainWindow(parent, "markereditordialog"), + TDEMainWindow(parent, "markereditordialog"), m_doc(doc), m_modified(false) { @@ -82,7 +82,7 @@ MarkerEditor::MarkerEditor(TQWidget *parent, setCaption(i18n("Manage Markers")); - m_listView = new KListView(mainFrame); + m_listView = new TDEListView(mainFrame); m_listView->addColumn(i18n("Marker time ")); m_listView->addColumn(i18n("Marker text ")); m_listView->addColumn(i18n("Marker description ")); @@ -367,7 +367,7 @@ MarkerEditor::slotClose() void MarkerEditor::setupActions() { - KAction* close = KStdAction::close(TQT_TQOBJECT(this), + TDEAction* close = KStdAction::close(TQT_TQOBJECT(this), TQT_SLOT(slotClose()), actionCollection()); @@ -375,15 +375,15 @@ MarkerEditor::setupActions() connect(m_closeButton, TQT_SIGNAL(released()), this, TQT_SLOT(slotClose())); // 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)); @@ -391,12 +391,12 @@ MarkerEditor::setupActions() kapp->config()->setGroup(MarkerEditorConfigGroup); 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"); @@ -406,7 +406,7 @@ MarkerEditor::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"); @@ -416,7 +416,7 @@ MarkerEditor::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"); @@ -502,7 +502,7 @@ void MarkerEditor::closeEvent(TQCloseEvent *e) { emit closing(); - KMainWindow::closeEvent(e); + TDEMainWindow::closeEvent(e); } void diff --git a/src/gui/editors/segment/MarkerEditor.h b/src/gui/editors/segment/MarkerEditor.h index 3a03af8..71d998f 100644 --- a/src/gui/editors/segment/MarkerEditor.h +++ b/src/gui/editors/segment/MarkerEditor.h @@ -37,7 +37,7 @@ class TQListViewItem; class TQLabel; class TQCloseEvent; class TQAccel; -class KListView; +class TDEListView; class KCommand; @@ -48,7 +48,7 @@ class RosegardenGUIDoc; class MultiViewCommandHistory; -class MarkerEditor : public KMainWindow +class MarkerEditor : public TDEMainWindow { Q_OBJECT @@ -112,7 +112,7 @@ protected: TQPushButton *m_deleteButton; TQPushButton *m_deleteAllButton; - KListView *m_listView; + TDEListView *m_listView; bool m_modified; diff --git a/src/gui/editors/segment/MarkerEditorViewItem.cpp b/src/gui/editors/segment/MarkerEditorViewItem.cpp index 004f9d9..1cc4a0e 100644 --- a/src/gui/editors/segment/MarkerEditorViewItem.cpp +++ b/src/gui/editors/segment/MarkerEditorViewItem.cpp @@ -32,7 +32,7 @@ MarkerEditorViewItem::compare(TQListViewItem * i, int col, bool ascending) const MarkerEditorViewItem *ei = dynamic_cast<MarkerEditorViewItem *>(i); - if (!ei) return KListViewItem::compare(i, col, ascending); + if (!ei) return TDEListViewItem::compare(i, col, ascending); // Raw time sorting on time column // @@ -43,7 +43,7 @@ MarkerEditorViewItem::compare(TQListViewItem * i, int col, bool ascending) const else return 0; } else { - return KListViewItem::compare(i, col, ascending); + return TDEListViewItem::compare(i, col, ascending); } } diff --git a/src/gui/editors/segment/MarkerEditorViewItem.h b/src/gui/editors/segment/MarkerEditorViewItem.h index 1a835c0..ac15b65 100644 --- a/src/gui/editors/segment/MarkerEditorViewItem.h +++ b/src/gui/editors/segment/MarkerEditorViewItem.h @@ -32,7 +32,7 @@ namespace Rosegarden { -class MarkerEditorViewItem : public KListViewItem +class MarkerEditorViewItem : public TDEListViewItem { public: MarkerEditorViewItem(TQListView * parent, int id, @@ -44,7 +44,7 @@ public: TQString label6 = TQString(), TQString label7 = TQString(), TQString label8 = TQString()): - KListViewItem(parent, label1, label2, label3, label4, + TDEListViewItem(parent, label1, label2, label3, label4, label5, label6, label7, label8), m_rawTime(0), m_fake(false), m_id(id) { ; } diff --git a/src/gui/editors/segment/PlayListView.cpp b/src/gui/editors/segment/PlayListView.cpp index ff4d1c8..bbaa4b3 100644 --- a/src/gui/editors/segment/PlayListView.cpp +++ b/src/gui/editors/segment/PlayListView.cpp @@ -30,7 +30,7 @@ namespace Rosegarden { PlayListView::PlayListView(TQWidget *parent, const char *name) - : KListView(parent, name) + : TDEListView(parent, name) { addColumn(i18n("Title")); addColumn(i18n("File name")); @@ -48,7 +48,7 @@ PlayListView::PlayListView(TQWidget *parent, const char *name) bool PlayListView::acceptDrag(TQDropEvent* e) const { - return TQUriDrag::canDecode(e) || KListView::acceptDrag(e); + return TQUriDrag::canDecode(e) || TDEListView::acceptDrag(e); } diff --git a/src/gui/editors/segment/PlayListView.h b/src/gui/editors/segment/PlayListView.h index 43390d0..c4e6aa3 100644 --- a/src/gui/editors/segment/PlayListView.h +++ b/src/gui/editors/segment/PlayListView.h @@ -29,7 +29,7 @@ namespace Rosegarden { -class PlayListView : public KListView +class PlayListView : public TDEListView { public: PlayListView(TQWidget *parent=0, const char *name=0); diff --git a/src/gui/editors/segment/PlayListViewItem.cpp b/src/gui/editors/segment/PlayListViewItem.cpp index ab0c25c..9bcd974 100644 --- a/src/gui/editors/segment/PlayListViewItem.cpp +++ b/src/gui/editors/segment/PlayListViewItem.cpp @@ -26,14 +26,14 @@ namespace Rosegarden { -PlayListViewItem::PlayListViewItem(KListView* parent, KURL kurl) - : KListViewItem(parent, kurl.fileName(), kurl.prettyURL()), +PlayListViewItem::PlayListViewItem(TDEListView* parent, KURL kurl) + : TDEListViewItem(parent, kurl.fileName(), kurl.prettyURL()), m_kurl(kurl) { } -PlayListViewItem::PlayListViewItem(KListView* parent, TQListViewItem* after, KURL kurl) - : KListViewItem(parent, after, kurl.fileName(), kurl.prettyURL()), +PlayListViewItem::PlayListViewItem(TDEListView* parent, TQListViewItem* after, KURL kurl) + : TDEListViewItem(parent, after, kurl.fileName(), kurl.prettyURL()), m_kurl(kurl) { } diff --git a/src/gui/editors/segment/PlayListViewItem.h b/src/gui/editors/segment/PlayListViewItem.h index a622682..ad6c476 100644 --- a/src/gui/editors/segment/PlayListViewItem.h +++ b/src/gui/editors/segment/PlayListViewItem.h @@ -30,11 +30,11 @@ namespace Rosegarden { -class PlayListViewItem : public KListViewItem +class PlayListViewItem : public TDEListViewItem { public: - PlayListViewItem(KListView* parent, KURL); - PlayListViewItem(KListView* parent, TQListViewItem*, KURL); + PlayListViewItem(TDEListView* parent, KURL); + PlayListViewItem(TDEListView* parent, TQListViewItem*, KURL); const KURL& getURL() { return m_kurl; } 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 diff --git a/src/gui/editors/segment/TriggerSegmentManager.h b/src/gui/editors/segment/TriggerSegmentManager.h index 0ec42bd..35fd847 100644 --- a/src/gui/editors/segment/TriggerSegmentManager.h +++ b/src/gui/editors/segment/TriggerSegmentManager.h @@ -36,7 +36,7 @@ class TQPushButton; class TQListViewItem; class TQCloseEvent; class TQAccel; -class KListView; +class TDEListView; class KCommand; @@ -47,7 +47,7 @@ class RosegardenGUIDoc; class MultiViewCommandHistory; -class TriggerSegmentManager : public KMainWindow +class TriggerSegmentManager : public TDEMainWindow { Q_OBJECT @@ -104,7 +104,7 @@ protected: TQPushButton *m_deleteButton; TQPushButton *m_deleteAllButton; - KListView *m_listView; + TDEListView *m_listView; bool m_modified; diff --git a/src/gui/editors/segment/segmentcanvas/SegmentTool.cpp b/src/gui/editors/segment/segmentcanvas/SegmentTool.cpp index 85800b2..9565553 100644 --- a/src/gui/editors/segment/segmentcanvas/SegmentTool.cpp +++ b/src/gui/editors/segment/segmentcanvas/SegmentTool.cpp @@ -42,7 +42,7 @@ namespace Rosegarden { SegmentTool::SegmentTool(CompositionView* canvas, RosegardenGUIDoc *doc) - : BaseTool("segment_tool_menu", dynamic_cast<KMainWindow*>(doc->parent())->factory(), TQT_TQOBJECT(canvas)), + : BaseTool("segment_tool_menu", dynamic_cast<TDEMainWindow*>(doc->parent())->factory(), TQT_TQOBJECT(canvas)), m_canvas(canvas), m_doc(doc), m_changeMade(false) |