Ui.h
Код: Выделить всё
class UI {
public:
UI();
virtual ~UI();
// bunch of methods
private:
UIImpl* m_impl;
}
< /code>
uiimpl.h
class UIImpl
{
public:
UIImpl( ...) ;
......
}
< /code>
uiimpl.cpp
#include "UIImpl.h"
UIImpl::UIImpl()
{
//Actual Implementation
...
}
Подробнее здесь: https://stackoverflow.com/questions/185 ... -the-class