2018-12-30 15:46:15 +01:00
|
|
|
|
#ifndef MENULOCATION_H
|
|
|
|
|
|
#define MENULOCATION_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "plugin_support/MenuPath.h"
|
2019-02-08 10:10:11 +01:00
|
|
|
|
#include <QString>
|
2018-12-30 15:46:15 +01:00
|
|
|
|
|
2019-02-08 10:10:11 +01:00
|
|
|
|
///
|
2018-12-30 15:46:15 +01:00
|
|
|
|
class MenuLocation {
|
|
|
|
|
|
public:
|
2019-02-08 10:10:11 +01:00
|
|
|
|
|
2018-12-30 15:46:15 +01:00
|
|
|
|
MenuLocation();
|
|
|
|
|
|
MenuLocation(MenuPath path, int position = -1);
|
|
|
|
|
|
|
|
|
|
|
|
bool isEmpty() const;
|
|
|
|
|
|
private:
|
|
|
|
|
|
MenuPath m_path;
|
|
|
|
|
|
int m_position = -1;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // MENULOCATION_H
|