diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:46 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:46 -0600 |
commit | 58a97ed3af5e4df6c4a58d043b0c267bd97056a9 (patch) | |
tree | 5a2fde6842fd422cae2d8670d382be965098cc32 /kpat/dealer.h | |
parent | 2ce15ee76fd2d9d18a63c035a0f5b00b94c60cdc (diff) | |
download | tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.tar.gz tdegames-58a97ed3af5e4df6c4a58d043b0c267bd97056a9.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kpat/dealer.h')
-rw-r--r-- | kpat/dealer.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kpat/dealer.h b/kpat/dealer.h index 814e33d4..7dfc5825 100644 --- a/kpat/dealer.h +++ b/kpat/dealer.h @@ -6,12 +6,12 @@ #include <krandomsequence.h> class TQDomDocument; -class KMainWindow; +class TDEMainWindow; class Dealer; class DealerInfo; -class KAction; -class KSelectAction; -class KToggleAction; +class TDEAction; +class TDESelectAction; +class TDEToggleAction; class KPixmap; class DealerInfoList { @@ -35,7 +35,7 @@ public: } const char *name; uint gameindex; - virtual Dealer *createGame(KMainWindow *parent) = 0; + virtual Dealer *createGame(TDEMainWindow *parent) = 0; }; class CardState; @@ -61,7 +61,7 @@ class Dealer: public TQCanvasView public: - Dealer( KMainWindow* parent = 0, const char* name = 0 ); + Dealer( TDEMainWindow* parent = 0, const char* name = 0 ); virtual ~Dealer(); static const Dealer *instance(); @@ -171,7 +171,7 @@ protected: // it's not const because it changes the random seed virtual MoveHint *chooseHint(); - KMainWindow *parent() const; + TDEMainWindow *parent() const; bool waiting() const { return _waiting != 0; } void setWaiting(bool w); @@ -206,8 +206,8 @@ protected: int myActions; bool toldAboutLostGame; - KToggleAction *ademo; - KAction *ahint, *aredeal; + TDEToggleAction *ademo; + TDEAction *ahint, *aredeal; KRandomSequence randseq; TQColor _midcolor; |