Menu => md namespace.

This commit is contained in:
Achraf k 2022-02-17 02:30:43 +01:00
parent 792f3cfa24
commit d11d642cfe
5 changed files with 26 additions and 5 deletions

View File

@ -1,11 +1,17 @@
#include "qtmaterialmenu.h" #include "qtmaterialmenu.h"
#include "qtmaterialmenu_p.h" #include "qtmaterialmenu_p.h"
QtMaterialMenu::QtMaterialMenu(QWidget *parent) namespace md
{
Menu::Menu(QWidget *parent)
: QWidget(parent) : QWidget(parent)
{ {
} }
QtMaterialMenu::~QtMaterialMenu() Menu::~Menu()
{ {
} }
}

View File

@ -3,13 +3,16 @@
#include <QtWidgets/QWidget> #include <QtWidgets/QWidget>
class QtMaterialMenu : public QWidget namespace md
{
class Menu : public QWidget
{ {
Q_OBJECT Q_OBJECT
public: public:
explicit QtMaterialMenu(QWidget *parent = 0); explicit Menu(QWidget *parent = 0);
~QtMaterialMenu(); ~Menu();
}; };
}
#endif // QTMATERIALMENU_H #endif // QTMATERIALMENU_H

View File

@ -0,0 +1,6 @@
namespace md
{
}

View File

@ -1,4 +1,7 @@
#ifndef QTMATERIALMENU_INTERNAL_H #ifndef QTMATERIALMENU_INTERNAL_H
#define QTMATERIALMENU_INTERNAL_H #define QTMATERIALMENU_INTERNAL_H
namespace md
{
}
#endif // QTMATERIALMENU_INTERNAL_H #endif // QTMATERIALMENU_INTERNAL_H

View File

@ -1,4 +1,7 @@
#ifndef QTMATERIALMENU_P_H #ifndef QTMATERIALMENU_P_H
#define QTMATERIALMENU_P_H #define QTMATERIALMENU_P_H
namespace md
{
}
#endif // QTMATERIALMENU_P_H #endif // QTMATERIALMENU_P_H