summaryrefslogtreecommitdiffstats
path: root/src/gui/rulers/MarkerRuler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/rulers/MarkerRuler.cpp')
-rw-r--r--src/gui/rulers/MarkerRuler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/rulers/MarkerRuler.cpp b/src/gui/rulers/MarkerRuler.cpp
index f572e64..f20cc73 100644
--- a/src/gui/rulers/MarkerRuler.cpp
+++ b/src/gui/rulers/MarkerRuler.cpp
@@ -73,7 +73,7 @@ MarkerRuler::MarkerRuler(RosegardenGUIDoc *doc,
m_menu(0),
m_doc(doc),
m_rulerScale(rulerScale),
- m_tqparentMainWindow(dynamic_cast<KMainWindow*>(doc->tqparent()))
+ m_parentMainWindow(dynamic_cast<KMainWindow*>(doc->tqparent()))
{
// If the tqparent window has a main window above it, we need to use
// that as the tqparent main window, not the document's tqparent.
@@ -82,7 +82,7 @@ MarkerRuler::MarkerRuler(RosegardenGUIDoc *doc,
// we're in.
TQObject *probe = TQT_TQOBJECT(tqparent);
while (probe && !dynamic_cast<KMainWindow *>(probe)) probe = probe->tqparent();
- if (probe) m_tqparentMainWindow = dynamic_cast<KMainWindow *>(probe);
+ if (probe) m_parentMainWindow = dynamic_cast<KMainWindow *>(probe);
// m_barFont = new TQFont("helvetica", 12);
// m_barFont->setPixelSize(12);
@@ -124,7 +124,7 @@ MarkerRuler::~MarkerRuler()
delete m_barFont;
// we have to do this so that the menu is re-created properly
// when the main window is itself recreated (on a File->New for instance)
- KXMLGUIFactory* factory = m_tqparentMainWindow->factory();
+ KXMLGUIFactory* factory = m_parentMainWindow->factory();
if (factory)
factory->removeClient(this);
}
@@ -134,7 +134,7 @@ MarkerRuler::createMenu()
{
setXMLFile("markerruler.rc");
- KXMLGUIFactory* factory = m_tqparentMainWindow->factory();
+ KXMLGUIFactory* factory = m_parentMainWindow->factory();
factory->addClient(this);
TQWidget* tmp = factory->container("marker_ruler_menu", this);