plugin.cpp (krename-4.0.9) | : | plugin.cpp (krename-4.90.90) | ||
---|---|---|---|---|
skipping to change at line 22 | skipping to change at line 22 | |||
* it under the terms of the GNU General Public License as published by * | * it under the terms of the GNU General Public License as published by * | |||
* the Free Software Foundation; either version 2 of the License, or * | * the Free Software Foundation; either version 2 of the License, or * | |||
* (at your option) any later version. * | * (at your option) any later version. * | |||
* * | * * | |||
***************************************************************************/ | ***************************************************************************/ | |||
#include "plugin.h" | #include "plugin.h" | |||
#include "tokenhelpdialog.h" | #include "tokenhelpdialog.h" | |||
Plugin::Plugin( PluginLoader* loader ) | Plugin::Plugin(PluginLoader *loader) | |||
: m_pluginLoader( loader ), m_enabled( false ) | : m_pluginLoader(loader), m_enabled(false) | |||
{ | { | |||
} | } | |||
Plugin::~Plugin() | Plugin::~Plugin() | |||
{ | { | |||
} | } | |||
void Plugin::loadConfig( KConfigGroup & ) | void Plugin::loadConfig(KConfigGroup &) | |||
{ | { | |||
/* Do nothing by default */ | /* Do nothing by default */ | |||
} | } | |||
void Plugin::saveConfig( KConfigGroup & ) const | void Plugin::saveConfig(KConfigGroup &) const | |||
{ | { | |||
/* Do nothing by default */ | /* Do nothing by default */ | |||
} | } | |||
QString Plugin::createHelpEntry( const QString & token, const QString & help ) | QString Plugin::createHelpEntry(const QString &token, const QString &help) | |||
{ | { | |||
QString cmd = "["; | QString cmd('['); | |||
cmd = cmd + token + "]" + TokenHelpDialog::getTokenSeparator(); | cmd = cmd + token + ']' + TokenHelpDialog::getTokenSeparator(); | |||
cmd = cmd + help; | cmd = cmd + help; | |||
return cmd; | return cmd; | |||
} | } | |||
End of changes. 6 change blocks. | ||||
9 lines changed or deleted | 9 lines changed or added |