shutdownplugin.cpp:13:1: error: ‘ShutdownPlugin’ does not name a type
ShutdownPlugin::ShutdownPlugin(QObject *parent)
^
shutdownplugin.cpp:19:9: error: ‘ShutdownPlugin’ has not been declared
QString ShutdownPlugin::getPluginName()
^
shutdownplugin.cpp:24:6: error: ‘ShutdownPlugin’ has not been declared
void ShutdownPlugin::init(DockPluginProxyInterface *proxy)
^
shutdownplugin.cpp:24:27: error: variable or field ‘init’ declared void
void ShutdownPlugin::init(DockPluginProxyInterface *proxy)
^
shutdownplugin.cpp:24:27: error: ‘DockPluginProxyInterface’ was not declared in this scope
shutdownplugin.cpp:24:53: error: ‘proxy’ was not declared in this scope
void ShutdownPlugin::init(DockPluginProxyInterface *proxy)
^
shutdownplugin.cpp:32:6: error: ‘ShutdownPlugin’ has not been declared
void ShutdownPlugin::changeMode(Dock:ockMode newMode, Dock:ockMode oldMod
^
shutdownplugin.cpp: In function ‘void changeMode(Dock:ockMode, Dock:ockMode)’:
shutdownplugin.cpp:39:9: error: ‘m_mainWidget’ was not declared in this scope
m_mainWidget->setFixedSize(APP_ITEM_FASHION_ICON_SIZE, APP_ITEM_FASHI
^
shutdownplugin.cpp:49:5: error: ‘m_proxy’ was not declared in this scope
m_proxy->infoChangedEvent(DockPluginInterface::InfoTypeItemSize, PLUGIN_I
^
shutdownplugin.cpp:49:31: error: ‘DockPluginInterface’ has not been declared
m_proxy->infoChangedEvent(DockPluginInterface::InfoTypeItemSize, PLUGIN_I
^
shutdownplugin.cpp: At global scope:
shutdownplugin.cpp:52:13: error: ‘ShutdownPlugin’ has not been declared
QStringList ShutdownPlugin::ids()
^
shutdownplugin.cpp:57:9: error: ‘ShutdownPlugin’ has not been declared
QString ShutdownPlugin::getName(QString id)
^
shutdownplugin.cpp:64:9: error: ‘ShutdownPlugin’ has not been declared
QString ShutdownPlugin::getTitle(QString id)
^
shutdownplugin.cpp:71:9: error: ‘ShutdownPlugin’ has not been declared
QString ShutdownPlugin::getCommand(QString id)
^
shutdownplugin.cpp:78:10: error: ‘ShutdownPlugin’ has not been declared
QWidget *ShutdownPlugin::getItem(QString id)
^
shutdownplugin.cpp: In function ‘QWidget* getItem(QString)’:
shutdownplugin.cpp:82:12: error: ‘m_mainWidget’ was not declared in this scope
return m_mainWidget;
^
shutdownplugin.cpp: At global scope:
shutdownplugin.cpp:85:10: error: ‘ShutdownPlugin’ has not been declared
QWidget *ShutdownPlugin::getApplet(QString id)
^
shutdownplugin.cpp:92:9: error: ‘ShutdownPlugin’ has not been declared
QString ShutdownPlugin::getMenuContent(QString id)
^
shutdownplugin.cpp:99:6: error: ‘ShutdownPlugin’ has not been declared
void ShutdownPlugin::invokeMenuItem(QString id, QString itemId, bool checked)
^
shutdownplugin.cpp:106:6: error: ‘ShutdownPlugin’ has not been declared
void ShutdownPlugin::setEnabled(const QString &id, bool enabled)
^
shutdownplugin.cpp:112:6: error: ‘ShutdownPlugin’ has not been declared
bool ShutdownPlugin::configurable(const QString &id)
^
shutdownplugin.cpp:119:6: error: ‘ShutdownPlugin’ has not been declared
bool ShutdownPlugin::enabled(const QString &id)
^
shutdownplugin.cpp:126:9: error: ‘ShutdownPlugin’ has not been declared
QPixmap ShutdownPlugin::getIcon(QString id)
^
Makefile:333: recipe for target 'shutdownplugin.o' failed
make: *** [shutdownplugin.o] Error 1
make报错:
shutdownplugin.cpp:13:1: error: ‘ShutdownPlugin’ does not name a type
ShutdownPlugin::ShutdownPlugin(QObject *parent)
^
shutdownplugin.cpp:19:9: error: ‘ShutdownPlugin’ has not been declared
QString ShutdownPlugin::getPluginName()
^
shutdownplugin.cpp:24:6: error: ‘ShutdownPlugin’ has not been declared
void ShutdownPlugin::init(DockPluginProxyInterface *proxy)
^
shutdownplugin.cpp:24:27: error: variable or field ‘init’ declared void
void ShutdownPlugin::init(DockPluginProxyInterface *proxy)
^
shutdownplugin.cpp:24:27: error: ‘DockPluginProxyInterface’ was not declared in this scope
shutdownplugin.cpp:24:53: error: ‘proxy’ was not declared in this scope
void ShutdownPlugin::init(DockPluginProxyInterface *proxy)
^
shutdownplugin.cpp:32:6: error: ‘ShutdownPlugin’ has not been declared
void ShutdownPlugin::changeMode(Dock:
^
shutdownplugin.cpp: In function ‘void changeMode(Dock:
shutdownplugin.cpp:39:9: error: ‘m_mainWidget’ was not declared in this scope
m_mainWidget->setFixedSize(APP_ITEM_FASHION_ICON_SIZE, APP_ITEM_FASHI
^
shutdownplugin.cpp:49:5: error: ‘m_proxy’ was not declared in this scope
m_proxy->infoChangedEvent(DockPluginInterface::InfoTypeItemSize, PLUGIN_I
^
shutdownplugin.cpp:49:31: error: ‘DockPluginInterface’ has not been declared
m_proxy->infoChangedEvent(DockPluginInterface::InfoTypeItemSize, PLUGIN_I
^
shutdownplugin.cpp: At global scope:
shutdownplugin.cpp:52:13: error: ‘ShutdownPlugin’ has not been declared
QStringList ShutdownPlugin::ids()
^
shutdownplugin.cpp:57:9: error: ‘ShutdownPlugin’ has not been declared
QString ShutdownPlugin::getName(QString id)
^
shutdownplugin.cpp:64:9: error: ‘ShutdownPlugin’ has not been declared
QString ShutdownPlugin::getTitle(QString id)
^
shutdownplugin.cpp:71:9: error: ‘ShutdownPlugin’ has not been declared
QString ShutdownPlugin::getCommand(QString id)
^
shutdownplugin.cpp:78:10: error: ‘ShutdownPlugin’ has not been declared
QWidget *ShutdownPlugin::getItem(QString id)
^
shutdownplugin.cpp: In function ‘QWidget* getItem(QString)’:
shutdownplugin.cpp:82:12: error: ‘m_mainWidget’ was not declared in this scope
return m_mainWidget;
^
shutdownplugin.cpp: At global scope:
shutdownplugin.cpp:85:10: error: ‘ShutdownPlugin’ has not been declared
QWidget *ShutdownPlugin::getApplet(QString id)
^
shutdownplugin.cpp:92:9: error: ‘ShutdownPlugin’ has not been declared
QString ShutdownPlugin::getMenuContent(QString id)
^
shutdownplugin.cpp:99:6: error: ‘ShutdownPlugin’ has not been declared
void ShutdownPlugin::invokeMenuItem(QString id, QString itemId, bool checked)
^
shutdownplugin.cpp:106:6: error: ‘ShutdownPlugin’ has not been declared
void ShutdownPlugin::setEnabled(const QString &id, bool enabled)
^
shutdownplugin.cpp:112:6: error: ‘ShutdownPlugin’ has not been declared
bool ShutdownPlugin::configurable(const QString &id)
^
shutdownplugin.cpp:119:6: error: ‘ShutdownPlugin’ has not been declared
bool ShutdownPlugin::enabled(const QString &id)
^
shutdownplugin.cpp:126:9: error: ‘ShutdownPlugin’ has not been declared
QPixmap ShutdownPlugin::getIcon(QString id)
^
Makefile:333: recipe for target 'shutdownplugin.o' failed
make: *** [shutdownplugin.o] Error 1