src/hierarchyelement.h

Mon, 31 Aug 2015 20:50:12 +0300

author
Teemu Piippo <crimsondusk64@gmail.com>
date
Mon, 31 Aug 2015 20:50:12 +0300
changeset 971
c00f9665a9f8
parent 970
c8aae45afd85
child 974
b2fa5f89798a
permissions
-rw-r--r--

Now compiles and links but crashes shortly after startup.

#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