File indexing completed on 2025-07-06 04:09:21
0001 /*************************************************************************** 0002 * * 0003 * copyright : (C) 2004 The University of Toronto * 0004 * netterfield@astro.utoronto.ca * 0005 * * 0006 * This program is free software; you can redistribute it and/or modify * 0007 * it under the terms of the GNU General Public License as published by * 0008 * the Free Software Foundation; either version 2 of the License, or * 0009 * (at your option) any later version. * 0010 * * 0011 ***************************************************************************/ 0012 0013 // include files for KDE 0014 0015 // application specific includes 0016 #include "extension.h" 0017 #include <qmainwindow.h> 0018 #include <QTextStream> 0019 0020 namespace Kst { 0021 0022 Extension::Extension(QObject *parent, const QStringList&) : QObject(parent) { 0023 } 0024 0025 0026 Extension::~Extension() { 0027 emit unregister(); 0028 } 0029 0030 0031 void Extension::load(const QDomElement& e) { 0032 Q_UNUSED(e) 0033 } 0034 0035 0036 void Extension::save(QTextStream& ts, const QString& indent) { 0037 Q_UNUSED(ts) 0038 Q_UNUSED(indent) 0039 } 0040 0041 0042 void Extension::clear() { 0043 } 0044 0045 0046 QMainWindow* Extension::app() const { 0047 return qobject_cast<QMainWindow*>(parent()); 0048 } 0049 0050 0051 void Extension::processArguments(const QString& args) { 0052 Q_UNUSED(args) 0053 } 0054 0055 } 0056 // vim: ts=2 sw=2 et