Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ListItem* find(const QString &id) const;
- //QModelIndex indexFromItem( const ListItem* item) const;
- Q_INVOKABLE void clear();
- QHash<int, QByteArray> roleNames() const;
- QHash<int, QByteArray> setupRoleNames(QHash<int, QByteArray> roles) const;
- private slots:
- void handleItemChange();
- private:
- QHash<int, QByteArray> roles;
- QList<ItemArrayType> itemList;
- enum Roles {
- RoleGetApplicationData = Qt::UserRole+1,
- RoleGetAttributeSetArray,
- RoleGetAttributeArray,
- RoleGetLookupAttributeArray,
- RoleGetAutoPay,
- RoleGetPaymentDetails,
- RoleGetBiddingDetails,
- RoleGetMotorsGermanySearchable,
- RoleGetBuyerProtection,
- RoleGetBuyItNowPrice,
- RoleGetCategoryMappingAllowed,
- RoleGetCharity,
- RoleGetCountry,
- RoleGetCrossPromotion,
- RoleGetCurrency,
- RoleGetDescription,
- RoleGetDescriptionReviseMode,
- RoleGetDistance,
- RoleGetGiftIcon,
- RoleGetGiftServices,
- RoleGetHitCounter,
- RoleGetItemID,
- RoleGetListingDetails,
- RoleGetListingDesigner,
- RoleGetListingDuration,
- RoleGetListingEnhancement,
- RoleGetListingType,
- RoleGetLocation,
- RoleGetLotSize,
- RoleGetPartnerCode,
- RoleGetPartnerName,
- RoleGetPaymentMethods,
- RoleGetPayPalEmailAddress,
- RoleGetPrimaryCategory,
- RoleGetPrivateListing,
- RoleGetProductListingDetails,
- RoleGetQuantity,
- RoleGetPrivateNotes,
- RoleGetRegionID,
- RoleGetRelistLink,
- RoleGetReservePrice,
- RoleGetReviseStatus,
- RoleGetScheduleTime,
- RoleGetSecondaryCategory,
- RoleGetFreeAddedCategory,
- RoleGetSeller,
- RoleGetSellingStatus,
- RoleGetShippingDetails,
- RoleGetShipToLocations,
- RoleGetSite,
- RoleGetStartPrice,
- RoleGetStorefront,
- RoleGetSubTitle,
- RoleGetTimeLeft,
- RoleGetTitle,
- RoleGetUUID,
- RoleGetVATDetails,
- RoleGetSellerVacationNote,
- RoleGetWatchCount,
- RoleGetHitCount,
- RoleGetDisableBuyerRequirements,
- RoleGetBestOfferDetails,
- RoleGetLocationDefaulted,
- RoleGetThirdPartyCheckout,
- RoleGetUseTaxTable,
- RoleGetGetItFast,
- RoleGetBuyerResponsibleForShipping,
- RoleGetLimitedWarrantyEligible,
- RoleGetEBayNotes,
- RoleGetQuestionCount,
- RoleGetRelisted,
- RoleGetQuantityAvailable,
- RoleGetSKU,
- RoleGetCategoryBasedAttributesPrefill,
- RoleGetSearchDetails,
- RoleGetPostalCode,
- RoleGetShippingTermsInDescription,
- RoleGetExternalProductID,
- RoleGetSellerInventoryID,
- RoleGetPictureDetails,
- RoleGetDispatchTimeMax,
- RoleGetSkypeEnabled,
- RoleGetSkypeID,
- RoleGetSkypeContactOption,
- RoleGetBestOfferEnabled,
- RoleGetLocalListing,
- RoleGetThirdPartyCheckoutIntegration,
- RoleGetListingCheckoutRedirectPreference,
- RoleGetSellerContactDetails,
- RoleGetTotalQuestionCount,
- RoleGetProxyItem,
- RoleGetExtendedSellerContactDetails,
- RoleGetLeadCount,
- RoleGetNewLeadCount,
- RoleGetItemSpecifics,
- RoleGetGroupCategoryID,
- RoleGetClassifiedAdPayPerLeadFee,
- RoleGetBidGroupItem,
- RoleGetApplyBuyerProtection,
- RoleGetListingSubtype2,
- RoleGetMechanicalCheckAccepted,
- RoleGetUpdateSellerInfo,
- RoleGetUpdateReturnPolicy,
- RoleGetItemPolicyViolation,
- RoleGetCrossBorderTrade,
- RoleGetBusinessSellerDetails,
- RoleGetBuyerGuaranteePrice,
- RoleGetBuyerRequirementDetails,
- RoleGetReturnPolicy,
- RoleGetPaymentAllowedSite,
- RoleGetInventoryTrackingMethod,
- RoleGetIntegratedMerchantCreditCardEnabled,
- RoleGetVariations,
- RoleGetItemCompatibilityList,
- RoleGetItemCompatibilityCount,
- RoleGetConditionID,
- RoleGetConditionDescription,
- RoleGetConditionDisplayName,
- RoleGetTaxCategory,
- RoleGetQuantityAvailableHint,
- RoleGetQuantityThreshold,
- RoleGetPostCheckoutExperienceEnabled,
- RoleGetDiscountPriceInfo,
- RoleGetUseRecommendedProduct,
- RoleGetSellerProvidedTitle,
- RoleGetVIN,
- RoleGetVINLink,
- RoleGetVRM,
- RoleGetVRMLink,
- RoleGetQuantityInfo,
- RoleGetSellerProfiles,
- RoleGetShippingPackageDetails,
- RoleGetTopRatedListing,
- RoleGetFloorPrice,
- RoleGetCeilingPrice,
- RoleGetQuantityRestrictionPerBuyer,
- RoleGetIsIntermediatedShippingEligible,
- RoleGetUnitInfo,
- RoleGetRelistParentID,
- RoleGetConditionDefinition,
- RoleGetExtraElement
- };
- };
- #endif // ABSTRACTMYEBAYLISTMODEL_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement