[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/extragear/kde3/libs/kipi-plugins/sendimages
From: Gilles Caulier <caulier.gilles () gmail ! com>
Date: 2007-10-27 12:41:10
Message-ID: 1193488870.115154.4068.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 729928 by cgilles:
prepare to port to KDE4 : polish and fix header
M +13 -12 actions.h
M +14 -14 listimageserrordialog.cpp
M +13 -11 listimageserrordialog.h
M +13 -11 plugin_sendimages.cpp
M +12 -10 plugin_sendimages.h
M +13 -11 sendimages.cpp
M +14 -13 sendimages.h
M +12 -11 sendimagesdialog.cpp
M +14 -12 sendimagesdialog.h
--- branches/extragear/kde3/libs/kipi-plugins/sendimages/actions.h #729927:729928
@@ -1,22 +1,23 @@
/* ============================================================
- * Author: Gilles Caulier <caulier dot gilles at gmail dot com>
- * from digiKam project.
- * Date : 2004-02-25
- * Description : a kipi plugin for e-mailing images
+ *
+ * This file is a part of kipi-plugins project
+ * http://www.kipi-plugins.org
+ *
+ * Date : 2004-02-25
+ * Description : a kipi plugin to e-mailing images
*
- * Copyright 2004-2005 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ * Copyright (C) 2004-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
* 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, or (at your option)
- * any later version.
- *
+ * either version 2, 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
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* ============================================================ */
#ifndef ACTIONS_H
@@ -32,8 +33,8 @@
Error,
ResizeImages
};
-
+
class EventData
{
public:
@@ -42,7 +43,7 @@
starting = false;
success = false;
}
-
+
QString fileName;
QString albumName;
QString errString;
--- branches/extragear/kde3/libs/kipi-plugins/sendimages/listimageserrordialog.cpp #729927:729928
@@ -1,21 +1,23 @@
/* ============================================================
- * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
- * Date : 2003-10-01
+ *
+ * This file is a part of kipi-plugins project
+ * http://www.kipi-plugins.org
+ *
+ * Date : 2003-10-01
* Description : a kipi plugin to e-mailing images
- *
- * Copyright 2003-2005 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
+ * Copyright (C) 2003-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ *
* 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, or (at your option)
- * any later version.
- *
+ * either version 2, 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
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* ============================================================ */
// Qt includes
@@ -42,7 +44,7 @@
namespace KIPISendimagesPlugin
{
-///Constructor: Shows up error descriptions
+
listImagesErrorDialog::listImagesErrorDialog(QWidget* parent, QString Caption,
const QString &Mess1, const QString &Mess2,
KURL::List ListOfiles)
@@ -52,9 +54,9 @@
QWidget* box = new QWidget( this );
setMainWidget(box);
QVBoxLayout* ml = new QVBoxLayout( box, 10 );
-
+
//---------------------------------------------
-
+
QFrame *headerFrame = new QFrame( box );
headerFrame->setFrameStyle(QFrame::Panel|QFrame::Sunken);
QHBoxLayout* layout = new QHBoxLayout( headerFrame );
@@ -106,10 +108,8 @@
resize( 500, 400 );
}
-///Destructor
listImagesErrorDialog::~listImagesErrorDialog()
{
}
} // NameSpace KIPISendimagesPlugin
-
--- branches/extragear/kde3/libs/kipi-plugins/sendimages/listimageserrordialog.h #729927:729928
@@ -1,21 +1,23 @@
/* ============================================================
- * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
- * Date : 2003-10-01
+ *
+ * This file is a part of kipi-plugins project
+ * http://www.kipi-plugins.org
+ *
+ * Date : 2003-10-01
* Description : a kipi plugin to e-mailing images
- *
- * Copyright 2003-2005 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
+ * Copyright (C) 2003-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ *
* 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, or (at your option)
- * any later version.
- *
+ * either version 2, 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
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* ============================================================ */
#ifndef LISTIMAGESERRORDIALOG_included
@@ -36,11 +38,11 @@
Q_OBJECT
public:
- ///Constructor: Shows up error descriptions to the user
+
listImagesErrorDialog(QWidget* parent, QString Caption,
const QString &Mess1, const QString &Mess2,
KURL::List ListOfiles);
- ///Destructor
+
~listImagesErrorDialog();
private:
--- branches/extragear/kde3/libs/kipi-plugins/sendimages/plugin_sendimages.cpp #729927:729928
@@ -1,25 +1,27 @@
/* ============================================================
- * Author: Gilles Caulier <caulier dot gilles at gmail dot com>
- * Date : 2003-10-01
+ *
+ * This file is a part of kipi-plugins project
+ * http://www.kipi-plugins.org
+ *
+ * Date : 2003-10-01
* Description : a kipi plugin to e-mailing images
- *
- * Copyright 2003-2005 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
+ * Copyright (C) 2003-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ *
* 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, or (at your option)
- * any later version.
- *
+ * either version 2, 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
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* ============================================================ */
+
+// C Ansi includes
- // C Ansi includes
-
extern "C"
{
#include <unistd.h>
--- branches/extragear/kde3/libs/kipi-plugins/sendimages/plugin_sendimages.h #729927:729928
@@ -1,21 +1,23 @@
/* ============================================================
- * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
- * Date : 2003-10-01
- * Description : a kipi plugin for e-mailing images
- *
- * Copyright 2003-2005 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
+ * This file is a part of kipi-plugins project
+ * http://www.kipi-plugins.org
+ *
+ * Date : 2003-10-01
+ * Description : a kipi plugin to e-mailing images
+ *
+ * Copyright (C) 2003-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ *
* 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, or (at your option)
- * any later version.
- *
+ * either version 2, 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
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* ============================================================ */
#ifndef PLUGIN_SENDIMAGES_H
--- branches/extragear/kde3/libs/kipi-plugins/sendimages/sendimages.cpp #729927:729928
@@ -1,23 +1,25 @@
/* ============================================================
- * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>,
- * Michael Höchstetter <michael.hoechstetter@kdemail.net>
- * Date : 2004-02-25
+ *
+ * This file is a part of kipi-plugins project
+ * http://www.kipi-plugins.org
+ *
+ * Date : 2004-02-25
* Description : a kipi plugin to e-mailing images
- *
- * Copyright 2004-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
- * Copyright 2006 by Tom Albers <michael.hoechstetter@kdemail.net>
*
+ * Copyright (C) 2004-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ * Copyright (C) 2006 by Tom Albers <tomalbers at kde.nl>
+ * Copyright (C) 2006 by Michael Höchstetter <michae dot hoechstetter at gmx dot de>
+ *
* 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, or (at your option)
- * any later version.
- *
+ * either version 2, 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
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* ============================================================ */
// Include files for Qt
--- branches/extragear/kde3/libs/kipi-plugins/sendimages/sendimages.h #729927:729928
@@ -1,38 +1,40 @@
/* ============================================================
- * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
- * Date : 2004-02-25
+ *
+ * This file is a part of kipi-plugins project
+ * http://www.kipi-plugins.org
+ *
+ * Date : 2004-02-25
* Description : a kipi plugin to e-mailing images
- *
- * Copyright 2004-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
+ * Copyright (C) 2004-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ *
* 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, or (at your option)
- * any later version.
- *
+ * either version 2, 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
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* ============================================================ */
#ifndef SENDIMAGES_H
#define SENDIMAGES_H
-// Include files for Qt.
+// Qt includes.
#include <qobject.h>
#include <qstring.h>
#include <qthread.h>
#include <qstringlist.h>
-// Include files for KDE.
+// KDE includes.
#include <kurl.h>
-// Includes file for libKIPI.
+// LibKipi includes.
#include <libkipi/imagecollection.h>
#include <libkipi/interface.h>
@@ -180,4 +182,3 @@
} // NameSpace KIPISendimagesPlugin
#endif // SENDIMAGES_H
-
--- branches/extragear/kde3/libs/kipi-plugins/sendimages/sendimagesdialog.cpp #729927:729928
@@ -1,22 +1,24 @@
/* ============================================================
- * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
- * Date : 2003-10-01
+ *
+ * This file is a part of kipi-plugins project
+ * http://www.kipi-plugins.org
+ *
+ * Date : 2003-10-01
* Description : a kipi plugin to e-mailing images
- *
- * Copyright 2003-2005 by Gilles Caulier <caulier dot gilles at gmail dot com>
- * Copyright 2006 by Tom Albers <tomalbers at kde.nl>
*
+ * Copyright (C) 2003-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ * Copyright (C) 2006 by Tom Albers <tomalbers at kde.nl>
+ *
* 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, or (at your option)
- * any later version.
- *
+ * either version 2, 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
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* ============================================================ */
// Include files for Qt
@@ -678,4 +680,3 @@
}
} // NameSpace KIPISendimagesPlugin
-
--- branches/extragear/kde3/libs/kipi-plugins/sendimages/sendimagesdialog.h #729927:729928
@@ -1,39 +1,41 @@
/* ============================================================
- * Authors: Gilles Caulier <caulier dot gilles at gmail dot com>
- * Date : 2003-10-01
+ *
+ * This file is a part of kipi-plugins project
+ * http://www.kipi-plugins.org
+ *
+ * Date : 2003-10-01
* Description : a kipi plugin to e-mailing images
- *
- * Copyright 2003-2005 by Gilles Caulier <caulier dot gilles at gmail dot com>
*
+ * Copyright (C) 2003-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
+ *
* 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, or (at your option)
- * any later version.
- *
+ * either version 2, 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
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* ============================================================ */
#ifndef SENDIMAGESDIALOG_H
#define SENDIMAGESDIALOG_H
-// Include files for Qt
+// Qt includes.
#include <qstring.h>
#include <qguardedptr.h>
-// Include files for KDE
+// KDE includes.
#include <kdialogbase.h>
#include <klistbox.h>
#include <kio/previewjob.h>
#include <kurl.h>
-// Include files for KIPI
+// LibKipi includes.
#include <libkipi/interface.h>
#include <libkipi/imagecollection.h>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic