#include "panel.h"
-Panel::Panel(QWidget* parent) :
- QWidget(parent),
- m_url(),
- m_customContextMenuActions()
+Panel::Panel(QWidget *parent)
+ : QWidget(parent)
+ , m_url()
+ , m_customContextMenuActions()
{
}
return m_url;
}
-void Panel::setCustomContextMenuActions(const QList<QAction*>& actions)
+void Panel::setCustomContextMenuActions(const QList<QAction *> &actions)
{
m_customContextMenuActions = actions;
}
-QList<QAction*> Panel::customContextMenuActions() const
+QList<QAction *> Panel::customContextMenuActions() const
{
return m_customContextMenuActions;
}
return QSize(180, 180);
}
-void Panel::setUrl(const QUrl& url)
+void Panel::setUrl(const QUrl &url)
{
if (url.matches(m_url, QUrl::StripTrailingSlash)) {
return;
void Panel::readSettings()
{
-
}
-