From 4ae0c208b66e0f7954e194384464fe2d0a2c56dd Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:51:49 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kbugbuster/gui/cwsearchwidget.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kbugbuster/gui/cwsearchwidget.cpp') diff --git a/kbugbuster/gui/cwsearchwidget.cpp b/kbugbuster/gui/cwsearchwidget.cpp index 8f7fcb26..5a075bb8 100644 --- a/kbugbuster/gui/cwsearchwidget.cpp +++ b/kbugbuster/gui/cwsearchwidget.cpp @@ -14,34 +14,34 @@ ************************************************************************* */ -#include +#include #include #include -#include -#include +#include +#include #include -#include +#include #include "cwsearchwidget.h" using namespace KBugBusterMainWindow; -CWSearchWidget::CWSearchWidget( QWidget *parent , const char * name ) +CWSearchWidget::CWSearchWidget( TQWidget *parent , const char * name ) : CWSearchWidget_Base( parent, name ) { // Set fonts and margins CWSearchWidget_BaseLayout->setSpacing( KDialog::spacingHint() ); CWSearchWidget_BaseLayout->setMargin( KDialog::marginHint() ); - QFont f = m_searchLabel->font(); + TQFont f = m_searchLabel->font(); f.setBold( true ); m_searchLabel->setFont( f ); - connect( m_searchDesc, SIGNAL( textChanged ( const QString & ) ), - this, SLOT( textDescriptionChanged ( const QString & ) ) ); + connect( m_searchDesc, TQT_SIGNAL( textChanged ( const TQString & ) ), + this, TQT_SLOT( textDescriptionChanged ( const TQString & ) ) ); - connect( m_searchBugNumber, SIGNAL( textChanged ( const QString & ) ), - this, SLOT( textNumberChanged ( const QString & ) ) ); + connect( m_searchBugNumber, TQT_SIGNAL( textChanged ( const TQString & ) ), + this, TQT_SLOT( textNumberChanged ( const TQString & ) ) ); m_searchDescBtn->setEnabled( !m_searchDesc->text().isEmpty() ); m_searchBugNumberBtn->setEnabled( !m_searchBugNumber->text().isEmpty() ); @@ -53,12 +53,12 @@ CWSearchWidget::~CWSearchWidget() { } -void CWSearchWidget::textDescriptionChanged ( const QString &_text ) +void CWSearchWidget::textDescriptionChanged ( const TQString &_text ) { m_searchDescBtn->setEnabled( !_text.isEmpty() ); } -void CWSearchWidget::textNumberChanged ( const QString &_text ) +void CWSearchWidget::textNumberChanged ( const TQString &_text ) { m_searchBugNumberBtn->setEnabled( !_text.isEmpty() ); } -- cgit v1.2.1