summaryrefslogtreecommitdiffstats
path: root/kmail/dictionarycombobox.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /kmail/dictionarycombobox.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/dictionarycombobox.cpp')
-rw-r--r--kmail/dictionarycombobox.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kmail/dictionarycombobox.cpp b/kmail/dictionarycombobox.cpp
index 59e0affd..88b77623 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 ) {