Main Page | Namespace List | Class List | File List | Namespace Members | Class Members | File Members

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 bythe 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 
00040 class QListViewItem;
00041 
00042 namespace KIPI
00043 {
00044     class UploadWidget :public QWidget 
00045     {
00046         Q_OBJECT
00047 
00048     public:
00049         UploadWidget( KIPI::Interface* interface, QWidget* parent, const char* name = 0 );
00050         ~UploadWidget();
00051         KURL path() const;
00052 
00053     public slots:
00054         void mkdir();
00055 
00056     signals :
00057         void folderItemSelected(const KURL &url);
00058         
00059     protected slots:
00060         void load();
00061         void slotAlbumCreated(KIO::Job* job);
00062         void slotFolderSelected(QListViewItem *);
00063 
00064     private:
00065         struct Private;
00066         Private* d;
00067     };
00068 }
00069 
00070 #endif /* KIPI_UPLOADWIDGET_H */
00071 

Generated on Tue Sep 13 05:01:58 2005 for libKipi by  doxygen 1.4.4