From d04616c11aa55ad8e8437582884ea0824358fe50 Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 11 Dec 2009 20:38:18 +0000 Subject: GPL License address fixes git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1061479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- .../media/propsdlgplugin/propsdlgshareplugin.cpp | 53 +++++++++++----------- 1 file changed, 27 insertions(+), 26 deletions(-) (limited to 'kioslave/media/propsdlgplugin/propsdlgshareplugin.cpp') diff --git a/kioslave/media/propsdlgplugin/propsdlgshareplugin.cpp b/kioslave/media/propsdlgplugin/propsdlgshareplugin.cpp index ebfd2c3de..dbaf6e898 100644 --- a/kioslave/media/propsdlgplugin/propsdlgshareplugin.cpp +++ b/kioslave/media/propsdlgplugin/propsdlgshareplugin.cpp @@ -1,21 +1,22 @@ /* - Copyright (c) 2004 Jan Schaefer - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - + Copyright (c) 2004 Jan Schaefer + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU Library General Public License + along with this library; see the file COPYING.LIB. If not, write to + the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + #include #include #include @@ -42,12 +43,12 @@ typedef KGenericFactory PropsDlgSharePlu K_EXPORT_COMPONENT_FACTORY( media_propsdlgplugin, PropsDlgSharePluginFactory("media_propsdlgplugin") ) -class PropsDlgSharePlugin::Private +class PropsDlgSharePlugin::Private { public: - PropertiesPage* page; + PropertiesPage* page; }; - + PropsDlgSharePlugin::PropsDlgSharePlugin( KPropertiesDialog *dlg, const char *, const QStringList & ) : KPropsDlgPlugin(dlg), d(0) @@ -60,21 +61,21 @@ PropsDlgSharePlugin::PropsDlgSharePlugin( KPropertiesDialog *dlg, DCOPRef mediamanager("kded", "mediamanager"); kdDebug() << "properties " << item->url() << endl; DCOPReply reply = mediamanager.call( "properties", item->url().url() ); - + if ( !reply.isValid() ) return; - + QVBox* vbox = properties->addVBoxPage(i18n("&Mounting")); - + d = new Private(); - + d->page = new PropertiesPage(vbox, Medium::create(reply).id()); connect(d->page, SIGNAL(changed()), SLOT(slotChanged())); // QTimer::singleShot(100, this, SLOT(slotChanged())); - -} + +} void PropsDlgSharePlugin::slotChanged() { @@ -87,7 +88,7 @@ PropsDlgSharePlugin::~PropsDlgSharePlugin() delete d; } -void PropsDlgSharePlugin::applyChanges() +void PropsDlgSharePlugin::applyChanges() { kdDebug() << "applychanges\n"; if (!d->page->save()) { -- cgit v1.2.3