diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/kthememanager/knewthemedlg.cpp | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kthememanager/knewthemedlg.cpp')
-rw-r--r-- | kcontrol/kthememanager/knewthemedlg.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/kcontrol/kthememanager/knewthemedlg.cpp b/kcontrol/kthememanager/knewthemedlg.cpp index 1514ed453..8ba59b680 100644 --- a/kcontrol/kthememanager/knewthemedlg.cpp +++ b/kcontrol/kthememanager/knewthemedlg.cpp @@ -19,17 +19,17 @@ #include "knewthemedlg.h" #include "newthemewidget.h" -#include <qlineedit.h> -#include <qtextedit.h> +#include <tqlineedit.h> +#include <tqtextedit.h> #include <klocale.h> -KNewThemeDlg::KNewThemeDlg( QWidget * parent, const char * name ) +KNewThemeDlg::KNewThemeDlg( TQWidget * parent, const char * name ) : KDialogBase(parent, name, true, i18n("New Theme"), Ok|Cancel, Ok) { m_base = new NewThemeWidget( this, "new_theme_base" ); setMainWidget( m_base ); - connect( m_base->leName, SIGNAL( textChanged ( const QString & ) ), this, SLOT( slotThemeNameChanged( const QString & ) ) ); + connect( m_base->leName, TQT_SIGNAL( textChanged ( const TQString & ) ), this, TQT_SLOT( slotThemeNameChanged( const TQString & ) ) ); slotThemeNameChanged( m_base->leName->text() ); } @@ -38,57 +38,57 @@ KNewThemeDlg::~KNewThemeDlg() delete m_base; } -void KNewThemeDlg::slotThemeNameChanged( const QString &_text ) +void KNewThemeDlg::slotThemeNameChanged( const TQString &_text ) { enableButtonOK( !_text.isEmpty() ); } -QString KNewThemeDlg::getName() const +TQString KNewThemeDlg::getName() const { return m_base->leName->text(); } -QString KNewThemeDlg::getAuthor() const +TQString KNewThemeDlg::getAuthor() const { return m_base->leAuthor->text(); } -QString KNewThemeDlg::getEmail() const +TQString KNewThemeDlg::getEmail() const { return m_base->leEmail->text(); } -QString KNewThemeDlg::getHomepage() const +TQString KNewThemeDlg::getHomepage() const { return m_base->leHomepage->text(); } -QString KNewThemeDlg::getComment() const +TQString KNewThemeDlg::getComment() const { return m_base->teComment->text(); } -QString KNewThemeDlg::getVersion() const +TQString KNewThemeDlg::getVersion() const { return m_base->leVersion->text(); } -void KNewThemeDlg::setAuthor( const QString & author ) +void KNewThemeDlg::setAuthor( const TQString & author ) { m_base->leAuthor->setText( author ); } -void KNewThemeDlg::setEmail( const QString & email ) +void KNewThemeDlg::setEmail( const TQString & email ) { m_base->leEmail->setText( email ); } -void KNewThemeDlg::setVersion( const QString & version ) +void KNewThemeDlg::setVersion( const TQString & version ) { m_base->leVersion->setText( version ); } -void KNewThemeDlg::setName( const QString & name ) +void KNewThemeDlg::setName( const TQString & name ) { m_base->leName->setText( name ); } |