diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:51:49 +0000 |
commit | 4ae0c208b66e0f7954e194384464fe2d0a2c56dd (patch) | |
tree | b0a7cd1c184f0003c0292eb416ed27f674f9cc43 /kbugbuster/gui/cwsearchwidget.cpp | |
parent | 1964ea0fb4ab57493ca2ebb709c8d3b5395fd653 (diff) | |
download | tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.tar.gz tdesdk-4ae0c208b66e0f7954e194384464fe2d0a2c56dd.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1157652 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbugbuster/gui/cwsearchwidget.cpp')
-rw-r--r-- | kbugbuster/gui/cwsearchwidget.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
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 <qpushbutton.h> +#include <tqpushbutton.h> #include <klocale.h> #include <kdialog.h> -#include <qlineedit.h> -#include <qlayout.h> +#include <tqlineedit.h> +#include <tqlayout.h> #include <kcombobox.h> -#include <qlabel.h> +#include <tqlabel.h> #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() ); } |