src/hierarchyelement.h

Mon, 31 Aug 2015 04:57:16 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 31 Aug 2015 04:57:16 +0300
changeset 970
c8aae45afd85
child 974
b2fa5f89798a
permissions
-rw-r--r--

Commit configuration rework (doesn't work yet, more than most probably doesn't compile either)

#pragma once
#include <QObject>

class MainWindow;
class ConfigurationValueBag;

//
// 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);

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

mercurial