src/hierarchyelement.h

Mon, 31 Aug 2015 23:36:08 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 31 Aug 2015 23:36:08 +0300
changeset 977
dc3ceb65cda7
parent 974
b2fa5f89798a
child 978
4603d8fd063e
permissions
-rw-r--r--

More refactor and removal of g_win uses

#pragma once
#include <QObject>

class MainWindow;
class ConfigurationValueBag;
class GuiUtilities;

//
// Objects that are to take part in the MainWindow's hierarchy multiple-inherit from this class to get a few useful
// pointer members.
//
class HierarchyElement
{
public:
	HierarchyElement (QObject* parent);

	GuiUtilities* guiUtilities() const;

protected:
	MainWindow* m_window;
	ConfigurationValueBag* m_config;
};

mercurial