Move code to cpp file

wilder-work
Montel Laurent 12 years ago
parent b3b58e91b4
commit cba7e0e47f
  1. 15
      editor/kmcomposewin.cpp
  2. 9
      editor/kmcomposewin.h

@ -1786,6 +1786,16 @@ void KMComposeWin::setCustomTemplate( const QString& customTemplate )
mCustomTemplate = customTemplate;
}
void KMComposeWin::setSigningAndEncryptionDisabled(bool v)
{
mSigningAndEncryptionExplicitlyDisabled = v;
}
void KMComposeWin::setFolder(const Akonadi::Collection &aFolder)
{
mFolder = aFolder;
}
//-----------------------------------------------------------------------------
void KMComposeWin::setFcc( const QString &idString )
{
@ -2567,6 +2577,11 @@ void KMComposeWin::forceDisableHtml()
// FIXME: Remove the toggle toolbar action somehow
}
bool KMComposeWin::isComposing() const
{
return mComposerBase && mComposerBase->isComposing();
}
void KMComposeWin::disableForgottenAttachmentsCheck()
{
mCheckForForgottenAttachments = false;

@ -195,7 +195,7 @@ public: // kmkernel, kmcommands, callback
/**
* Returns @c true while the message composing is in progress.
*/
bool isComposing() const { return mComposerBase && mComposerBase->isComposing(); }
bool isComposing() const;
/**
* Set the text selection the message is a response to.
@ -208,15 +208,12 @@ public: // kmkernel, kmcommands, callback
void setCustomTemplate( const QString& customTemplate );
/** Disabled signing and encryption completely for this composer window. */
void setSigningAndEncryptionDisabled( bool v )
{
mSigningAndEncryptionExplicitlyDisabled = v;
}
void setSigningAndEncryptionDisabled( bool v );
/**
* If this folder is set, the original message is inserted back after
* canceling
*/
void setFolder(const Akonadi::Collection &aFolder ) { mFolder = aFolder; }
void setFolder(const Akonadi::Collection &aFolder );
/**
* Sets the focus to the edit-widget.
*/

Loading…
Cancel
Save