mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 16:44:48 -07:00
Refactor: rename CardInfoPerSet to PrintingInfo (#6024)
* remove unnecessary consts * removed unused * rename class * rename variables and methods * rename again * rename variables again * rename field * run formatter
This commit is contained in:
parent
686e90d0ed
commit
a9684f67cc
32 changed files with 288 additions and 287 deletions
|
|
@ -95,7 +95,7 @@ public:
|
|||
SplitCardPart(const QString &_name,
|
||||
const QString &_text,
|
||||
const QVariantHash &_properties,
|
||||
const CardInfoPerSet &setInfo);
|
||||
const PrintingInfo &_printingInfo);
|
||||
inline const QString &getName() const
|
||||
{
|
||||
return name;
|
||||
|
|
@ -108,16 +108,16 @@ public:
|
|||
{
|
||||
return properties;
|
||||
}
|
||||
inline const CardInfoPerSet &getSetInfo() const
|
||||
inline const PrintingInfo &getPrintingInfo() const
|
||||
{
|
||||
return setInfo;
|
||||
return printingInfo;
|
||||
}
|
||||
|
||||
private:
|
||||
QString name;
|
||||
QString text;
|
||||
QVariantHash properties;
|
||||
CardInfoPerSet setInfo;
|
||||
PrintingInfo printingInfo;
|
||||
};
|
||||
|
||||
class OracleImporter : public QObject
|
||||
|
|
@ -143,7 +143,7 @@ private:
|
|||
bool isToken,
|
||||
QVariantHash properties,
|
||||
const QList<CardRelation *> &relatedCards,
|
||||
const CardInfoPerSet &setInfo);
|
||||
const PrintingInfo &printingInfo);
|
||||
signals:
|
||||
void setIndexChanged(int cardsImported, int setIndex, const QString &setName);
|
||||
void dataReadProgress(int bytesRead, int totalBytes);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue