summaryrefslogtreecommitdiffstats
path: root/kioslave/media/propsdlgplugin/propsdlgshareplugin.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-12-11 20:38:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-12-11 20:38:18 +0000
commitd04616c11aa55ad8e8437582884ea0824358fe50 (patch)
tree3e4fc8bd1ae601b39b1d41c0d97f04af8b1f1711 /kioslave/media/propsdlgplugin/propsdlgshareplugin.cpp
parent10e41144596fc9ced40fc349d9ecd099b1c2ea19 (diff)
downloadtdebase-d04616c11aa55ad8e8437582884ea0824358fe50.tar.gz
tdebase-d04616c11aa55ad8e8437582884ea0824358fe50.zip
GPL License address fixes
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1061479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kioslave/media/propsdlgplugin/propsdlgshareplugin.cpp')
-rw-r--r--kioslave/media/propsdlgplugin/propsdlgshareplugin.cpp53
1 files changed, 27 insertions, 26 deletions
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 <[email protected]>
-
- 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 <[email protected]>
+
+ 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 <qstring.h>
#include <qvbox.h>
#include <qlayout.h>
@@ -42,12 +43,12 @@ typedef KGenericFactory<PropsDlgSharePlugin, KPropertiesDialog> 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()) {