##// END OF EJS Templates
Remove unused pending request of worker since it's already in the VC....
Remove unused pending request of worker since it's already in the VC. Fix bug with progress asynchrone computation

File last commit:

r1379:99a785298325
r1387:3f0567bfecb5 HEAD
Show More
CatalogueTreeItem.h
29 lines | 1.0 KiB | text/x-c | CLexer
Refactoring of catalogue: use a custom item class
r1284 #ifndef SCIQLOP_CATALOGUETREEITEM_H
#define SCIQLOP_CATALOGUETREEITEM_H
#include <Catalogue/CatalogueTreeItems/CatalogueAbstractTreeItem.h>
#include <Common/spimpl.h>
class DBCatalogue;
class CatalogueTreeItem : public CatalogueAbstractTreeItem {
public:
CatalogueTreeItem(std::shared_ptr<DBCatalogue> catalogue, const QIcon &icon, int type);
QVariant data(int column, int role) const override;
bool setData(int column, int role, const QVariant &value) override;
Qt::ItemFlags flags(int column) const override;
bool canDropMimeData(const QMimeData *data, Qt::DropAction action) override;
Drop of events on a catalogue
r1285 bool dropMimeData(const QMimeData *data, Qt::DropAction action) override;
Refactoring of catalogue: use a custom item class
r1284
/// Returns the catalogue represented by the item
std::shared_ptr<DBCatalogue> catalogue() const;
Fix move of an event in another catalogue
r1379 void replaceCatalogue(const std::shared_ptr<DBCatalogue> &catalogue);
Refactoring of catalogue: use a custom item class
r1284
private:
class CatalogueTreeItemPrivate;
spimpl::unique_impl_ptr<CatalogueTreeItemPrivate> impl;
};
#endif // SCIQLOP_CATALOGUETREEITEM_H