From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kotext/KoChangeCaseDia.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) (limited to 'lib/kotext/KoChangeCaseDia.cpp') diff --git a/lib/kotext/KoChangeCaseDia.cpp b/lib/kotext/KoChangeCaseDia.cpp index 3b4dcdc95..1d2409b30 100644 --- a/lib/kotext/KoChangeCaseDia.cpp +++ b/lib/kotext/KoChangeCaseDia.cpp @@ -19,32 +19,32 @@ #include -#include -#include -#include -#include +#include +#include +#include +#include #include "KoChangeCaseDia.h" -KoChangeCaseDia::KoChangeCaseDia( QWidget *parent, const char *name ) - : KDialogBase( parent, name , true, "", Ok|Cancel, Ok, true ) +KoChangeCaseDia::KoChangeCaseDia( TQWidget *tqparent, const char *name ) + : KDialogBase( tqparent, name , true, "", Ok|Cancel, Ok, true ) { setCaption( i18n("Change Case") ); - QVBox *page = makeVBoxMainWidget(); + TQVBox *page = makeVBoxMainWidget(); - QButtonGroup *grp = new QButtonGroup( 1, QGroupBox::Horizontal, i18n( "Case" ),page ); + TQButtonGroup *grp = new TQButtonGroup( 1, Qt::Horizontal, i18n( "Case" ),page ); grp->setRadioButtonExclusive( TRUE ); - grp->layout(); - m_upperCase=new QRadioButton( i18n("&Uppercase"), grp ); - m_lowerCase=new QRadioButton( i18n("&Lowercase"), grp ); + grp->tqlayout(); + m_upperCase=new TQRadioButton( i18n("&Uppercase"), grp ); + m_lowerCase=new TQRadioButton( i18n("&Lowercase"), grp ); - m_titleCase=new QRadioButton( i18n("T&itle case"), grp ); + m_titleCase=new TQRadioButton( i18n("T&itle case"), grp ); - m_toggleCase=new QRadioButton( i18n("&Toggle case"), grp ); - m_sentenceCase=new QRadioButton( i18n("Sentence case"), grp ); - QWhatsThis::add( m_sentenceCase, i18n("Convert first letter of a sentence to uppercase.")); + m_toggleCase=new TQRadioButton( i18n("&Toggle case"), grp ); + m_sentenceCase=new TQRadioButton( i18n("Sentence case"), grp ); + TQWhatsThis::add( m_sentenceCase, i18n("Convert first letter of a sentence to uppercase.")); m_upperCase->setChecked(true); grp->setRadioButtonExclusive( TRUE ); -- cgit v1.2.3