Move to MessageComposer namespace (We have 2 namespaces in this lib it's not good)

wilder-work
Montel Laurent 13 years ago
parent 1838244ba5
commit 3978b4ca4d
  1. 2
      kmcomposereditor.cpp
  2. 2
      kmcomposereditor.h
  3. 4
      kmcomposewin.cpp

@ -49,7 +49,7 @@
using namespace MailCommon;
KMComposerEditor::KMComposerEditor( KMComposeWin *win,QWidget *parent)
: Message::KMeditor(parent, "kmail2rc" ),mComposerWin(win)
: MessageComposer::KMeditor(parent, "kmail2rc" ),mComposerWin(win)
{
setAutocorrection(KMKernel::self()->composerAutoCorrection());
}

@ -28,7 +28,7 @@
class KAction;
class KMComposeWin;
class KMComposerEditor : public Message::KMeditor
class KMComposerEditor : public MessageComposer::KMeditor
{
Q_OBJECT

@ -161,7 +161,7 @@ using Sonnet::DictionaryComboBox;
using MailTransport::TransportManager;
using MailTransport::Transport;
using KPIM::RecentAddresses;
using Message::KMeditor;
using MessageComposer::KMeditor;
KMail::Composer *KMail::makeComposer( const KMime::Message::Ptr &msg, bool lastSignState, bool lastEncryptState, Composer::TemplateContext context,
uint identity, const QString & textSelection,
@ -2979,7 +2979,7 @@ void KMComposeWin::slotToggleMarkup()
}
//-----------------------------------------------------------------------------
void KMComposeWin::slotTextModeChanged( Message::KMeditor::Mode mode )
void KMComposeWin::slotTextModeChanged( MessageComposer::KMeditor::Mode mode )
{
if ( mode == KMeditor::Plain )
disableHtml( Message::ComposerViewBase::NoConfirmationNeeded ); // ### Can this happen at all?

Loading…
Cancel
Save