• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

blogilo

  • sources
  • kde-4.14
  • kdepim
  • blogilo
  • src
  • composer
blogilocomposereditor.h
Go to the documentation of this file.
1 /*
2  Copyright (c) 2013-2015 Montel Laurent <montel@kde.org>
3 
4  This library is free software; you can redistribute it and/or modify it
5  under the terms of the GNU Library General Public License as published by
6  the Free Software Foundation; either version 2 of the License, or (at your
7  option) any later version.
8 
9  This library is distributed in the hope that it will be useful, but WITHOUT
10  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11  FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
12  License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this library; see the file COPYING.LIB. If not, write to the
16  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
17  02110-1301, USA.
18 
19 */
20 #ifndef BLOGILOCOMPOSEREDITOR_H
21 #define BLOGILOCOMPOSEREDITOR_H
22 
23 #include "blogilocomposerview.h"
24 
25 #include <composereditor-ng/composereditor.h>
26 
27 class BilboMedia;
28 
29 class BlogiloComposerEditor : public ComposerEditorNG::ComposerEditor
30 {
31  Q_OBJECT
32 public:
33  explicit BlogiloComposerEditor(BlogiloComposerView *view, QWidget *parent);
34  ~BlogiloComposerEditor();
35 
36  void setReadOnly ( bool _readOnly );
37  QList< BilboMedia* > getLocalImages();
38  void replaceImageSrc(const QString& src, const QString& dest);
39 
40  void startEditing();
41 
42  void insertShortUrl(const QString &url);
43 
44 private Q_SLOTS:
45  void slotAddPostSplitter();
46  void slotToggleCode(bool);
47 
48 private:
49  void execCommand( const QString &cmd, const QString &arg );
50  void execCommand ( const QString &cmd );
51  bool readOnly;
52  KAction *mActSplitPost;
53  KAction *mActCode;
54 };
55 
56 #endif // BLOGILOCOMPOSEREDITOR_H
QWidget
BlogiloComposerEditor::~BlogiloComposerEditor
~BlogiloComposerEditor()
Definition: blogilocomposereditor.cpp:96
BlogiloComposerEditor::setReadOnly
void setReadOnly(bool _readOnly)
Definition: blogilocomposereditor.cpp:101
BlogiloComposerEditor
Definition: blogilocomposereditor.h:29
BlogiloComposerEditor::replaceImageSrc
void replaceImageSrc(const QString &src, const QString &dest)
Definition: blogilocomposereditor.cpp:129
BlogiloComposerEditor::insertShortUrl
void insertShortUrl(const QString &url)
Definition: blogilocomposereditor.cpp:177
BlogiloComposerView
Definition: blogilocomposerview.h:28
QString
QList
BilboMedia
Definition: bilbomedia.h:38
BlogiloComposerEditor::startEditing
void startEditing()
Definition: blogilocomposereditor.cpp:158
blogilocomposerview.h
BlogiloComposerEditor::BlogiloComposerEditor
BlogiloComposerEditor(BlogiloComposerView *view, QWidget *parent)
Definition: blogilocomposereditor.cpp:34
BlogiloComposerEditor::getLocalImages
QList< BilboMedia * > getLocalImages()
Definition: blogilocomposereditor.cpp:109
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:32:16 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

blogilo

Skip menu "blogilo"
  • Main Page
  • Namespace List
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer
  • pimprint

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal