diff options
Diffstat (limited to 'kmail/dictionarycombobox.cpp')
-rw-r--r-- | kmail/dictionarycombobox.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kmail/dictionarycombobox.cpp b/kmail/dictionarycombobox.cpp index 59e0affd5..88b776231 100644 --- a/kmail/dictionarycombobox.cpp +++ b/kmail/dictionarycombobox.cpp @@ -38,20 +38,20 @@ #include <ksconfig.h> #include <kdebug.h> -#include <qstringlist.h> +#include <tqstringlist.h> namespace KMail { - DictionaryComboBox::DictionaryComboBox( QWidget * parent, const char * name ) - : QComboBox( false, parent, name ), + DictionaryComboBox::DictionaryComboBox( TQWidget * parent, const char * name ) + : TQComboBox( false, parent, name ), mSpellConfig( 0 ), mDefaultDictionary( 0 ) { reloadCombo(); - connect( this, SIGNAL( activated( int ) ), - this, SLOT( slotDictionaryChanged( int ) ) ); - connect( this, SIGNAL( dictionaryChanged( int ) ), - mSpellConfig, SLOT( sSetDictionary( int ) ) ); + connect( this, TQT_SIGNAL( activated( int ) ), + this, TQT_SLOT( slotDictionaryChanged( int ) ) ); + connect( this, TQT_SIGNAL( dictionaryChanged( int ) ), + mSpellConfig, TQT_SLOT( sSetDictionary( int ) ) ); } DictionaryComboBox::~DictionaryComboBox() @@ -60,21 +60,21 @@ namespace KMail { mSpellConfig = 0; } - QString DictionaryComboBox::currentDictionaryName() const + TQString DictionaryComboBox::currentDictionaryName() const { return currentText(); } - QString DictionaryComboBox::currentDictionary() const + TQString DictionaryComboBox::currentDictionary() const { - QString dict = mDictionaries[ currentItem() ]; + TQString dict = mDictionaries[ currentItem() ]; if ( dict.isEmpty() ) return "<default>"; else return dict; } - void DictionaryComboBox::setCurrentByDictionaryName( const QString & name ) + void DictionaryComboBox::setCurrentByDictionaryName( const TQString & name ) { if ( name.isEmpty() ) return; @@ -90,7 +90,7 @@ namespace KMail { } } - void DictionaryComboBox::setCurrentByDictionary( const QString & dictionary ) + void DictionaryComboBox::setCurrentByDictionary( const TQString & dictionary ) { if ( !dictionary.isEmpty() ) { // first handle the special case of the default dictionary @@ -103,7 +103,7 @@ namespace KMail { } int i = 0; - for ( QStringList::ConstIterator it = mDictionaries.begin(); + for ( TQStringList::ConstIterator it = mDictionaries.begin(); it != mDictionaries.end(); ++it, ++i ) { if ( *it == dictionary ) { |