From 838baf3f99ec5ab81b063eb5449a3381d860f377 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 11 Jun 2011 04:58:26 +0000 Subject: TQt4 port kdegames This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkdegames/kcarddialog.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'libkdegames/kcarddialog.h') diff --git a/libkdegames/kcarddialog.h b/libkdegames/kcarddialog.h index 7cdc82b6..e0681f5b 100644 --- a/libkdegames/kcarddialog.h +++ b/libkdegames/kcarddialog.h @@ -90,6 +90,7 @@ class KCardDialogPrivate; class KDE_EXPORT KCardDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: @@ -103,11 +104,11 @@ public: /** * Constructs a card deck selection dialog. * - * @param parent The parent widget of the dialog, if any. + * @param tqparent The tqparent widget of the dialog, if any. * @param name The name of the dialog. * @param flags Specifies whether the dialog is modal or not. */ - KCardDialog (TQWidget* parent = NULL,const char* name = NULL, + KCardDialog (TQWidget* tqparent = NULL,const char* name = NULL, CardFlags flags = Both); /** * Destructs a card deck selection dialog. @@ -125,7 +126,7 @@ public: * @param carddir a reference to the directory name used as front of the * cards. The directory contains the card images as 1.png to 52.png * - * @param parent an optional pointer to the parent window of the dialog + * @param tqparent an optional pointer to the tqparent window of the dialog * * @param flags what to show * @@ -153,7 +154,7 @@ public: * * @return TQDialog::result(). */ - static int getCardDeck(TQString &deck,TQString &carddir, TQWidget *parent=0, + static int getCardDeck(TQString &deck,TQString &carddir, TQWidget *tqparent=0, CardFlags flags=Both, bool* randomDeck=0, bool* randomCardDir=0, double* scale=0, KConfig* conf=0); -- cgit v1.2.1