Subversion Repositories Scribus

Compare Revisions

Ignore whitespace Rev 3240 → Rev 3241

/branches/Version13x/Scribus/scribus/plugins/pixmapexport/export.cpp
63,11 → 63,15
 
const ScActionPlugin::AboutData* PixmapExportPlugin::getAboutData() const
{
return 0;
AboutData* about = new AboutData;
Q_CHECK_PTR(about);
return about;
}
 
void PixmapExportPlugin::deleteAboutData(const AboutData* ) const
void PixmapExportPlugin::deleteAboutData(const AboutData* about) const
{
Q_ASSERT(about);
delete about;
}
 
bool PixmapExportPlugin::run(QString target)
/branches/Version13x/Scribus/scribus/plugins/colorwheel/colorwheel.cpp
54,11 → 54,15
 
const ScActionPlugin::AboutData* ColorWheelPlugin::getAboutData() const
{
return 0;
AboutData* about = new AboutData;
Q_CHECK_PTR(about);
return about;
}
 
void ColorWheelPlugin::deleteAboutData(const AboutData* ) const
void ColorWheelPlugin::deleteAboutData(const AboutData* about) const
{
Q_ASSERT(about);
delete about;
}
 
/** Create dialog. Everything else is handled in separated classes. */
/branches/Version13x/Scribus/scribus/plugins/scriptplugin/scriptplugin.cpp
126,11 → 126,25
 
const ScActionPlugin::AboutData* ScriptPlugin::getAboutData() const
{
return 0;
AboutData* about = new AboutData;
Q_CHECK_PTR(about);
about->authors = QString::fromUtf8(
"Petr Van\xc4\x9bk <petr@scribus.info>, "
"Franz Schmid <franz@scribus.info>, "
"Craig Ringer <craig@scribus.info>");
about->shortDescription = tr("Embedded Python scripting support.");
// about->description = tr("Write me!")
// about->version
// about->releaseDate
// about->copyright
// about->license
return about;
}
 
void ScriptPlugin::deleteAboutData(const AboutData* about) const
{
Q_ASSERT(about);
delete about;
}
 
bool ScriptPlugin::initPlugin()
/branches/Version13x/Scribus/scribus/plugins/svgimplugin/svgplugin.cpp
78,11 → 78,15
 
const ScActionPlugin::AboutData* SVGImportPlugin::getAboutData() const
{
return 0;
AboutData* about = new AboutData;
Q_CHECK_PTR(about);
return about;
}
 
void SVGImportPlugin::deleteAboutData(const AboutData* ) const
void SVGImportPlugin::deleteAboutData(const AboutData* about) const
{
Q_ASSERT(about);
delete about;
}
 
/*!
/branches/Version13x/Scribus/scribus/plugins/fileloader/oodraw/oodrawimp.cpp
85,11 → 85,15
 
const ScActionPlugin::AboutData* OODrawImportPlugin::getAboutData() const
{
return 0;
AboutData* about = new AboutData;
Q_CHECK_PTR(about);
return about;
}
 
void OODrawImportPlugin::deleteAboutData(const AboutData* ) const
void OODrawImportPlugin::deleteAboutData(const AboutData* about) const
{
Q_ASSERT(about);
delete about;
}
 
bool OODrawImportPlugin::run(QString fileName)
/branches/Version13x/Scribus/scribus/plugins/fontpreview/fontpreview.cpp
53,11 → 53,15
 
const ScActionPlugin::AboutData* FontPreviewPlugin::getAboutData() const
{
return 0;
AboutData* about = new AboutData;
Q_CHECK_PTR(about);
return about;
}
 
void FontPreviewPlugin::deleteAboutData(const AboutData* ) const
void FontPreviewPlugin::deleteAboutData(const AboutData* about) const
{
Q_ASSERT(about);
delete about;
}
 
/**
/branches/Version13x/Scribus/scribus/plugins/newfromtemplateplugin/nftemplate.cpp
68,11 → 68,15
 
const ScActionPlugin::AboutData* NewFromTemplatePlugin::getAboutData() const
{
return 0;
AboutData* about = new AboutData;
Q_CHECK_PTR(about);
return about;
}
 
void NewFromTemplatePlugin::deleteAboutData(const AboutData* ) const
void NewFromTemplatePlugin::deleteAboutData(const AboutData* about) const
{
Q_ASSERT(about);
delete about;
}
 
bool NewFromTemplatePlugin::run(QString target)
/branches/Version13x/Scribus/scribus/plugins/short-words/shortwords.cpp
75,11 → 75,15
 
const ScActionPlugin::AboutData* ShortWordsPlugin::getAboutData() const
{
return 0;
AboutData* about = new AboutData;
Q_CHECK_PTR(about);
return about;
}
 
void ShortWordsPlugin::deleteAboutData(const AboutData* ) const
void ShortWordsPlugin::deleteAboutData(const AboutData* about) const
{
Q_ASSERT(about);
delete about;
}
 
bool ShortWordsPlugin::run(QString target)
/branches/Version13x/Scribus/scribus/plugins/svgexplugin/svgexplugin.cpp
82,11 → 82,15
 
const ScActionPlugin::AboutData* SVGExportPlugin::getAboutData() const
{
return 0;
AboutData* about = new AboutData;
Q_CHECK_PTR(about);
return about;
}
 
void SVGExportPlugin::deleteAboutData(const AboutData* ) const
void SVGExportPlugin::deleteAboutData(const AboutData* about) const
{
Q_ASSERT(about);
delete about;
}
 
/*!
/branches/Version13x/Scribus/scribus/plugins/psimport/importps.cpp
81,11 → 81,15
 
const ScActionPlugin::AboutData* ImportPSPlugin::getAboutData() const
{
return 0;
AboutData* about = new AboutData;
Q_CHECK_PTR(about);
return about;
}
 
void ImportPSPlugin::deleteAboutData(const AboutData* ) const
void ImportPSPlugin::deleteAboutData(const AboutData* about) const
{
Q_ASSERT(about);
delete about;
}
 
/*!
/branches/Version13x/Scribus/scribus/plugins/saveastemplateplugin/satemplate.cpp
61,11 → 61,15
 
const ScActionPlugin::AboutData* SaveAsTemplatePlugin::getAboutData() const
{
return 0;
AboutData* about = new AboutData;
Q_CHECK_PTR(about);
return about;
}
 
void SaveAsTemplatePlugin::deleteAboutData(const AboutData* ) const
void SaveAsTemplatePlugin::deleteAboutData(const AboutData* about) const
{
Q_ASSERT(about);
delete about;
}
 
bool SaveAsTemplatePlugin::run(QString target)