summaryrefslogtreecommitdiffstats
path: root/kregexpeditor/qt-only/compat.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /kregexpeditor/qt-only/compat.cpp
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kregexpeditor/qt-only/compat.cpp')
-rw-r--r--kregexpeditor/qt-only/compat.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kregexpeditor/qt-only/compat.cpp b/kregexpeditor/qt-only/compat.cpp
index a7a5d12..528099e 100644
--- a/kregexpeditor/qt-only/compat.cpp
+++ b/kregexpeditor/qt-only/compat.cpp
@@ -27,16 +27,16 @@ TQString i18n( const TQString& a, const TQString& b) {
}
KDialogBase::KDialogBase( int /*dialogFace*/, const TQString &caption, int buttonMask,
- ButtonCode defaultButton, TQWidget *parent, const char *name,
+ ButtonCode defaultButton, TQWidget *tqparent, const char *name,
bool modal )
- :TQDialog( parent, name, modal )
+ :TQDialog( tqparent, name, modal )
{
init( buttonMask, defaultButton, caption );
}
-KDialogBase::KDialogBase( TQWidget* parent, const char* name, bool modal,
+KDialogBase::KDialogBase( TQWidget* tqparent, const char* name, bool modal,
const TQString& caption, int buttonMask )
- : TQDialog( parent, name, modal )
+ : TQDialog( tqparent, name, modal )
{
init( buttonMask, Ok, caption );
}
@@ -92,24 +92,24 @@ void KDialogBase::slotCancel()
emit finished();
}
-int KMessageBox::warningYesNo(TQWidget *parent, const TQString &text, const TQString &caption )
+int KMessageBox::warningYesNo(TQWidget *tqparent, const TQString &text, const TQString &caption )
{
- int code = warning( parent, caption, text, tr("No"), tr("Yes") );
+ int code = warning( tqparent, caption, text, tr("No"), tr("Yes") );
if ( code == 0 )
return Yes;
else
return No;
}
-int KMessageBox::information( TQWidget* parent, const TQString& text, const TQString& caption,
+int KMessageBox::information( TQWidget* tqparent, const TQString& text, const TQString& caption,
const TQString& /*dontShowAgainName*/ )
{
- return TQMessageBox::information( parent, caption, text );
+ return TQMessageBox::information( tqparent, caption, text );
}
-int KMessageBox::sorry( TQWidget* parent, const TQString& text, const TQString& caption )
+int KMessageBox::sorry( TQWidget* tqparent, const TQString& text, const TQString& caption )
{
- return TQMessageBox::information( parent, caption, text );
+ return TQMessageBox::information( tqparent, caption, text );
}