uploadwidget.h

Go to the documentation of this file.
00001 /* ============================================================
00002  * File   : uploadwidget.h
00003  * Authors: KIPI team developers (see AUTHORS files for details)
00004  *          
00005  * Date   : 2004-02-19
00006  * Description :
00007  *
00008  * Copyright 2004 by the KIPI team
00009  *
00010  * This program is free software; you can redistribute it
00011  * and/or modify it under the terms of the GNU Library General
00012  * Public License as published by the Free Software Foundation;
00013  * either version 2, or (at your option)
00014  * any later version.
00015  *
00016  * This program is distributed in the hope that it will be useful,
00017  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00019  * GNU Library General Public License for more details.
00020  *
00021  * ============================================================ */
00022 
00023 
00024 #ifndef KIPI_UPLOADWIDGET_H
00025 #define KIPI_UPLOADWIDGET_H
00026 
00027 // Qt includes.
00028 
00029 #include <qwidget.h>
00030 
00031 // KDE includes.
00032 
00033 #include <kfiletreeview.h>
00034 #include <kurl.h>
00035 
00036 // LibKIPI includes.
00037 
00038 #include "libkipi/interface.h"
00039 #include "libkipi/libkipi_export.h"
00040 
00041 class QListViewItem;
00042 
00043 namespace KIPI
00044 {
00045     class LIBKIPI_EXPORT UploadWidget :public QWidget 
00046     {
00047         Q_OBJECT
00048 
00049     public:
00050         UploadWidget( KIPI::Interface* interface, QWidget* parent, const char* name = 0 );
00051         ~UploadWidget();
00052         KURL path() const;
00053 
00054     public slots:
00055         void mkdir();
00056 
00057     signals :
00058         void folderItemSelected(const KURL &url);
00059         
00060     protected slots:
00061         void load();
00062         void slotAlbumCreated(KIO::Job* job);
00063         void slotFolderSelected(QListViewItem *);
00064 
00065     private:
00066         struct Private;
00067         Private* d;
00068     };
00069 }
00070 
00071 #endif /* KIPI_UPLOADWIDGET_H */
00072 

Generated on Mon Nov 27 23:42:22 2006 for libKipi by  doxygen 1.5.0