You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
1.7 KiB
77 lines
1.7 KiB
/* ============================================================
|
|
* File : uploadwidget.h
|
|
* Authors: KIPI team developers (see AUTHORS files for details)
|
|
*
|
|
* Date : 2004-02-19
|
|
* Description :
|
|
*
|
|
* Copyright 2004 by the KIPI team
|
|
*
|
|
* This program is free software; you can redistribute it
|
|
* and/or modify it under the terms of the GNU Library General
|
|
* Public License as published by the Free Software Foundation;
|
|
* 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
|
|
* GNU Library General Public License for more details.
|
|
*
|
|
* ============================================================ */
|
|
|
|
|
|
#ifndef KIPI_UPLOADWIDGET_H
|
|
#define KIPI_UPLOADWIDGET_H
|
|
|
|
// TQt includes.
|
|
|
|
#include <tqwidget.h>
|
|
|
|
// KDE includes.
|
|
|
|
#include <tdefiletreeview.h>
|
|
#include <kurl.h>
|
|
|
|
// LibKIPI includes.
|
|
|
|
#include "libkipi/interface.h"
|
|
#include "libkipi/libkipi_export.h"
|
|
|
|
class TQListViewItem;
|
|
|
|
namespace KIPI
|
|
{
|
|
class LIBKIPI_EXPORT UploadWidget :public TQWidget
|
|
{
|
|
TQ_OBJECT
|
|
|
|
|
|
public:
|
|
UploadWidget( KIPI::Interface* interface, TQWidget* parent, const char* name = 0 );
|
|
~UploadWidget();
|
|
KURL path() const;
|
|
|
|
public slots:
|
|
void mkdir();
|
|
|
|
signals :
|
|
void folderItemSelected(const KURL &url);
|
|
|
|
protected slots:
|
|
void load();
|
|
void slotAlbumCreated(TDEIO::Job* job);
|
|
void slotFolderSelected(TQListViewItem *);
|
|
|
|
private slots:
|
|
void slotPopulateFinished(KFileTreeViewItem *);
|
|
|
|
private:
|
|
struct Private;
|
|
Private* d;
|
|
};
|
|
}
|
|
|
|
#endif /* KIPI_UPLOADWIDGET_H */
|
|
|