Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.
Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
This commit is contained in:
1 parent
29dca1846e
commit
02518c67b2
232 files changed
+22743
-21044
No files matched your search
@@ -1,7 +1,7 @@
|
||||
//
|
||||
// C++ Interface: mycardspixmaplabel
|
||||
//
|
||||
// Description:
|
||||
// Description:
|
||||
//
|
||||
//
|
||||
// Author: FThauer FHammer <f.thauer@web.de>, (C) 2007
|
||||
@@ -21,26 +21,38 @@ class gameTableImpl;
|
||||
|
||||
class MyCardsPixmapLabel : public QLabel
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_OBJECT
|
||||
public:
|
||||
MyCardsPixmapLabel(QGroupBox*);
|
||||
MyCardsPixmapLabel(QGroupBox*);
|
||||
|
||||
~MyCardsPixmapLabel();
|
||||
~MyCardsPixmapLabel();
|
||||
|
||||
void setMyW ( gameTableImpl* theValue ) { myW = theValue; }
|
||||
void setMyW ( gameTableImpl* theValue ) {
|
||||
myW = theValue;
|
||||
}
|
||||
|
||||
void setIsFlipside(bool theValue) {
|
||||
isFlipside = theValue;
|
||||
}
|
||||
bool getIsFlipside() const {
|
||||
return isFlipside;
|
||||
}
|
||||
|
||||
void setFadeOutAction(bool theValue) {
|
||||
fadeOutAction = theValue;
|
||||
}
|
||||
bool getFadeOutAction() const {
|
||||
return fadeOutAction;
|
||||
}
|
||||
|
||||
void setIsFlipside(bool theValue){ isFlipside = theValue;}
|
||||
bool getIsFlipside() const{ return isFlipside;}
|
||||
|
||||
void setFadeOutAction(bool theValue) { fadeOutAction = theValue; }
|
||||
bool getFadeOutAction() const { return fadeOutAction;}
|
||||
|
||||
void startFadeOut(int);
|
||||
void stopFadeOut();
|
||||
void stopFadeOut();
|
||||
void startFlipCards(int, const QPixmap & , const QPixmap &);
|
||||
void stopFlipCardsAnimation();
|
||||
|
||||
void setFlipsidePix(QPixmap p) { flipside = p; }
|
||||
|
||||
void setFlipsidePix(QPixmap p) {
|
||||
flipside = p;
|
||||
}
|
||||
|
||||
void paintEvent(QPaintEvent * event);
|
||||
|
||||
@@ -49,26 +61,28 @@ signals:
|
||||
|
||||
|
||||
public slots:
|
||||
|
||||
|
||||
void setPixmap ( const QPixmap &, const bool );
|
||||
void setHiddenFrontPixmap ( const QPixmap &);
|
||||
|
||||
void nextFadeOutFrame();
|
||||
void nextFlipCardsFrame();
|
||||
|
||||
|
||||
void fastFlipCards(bool front);
|
||||
|
||||
// void mouseMoveEvent ( QMouseEvent *);
|
||||
|
||||
// void mouseMoveEvent ( QMouseEvent *);
|
||||
|
||||
void mousePressEvent ( QMouseEvent *);
|
||||
void mouseReleaseEvent ( QMouseEvent *);
|
||||
|
||||
void setFront ( const QPixmap& theValue ) { front = theValue; }
|
||||
|
||||
void setFront ( const QPixmap& theValue ) {
|
||||
front = theValue;
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
gameTableImpl* myW;
|
||||
private:
|
||||
|
||||
gameTableImpl* myW;
|
||||
|
||||
qreal frameOpacity;
|
||||
qreal opacityRaiseInterval;
|
||||
@@ -78,22 +92,22 @@ private:
|
||||
qreal frameFlipCardsAction2Size;
|
||||
|
||||
QTimer *fadeOutTimer;
|
||||
QTimer *flipCardsTimer;
|
||||
QTimer *flipCardsTimer;
|
||||
|
||||
bool isFlipside;
|
||||
bool fadeOutAction;
|
||||
bool flipCardsAction1;
|
||||
bool flipCardsAction2;
|
||||
bool stopFlipCards;
|
||||
|
||||
bool mousePress;
|
||||
bool fastFlipCardsFront;
|
||||
|
||||
bool mousePress;
|
||||
bool fastFlipCardsFront;
|
||||
|
||||
QPixmap front;
|
||||
QPixmap flipside;
|
||||
QPixmap myHiddenFront;
|
||||
|
||||
friend class gameTableImpl;
|
||||
friend class gameTableImpl;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in new issue
Block a user