mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Formatting and fixed dropbase (unimplemented function)
This commit is contained in:
@@ -23,9 +23,6 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CDropBase
|
||||
{
|
||||
public:
|
||||
//! Set text for drop site
|
||||
void setInfoText(const QString &dropSiteText);
|
||||
|
||||
//! Accepted ids
|
||||
void setAcceptedMetaTypeIds(const QList<int> &ids);
|
||||
|
||||
@@ -38,15 +35,15 @@ namespace BlackGui
|
||||
//! Drop allowed
|
||||
virtual void allowDrop(bool allowed);
|
||||
|
||||
//! Accept drop?
|
||||
bool acceptDrop(const QMimeData *mime) const;
|
||||
|
||||
//! Mime data to CVariant (normally encapsulating a value object)
|
||||
BlackMisc::CVariant toCVariant(const QMimeData *mime) const;
|
||||
|
||||
protected:
|
||||
CDropBase();
|
||||
|
||||
//! Accept drop
|
||||
bool acceptDrop(const QMimeData *mime) const;
|
||||
|
||||
private:
|
||||
bool m_allowDrop = true; //!< dropping allowed?
|
||||
QList<int> m_acceptedMetaTypes; //!< accepted meta types
|
||||
|
||||
Reference in New Issue
Block a user