Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
ea08fe16
Commit
ea08fe16
authored
Jun 22, 2014
by
Daenyth
Browse files
Fix Q_INTERFACES warnings
Fix #88
parent
4574df0a
Changes
6
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/abstractcarddragitem.h
View file @
ea08fe16
...
...
@@ -9,6 +9,7 @@ class CardInfo;
class
AbstractCardDragItem
:
public
QObject
,
public
QGraphicsItem
{
Q_OBJECT
Q_INTERFACES
(
QGraphicsItem
)
protected:
AbstractCardItem
*
item
;
QPointF
hotSpot
;
...
...
cockatrice/src/abstractcounter.h
View file @
ea08fe16
...
...
@@ -9,6 +9,7 @@ class QAction;
class
AbstractCounter
:
public
QObject
,
public
QGraphicsItem
{
Q_OBJECT
Q_INTERFACES
(
QGraphicsItem
)
protected:
Player
*
player
;
int
id
;
...
...
cockatrice/src/arrowitem.h
View file @
ea08fe16
...
...
@@ -11,6 +11,7 @@ class ArrowTarget;
class
ArrowItem
:
public
QObject
,
public
QGraphicsItem
{
Q_OBJECT
Q_INTERFACES
(
QGraphicsItem
)
private:
QPainterPath
path
;
QMenu
*
menu
;
...
...
cockatrice/src/phasestoolbar.h
View file @
ea08fe16
...
...
@@ -11,6 +11,7 @@ class GameCommand;
class
PhaseButton
:
public
QObject
,
public
QGraphicsItem
{
Q_OBJECT
Q_INTERFACES
(
QGraphicsItem
)
private:
QString
name
;
bool
active
,
highlightable
;
...
...
@@ -39,6 +40,7 @@ protected:
class
PhasesToolbar
:
public
QObject
,
public
QGraphicsItem
{
Q_OBJECT
Q_INTERFACES
(
QGraphicsItem
)
private:
QList
<
PhaseButton
*>
buttonList
;
PhaseButton
*
nextTurnButton
;
...
...
cockatrice/src/player.h
View file @
ea08fe16
...
...
@@ -58,7 +58,8 @@ class PendingCommand;
class
PlayerArea
:
public
QObject
,
public
QGraphicsItem
{
Q_OBJECT
private:
Q_INTERFACES
(
QGraphicsItem
)
private:
QBrush
bgPixmapBrush
;
QRectF
bRect
;
private
slots
:
...
...
@@ -76,6 +77,7 @@ public:
class
Player
:
public
QObject
,
public
QGraphicsItem
{
Q_OBJECT
Q_INTERFACES
(
QGraphicsItem
)
signals:
void
openDeckEditor
(
const
DeckLoader
*
deck
);
void
newCardAdded
(
AbstractCardItem
*
card
);
...
...
cockatrice/src/zoneviewzone.h
View file @
ea08fe16
...
...
@@ -11,6 +11,7 @@ class QGraphicsSceneWheelEvent;
class
ZoneViewZone
:
public
SelectZone
,
public
QGraphicsLayoutItem
{
Q_OBJECT
Q_INTERFACES
(
QGraphicsLayoutItem
)
private:
QRectF
bRect
,
optimumRect
;
int
minRows
,
numberCards
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment