summaryrefslogtreecommitdiffstats
path: root/libtdepim/komposer/core/prefsmodule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libtdepim/komposer/core/prefsmodule.cpp')
-rw-r--r--libtdepim/komposer/core/prefsmodule.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/libtdepim/komposer/core/prefsmodule.cpp b/libtdepim/komposer/core/prefsmodule.cpp
index 77e1c264b..1cd97e724 100644
--- a/libtdepim/komposer/core/prefsmodule.cpp
+++ b/libtdepim/komposer/core/prefsmodule.cpp
@@ -27,7 +27,7 @@
#include <klocale.h>
#include <ktrader.h>
-#include <tqlayout.h>
+#include <layout.h>
#include <tqlabel.h>
#include <tqbuttongroup.h>
@@ -75,8 +75,8 @@ EditorSelection::EditorSelection( const TQString &text, TQString &reference,
: m_reference( reference )
{
m_box = new TQGroupBox( 0, TQt::Vertical, text, parent );
- TQVBoxLayout *boxLayout = new TQVBoxLayout( m_box->tqlayout() );
- boxLayout->tqsetAlignment( TQt::AlignTop );
+ TQVBoxLayout *boxLayout = new TQVBoxLayout( m_box->layout() );
+ boxLayout->setAlignment( TQt::AlignTop );
m_editorsCombo = new KComboBox( m_box );
boxLayout->addWidget( m_editorsCombo );
@@ -101,11 +101,11 @@ EditorSelection::readConfig()
m_editorsCombo->clear();
KTrader::OfferList editors = KTrader::self()->query(
- TQString::tqfromLatin1( "Komposer/Editor" ) );
+ TQString::fromLatin1( "Komposer/Editor" ) );
KTrader::OfferList::ConstIterator it;
int i = 0;
for ( it = editors.begin(); it != editors.end(); ++it, ++i ) {
- if ( !(*it)->hasServiceType( TQString::tqfromLatin1( "Komposer/Editor" ) ) )
+ if ( !(*it)->hasServiceType( TQString::fromLatin1( "Komposer/Editor" ) ) )
continue;
TQString name = (*it)->property( "X-KDE-KomposerIdentifier" ).toString();