Home
last modified time | relevance | path

Searched refs:ItemModel (Results 1 – 25 of 190) sorted by relevance

12345678

/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/externalized/
H A DItemModel.cc10 ItemModel::ItemModel(uint16_t itemIndex, in ItemModel() function in ItemModel
32 ItemModel::ItemModel(uint16_t itemIndex, in ItemModel() function in ItemModel
63 ItemModel::~ItemModel() = default;
88 bool ItemModel::isGun() const { return usItemClass == IC_GUN; } in isGun()
89 bool ItemModel::isKey() const { return usItemClass == IC_KEY; } in isKey()
104 void ItemModel::serializeFlags(JsonObject &obj) const in serializeFlags()
124 uint32_t ItemModel::deserializeFlags(JsonObjectReader &obj) const in deserializeFlags()
147 bool ItemModel::canBeAttached(uint16_t attachment) const in canBeAttached()
152 void ItemModel::serializeTo(JsonObject &obj) const in serializeTo()
171 const ItemModel* ItemModel::deserialize(JsonObjectReader &obj) in deserialize()
[all …]
H A DDealerInventory.cc18 const ItemModel *item = itemSystem->getItemByName(it->name.GetString()); in DealerInventory()
25 bool DealerInventory::hasItem(const ItemModel *item) const in hasItem()
27 std::map<const ItemModel*, int>::const_iterator it = m_inventory.find(item); in hasItem()
31 int DealerInventory::getMaxItemAmount(const ItemModel *item) const in getMaxItemAmount()
33 std::map<const ItemModel*, int>::const_iterator it = m_inventory.find(item); in getMaxItemAmount()
H A DDealerInventory.h7 struct ItemModel;
27 bool hasItem(const ItemModel *item) const;
32 int getMaxItemAmount(const ItemModel *item) const;
35 std::map<const ItemModel*, int> m_inventory;
/dports/graphics/goocanvasmm2/goocanvasmm-1.90.9/goocanvas/goocanvasmm/
H A Ditemmodel.cc34 void ItemModel::raise() in raise()
44 void ItemModel::add_child(const Glib::RefPtr<ItemModel>& child) in add_child()
1239 ItemModel::ItemModel() in ItemModel() function in Goocanvas::ItemModel
1244 ItemModel::ItemModel(GooCanvasItemModel* castitem) in ItemModel() function in Goocanvas::ItemModel
1254 ItemModel::~ItemModel() in ~ItemModel()
1282 Glib::RefPtr<ItemModel> ItemModel::get_child(int child_num) in get_child()
1320 int ItemModel::find_child(const Glib::RefPtr<ItemModel>& child) in find_child()
1325 Glib::RefPtr<ItemModel> ItemModel::get_parent() in get_parent()
1333 Glib::RefPtr<const ItemModel> ItemModel::get_parent() const in get_parent()
1353 void ItemModel::raise(const Glib::RefPtr<ItemModel>& above) in raise()
[all …]
H A Ditemmodel.h88 class ItemModel : public Glib::Interface
94 typedef ItemModel CppObjectType;
104 ItemModel(const ItemModel&);
105 ItemModel& operator=(const ItemModel&);
112 ItemModel();
127 explicit ItemModel(GooCanvasItemModel* castitem);
133 virtual ~ItemModel();
167 Glib::RefPtr<ItemModel> get_child(int child_num);
221 Glib::RefPtr<ItemModel> get_parent();
226 Glib::RefPtr<const ItemModel> get_parent() const;
[all …]
H A Dcanvas.h140 Glib::RefPtr<ItemModel> get_root_item_model();
145 Glib::RefPtr<const ItemModel> get_root_item_model() const;
153 void set_root_item_model(const Glib::RefPtr<ItemModel>& model);
163 Glib::RefPtr<ItemModel> get_static_root_item_model();
165 Glib::RefPtr<const ItemModel> get_static_root_item_model() const;
167 void set_static_root_item_model(const Glib::RefPtr<ItemModel>& model);
189 Glib::RefPtr<Item> get_item(const Glib::RefPtr<ItemModel>& model);
210 Glib::RefPtr<const Item> get_item(const Glib::RefPtr<ItemModel>& model) const;
457 Glib::RefPtr<Item> create_item(const Glib::RefPtr<ItemModel>& model);
466 void unregister_item(const Glib::RefPtr<ItemModel>& model);
[all …]
H A Dcanvas.cc309 Glib::RefPtr<ItemModel> Canvas::get_root_item_model() in get_root_item_model()
311 Glib::RefPtr<ItemModel> retvalue = Glib::wrap(goo_canvas_get_root_item_model(gobj())); in get_root_item_model()
317 Glib::RefPtr<const ItemModel> Canvas::get_root_item_model() const in get_root_item_model()
322 void Canvas::set_root_item_model(const Glib::RefPtr<ItemModel>& model) in set_root_item_model()
342 Glib::RefPtr<ItemModel> Canvas::get_static_root_item_model() in get_static_root_item_model()
350 Glib::RefPtr<const ItemModel> Canvas::get_static_root_item_model() const in get_static_root_item_model()
355 void Canvas::set_static_root_item_model(const Glib::RefPtr<ItemModel>& model) in set_static_root_item_model()
360 Glib::RefPtr<Item> Canvas::get_item(const Glib::RefPtr<ItemModel>& model) in get_item()
368 Glib::RefPtr<const Item> Canvas::get_item(const Glib::RefPtr<ItemModel>& model) const in get_item()
491 Glib::RefPtr<Item> Canvas::create_item(const Glib::RefPtr<ItemModel>& model) in create_item()
[all …]
/dports/graphics/digikam/digikam-7.4.0/core/libs/database/models/
H A Ditemmodel.cpp45 class Q_DECL_HIDDEN ItemModel::Private
149 ItemModel::ItemModel(QObject* const parent) in ItemModel() function in Digikam::ItemModel
162 ItemModel::~ItemModel() in ~ItemModel()
180 bool ItemModel::isEmpty() const in isEmpty()
185 int ItemModel::itemCount() const in itemCount()
370 ItemModel* const model = index.data(ItemModelPointerRole).value<ItemModel*>(); in retrieveItemInfo()
389 ItemModel* const model = index.data(ItemModelPointerRole).value<ItemModel*>(); in retrieveImageId()
587 void ItemModel::clearItemInfos() in clearItemInfos()
796 void ItemModel::reAddingFinished() in reAddingFinished()
802 void ItemModel::startRefresh() in startRefresh()
[all …]
H A Ditemfiltermodel.h70 void setSourceItemModel(ItemModel* const model);
71 ItemModel* sourceItemModel() const;
112 virtual void setDirectSourceItemModel(ItemModel* const model);
133 CategorizationModeRole = ItemModel::FilterModelRoles + 1,
136 SortOrderRole = ItemModel::FilterModelRoles + 2,
142 CategoryAlbumIdRole = ItemModel::FilterModelRoles + 3,
145 CategoryFormatRole = ItemModel::FilterModelRoles + 4,
148 CategoryDateRole = ItemModel::FilterModelRoles + 5,
151 CategoryFaceRole = ItemModel::FilterModelRoles + 6,
154 GroupIsOpenRole = ItemModel::FilterModelRoles + 7,
[all …]
H A Ditemmodel.h51 class DIGIKAM_DATABASE_EXPORT ItemModel : public QAbstractListModel,
111 explicit ItemModel(QObject* const parent = nullptr);
112 ~ItemModel() override;
412 ItemModel(const ItemModel&) = delete;
413 ItemModel& operator=(const ItemModel&) = delete;
420 Q_DECLARE_METATYPE(Digikam::ItemModel*)
/dports/games/openmw/openmw-openmw-0.47.0/apps/openmw/mwgui/
H A Ditemmodel.hpp9 class ItemModel;
14 ItemStack (const MWWorld::Ptr& base, ItemModel* creator, size_t count);
33 ItemModel* mCreator;
42 class ItemModel class
45 ItemModel();
46 virtual ~ItemModel() {} in ~ItemModel()
79 ItemModel(const ItemModel&);
80 ItemModel& operator=(const ItemModel&);
85 class ProxyItemModel : public ItemModel
102 void setSourceModel(ItemModel* sourceModel);
[all …]
H A Ditemmodel.cpp12 ItemStack::ItemStack(const MWWorld::Ptr &base, ItemModel *creator, size_t count) in ItemStack()
56 ItemModel::ItemModel() in ItemModel() function in MWGui::ItemModel
60 MWWorld::Ptr ItemModel::moveItem(const ItemStack &item, size_t count, ItemModel *otherModel) in moveItem()
67 bool ItemModel::allowedToUseItems() const in allowedToUseItems()
72 bool ItemModel::onDropItem(const MWWorld::Ptr &item, int count) in onDropItem()
77 bool ItemModel::onTakeItem(const MWWorld::Ptr &item, int count) in onTakeItem()
108 ItemModel::ModelIndex ProxyItemModel::mapToSource (ModelIndex index) in mapToSource()
120 ItemModel::ModelIndex ProxyItemModel::mapFromSource (ModelIndex index) in mapFromSource()
132 ItemModel::ModelIndex ProxyItemModel::getIndex (ItemStack item) in getIndex()
137 void ProxyItemModel::setSourceModel(ItemModel *sourceModel) in setSourceModel()
H A Dtradeitemmodel.hpp9 class ItemModel;
16 TradeItemModel (ItemModel* sourceModel, const MWWorld::Ptr& merchant);
27 void borrowItemToUs (ModelIndex itemIndex, ItemModel* source, size_t count);
32 void returnItemBorrowedFromUs (ModelIndex itemIndex, ItemModel* source, size_t count);
/dports/www/otter-browser/otter-browser-1.0.03/src/core/
H A DItemModel.cpp27 ItemModel::Item::Item(ItemModel::ItemType type) : QStandardItem() in Item()
32 ItemModel::Item::Item(const QString &title, ItemModel::ItemType type) : QStandardItem(title) in Item()
37 ItemModel::Item::Item(const QIcon &icon, const QString &title, ItemModel::ItemType type) : QStandar… in Item()
42 void ItemModel::Item::setup(ItemModel::ItemType type) in setup()
62 bool ItemModel::Item::isAncestorOf(QStandardItem *child) const in isAncestorOf()
84 ItemModel::ItemModel(QObject *parent) : QStandardItemModel(parent), in ItemModel() function in Otter::ItemModel
90 void ItemModel::setupItem(QStandardItem *item, ItemModel::ItemType type) in setupItem()
100 void ItemModel::resetCheckState(const QModelIndex &parent) in resetCheckState()
164 void ItemModel::setExclusive(bool isExclusive) in setExclusive()
181 QVariant ItemModel::data(const QModelIndex &index, int role) const in data()
[all …]
H A DItemModel.h28 class ItemModel : public QStandardItemModel
52 explicit Item(ItemModel::ItemType type = EntryType);
53 explicit Item(const QString &title, ItemModel::ItemType type = EntryType);
54 explicit Item(const QIcon &icon, const QString &title, ItemModel::ItemType type = EntryType);
59 void setup(ItemModel::ItemType type);
62 explicit ItemModel(QObject *parent = nullptr);
/dports/audio/sayonara/sayonara-player-5bbf1399332d5d59362ad03bf625f9132be72206/src/Gui/Library/
H A DItemModel.cpp36 struct ItemModel::Private
53 ItemModel::ItemModel(int columnCount, QObject* parent, AbstractLibrary* library) : in ItemModel() function in ItemModel
56 m = Pimpl::make<ItemModel::Private>(columnCount, library); in ItemModel()
59 ItemModel::~ItemModel() = default;
80 int ItemModel::columnCount(const QModelIndex&) const in columnCount()
85 bool ItemModel::removeRows(int row, int count, const QModelIndex& index) in removeRows()
107 void ItemModel::refreshData(int* rowCountBefore, int* rowCountNew) in refreshData()
135 QMimeData* ItemModel::mimeData(const QModelIndexList& indexes) const in mimeData()
154 QModelIndexList ItemModel::searchResults(const QString& substr) in searchResults()
178 AbstractLibrary* ItemModel::library() in library()
[all …]
/dports/graphics/qt5-graphicaleffects/kde-qtgraphicaleffects-5.15.2p2/tools/pngdumper/
H A Dpngdumper.sh33 rm ItemModel.qml
34 cp ItemModel1.qml ItemModel.qml
37 rm ItemModel.qml
38 cp ItemModel2.qml ItemModel.qml
41 rm ItemModel.qml
42 cp ItemModel3.qml ItemModel.qml
45 rm ItemModel.qml
46 cp ItemModel4.qml ItemModel.qml
49 rm ItemModel.qml
/dports/graphics/goocanvasmm2/goocanvasmm-1.90.9/goocanvas/src/
H A Ditemmodel.hg39 class ItemModel : public Glib::Interface
41 _CLASS_INTERFACE(ItemModel,GooCanvasItemModel,GOO_CANVAS_ITEM_MODEL,GooCanvasItemModelIface)
57 void add_child(const Glib::RefPtr<ItemModel>& child);
70 _WRAP_METHOD(void raise(const Glib::RefPtr<ItemModel>& above), goo_canvas_item_model_raise)
76 _WRAP_METHOD(void lower(const Glib::RefPtr<ItemModel>& below), goo_canvas_item_model_lower)
107 _WRAP_PROPERTY("parent", Glib::RefPtr<ItemModel>)
127 #m4 _CONVERSION(`GooCanvasItemModel*', `Glib::RefPtr<ItemModel>', `Glib::wrap($3, true)')
130 _WRAP_VFUNC(Glib::RefPtr<ItemModel> get_child(int child_num) const, get_child)
131 _WRAP_VFUNC(void add_child(const Glib::RefPtr<ItemModel>& child, int position), add_child)
137 _WRAP_VFUNC(Glib::RefPtr<ItemModel> get_parent() const, get_parent)
[all …]
/dports/net/rclone-browser/RcloneBrowser-1.8.0/src/
H A Ditem_model.cpp81 ItemModel::ItemModel(IconCache *icons, const QString &remote, QObject *parent) in ItemModel() function in ItemModel
120 ItemModel::~ItemModel() { delete mRoot; } in ~ItemModel()
126 bool ItemModel::isLoading(const QModelIndex &index) const { in isLoading()
130 void ItemModel::refresh(const QModelIndex &index) { in refresh()
146 bool ItemModel::isTopLevel(const QModelIndex &index) const { in isTopLevel()
150 bool ItemModel::isFolder(const QModelIndex &index) const { in isFolder()
169 QModelIndex ItemModel::index(int row, int column, in index()
203 int ItemModel::rowCount(const QModelIndex &parent) const { in rowCount()
207 const_cast<ItemModel *>(this)->load(parent, item); in rowCount()
218 void ItemModel::sort(int column, Qt::SortOrder order) { in sort()
[all …]
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/externalized/policy/
H A DDefaultIMPPolicy.h19 virtual const std::vector<const ItemModel *> & getInventory() const;
20 virtual const std::vector<const ItemModel *> & getGoodShooterItems() const;
21 virtual const std::vector<const ItemModel *> & getNormalShooterItems() const;
26 std::vector<const ItemModel *> m_inventory;
27 std::vector<const ItemModel *> m_goodShooterItems;
28 std::vector<const ItemModel *> m_normalShooterItems;
H A DDefaultIMPPolicy.cc9 struct ItemModel;
11 static void readListOfItems(rapidjson::Value &value, std::vector<const ItemModel *> &items, const I… in readListOfItems()
48 const std::vector<const ItemModel *> & DefaultIMPPolicy::getInventory() const in getInventory()
53 const std::vector<const ItemModel *> & DefaultIMPPolicy::getGoodShooterItems() const in getGoodShooterItems()
58 const std::vector<const ItemModel *> & DefaultIMPPolicy::getNormalShooterItems() const in getNormalShooterItems()
/dports/x11-themes/plasma5-breeze/breeze-5.23.5/kdecoration/config/
H A Dbreezeitemmodel.cpp16 ItemModel::ItemModel( QObject* parent ): in ItemModel() function in Breeze::ItemModel
21 void ItemModel::sort( int column, Qt::SortOrder order ) in sort()
36 QModelIndexList ItemModel::indexes( int column, const QModelIndex& parent ) const in indexes()
/dports/x11-themes/plasma5-oxygen/oxygen-5.23.5/liboxygen/
H A Doxygenitemmodel.cpp16 ItemModel::ItemModel( QObject* parent ): in ItemModel() function in Oxygen::ItemModel
23 void ItemModel::sort( int column, Qt::SortOrder order ) in sort()
38 QModelIndexList ItemModel::indexes( int column, const QModelIndex& parent ) const in indexes()
/dports/www/otter-browser/otter-browser-1.0.03/src/ui/preferences/
H A DPreferencesAdvancedPageWidget.cpp725 …if (static_cast<ItemModel::ItemType>(parent->data(ItemModel::TypeRole).toInt()) != ItemModel::Fold… in addUserAgent()
752 case ItemModel::EntryType: in addUserAgent()
794 …const ItemModel::ItemType type(static_cast<ItemModel::ItemType>(index.data(ItemModel::TypeRole).to… in editUserAgent()
831 …const ItemModel::ItemType type(static_cast<ItemModel::ItemType>(index.data(ItemModel::TypeRole).to… in updateUserAgentsActions()
845 …const ItemModel::ItemType type(static_cast<ItemModel::ItemType>(item->data(ItemModel::TypeRole).to… in saveUsuerAgents()
847 if (type == ItemModel::FolderType || type == ItemModel::EntryType) in saveUsuerAgents()
891 …if (static_cast<ItemModel::ItemType>(parent->data(ItemModel::TypeRole).toInt()) != ItemModel::Fold… in addProxy()
918 case ItemModel::EntryType: in addProxy()
960 …const ItemModel::ItemType type(static_cast<ItemModel::ItemType>(index.data(ItemModel::TypeRole).to… in editProxy()
995 …const ItemModel::ItemType type(static_cast<ItemModel::ItemType>(index.data(ItemModel::TypeRole).to… in updateProxiesActions()
[all …]
/dports/deskutils/znotes/zNotes-0.4.6/
H A Dtoolbarmodel.cpp63 ItemModel::ItemModel(ToolbarItems& t_items) in ItemModel() function in ItemModel
70 int ItemModel::rowCount(const QModelIndex &) const in rowCount()
75 QVariant ItemModel::data(const QModelIndex &index, int role) const in data()
87 Qt::ItemFlags ItemModel::flags(const QModelIndex &index) const in flags()
94 Qt::DropActions ItemModel::supportedDropActions() const in supportedDropActions()
99 QStringList ItemModel::mimeTypes() const in mimeTypes()
106 QMimeData* ItemModel::mimeData(const QModelIndexList& indexes) const in mimeData()
119 bool ItemModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, con… in dropMimeData()

12345678