• Skip to content
  • Skip to link menu
KDE 4.4 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

digikam

actions.h

Go to the documentation of this file.
00001 /* ============================================================
00002  *
00003  * This file is a part of digiKam project
00004  * http://www.digikam.org
00005  *
00006  * Date        : 2009-02-06
00007  * Description : Thread actions container.
00008  *
00009  * Copyright (C) 2009 by Gilles Caulier <caulier dot gilles at gmail dot com>
00010  *
00011  * This program is free software; you can redistribute it
00012  * and/or modify it under the terms of the GNU General
00013  * Public License as published by the Free Software Foundation;
00014  * either version 2, or (at your option)
00015  * any later version.
00016  *
00017  * This program is distributed in the hope that it will be useful,
00018  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00019  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00020  * GNU General Public License for more details.
00021  *
00022  * ============================================================ */
00023 
00024 #ifndef ACTIONS_H
00025 #define ACTIONS_H
00026 
00027 // Qt includes
00028 
00029 #include <QString>
00030 #include <QMetaType>
00031 
00032 // KDE includes
00033 
00034 #include <kurl.h>
00035 
00036 namespace Digikam
00037 {
00038 
00039 class ActionData
00040 {
00041 
00042 public:
00043 
00044     enum ActionStatus
00045     {
00046         None = 0,
00047         BatchStarted,
00048         BatchDone,
00049         BatchFailed,
00050         TaskStarted,
00051         TaskDone,
00052         TaskFailed
00053     };
00054 
00055 public:
00056 
00057     ActionData()
00058     {
00059         status = None;
00060         index  = 0;
00061     }
00062 
00063     ActionStatus status;
00064 
00065     int          index;         // Index of tool currently in progress.
00066 
00067     QString      message;
00068 
00069     KUrl         fileUrl;
00070     KUrl         destUrl;
00071 };
00072 
00073 }  // namespace Digikam
00074 
00075 Q_DECLARE_METATYPE(Digikam::ActionData)
00076 
00077 #endif /* ACTIONS_H */

digikam

Skip menu "digikam"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members

API Reference

Skip menu "API Reference"
  • digikam
Generated for API Reference by doxygen 1.5.9-20090814
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal