• 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
bilbomedia.h
Go to the documentation of this file.
1 /*
2  This file is part of Blogilo, A KDE Blogging Client
3 
4  Copyright (C) 2008-2010 Mehrdad Momeny <mehrdad.momeny@gmail.com>
5  Copyright (C) 2008-2010 Golnaz Nilieh <g382nilieh@gmail.com>
6 
7  This program is free software; you can redistribute it and/or
8  modify it under the terms of the GNU General Public License as
9  published by the Free Software Foundation; either version 2 of
10  the License or (at your option) version 3 or any later version
11  accepted by the membership of KDE e.V. (or its successor approved
12  by the membership of KDE e.V.), which shall act as a proxy
13  defined in Section 14 of version 3 of the license.
14 
15 
16  This program is distributed in the hope that it will be useful,
17  but WITHOUT ANY WARRANTY; without even the implied warranty of
18  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  GNU General Public License for more details.
20 
21  You should have received a copy of the GNU General Public License
22  along with this program; if not, see http://www.gnu.org/licenses/
23 */
24 
25 #ifndef BILBOMEDIA_H
26 #define BILBOMEDIA_H
27 
28 #include <QObject>
29 #include <KUrl>
30 
37 class KIcon;
38 class BilboMedia : public QObject
39 {
40  Q_OBJECT
41 public:
43  explicit BilboMedia( QObject *parent = 0 );
44 
46  ~BilboMedia();
47 
48  int blogId() const;
49  void setBlogId( const int blog_id );
50 
51  int mediaId() const;
52  void setMediaId( const int media_id );
53 
54  bool isUploaded() const;
55  void setUploaded( bool uploaded );
56 
57 // bool isLocal() const;
58 // void setLocal( bool is_local );
59 
60  KUrl localUrl() const;
61  void setLocalUrl( const KUrl &url );
62 
63  KUrl remoteUrl() const;
64  void setRemoteUrl( const KUrl &url );
65 
66  QString mimeType() const;
67  void setMimeType( const QString &type );
68 
69  QString name() const;
70  void setName( const QString &name );
71 
72  KIcon icon() const;
73 
74  quint16 checksum() const;
75  void setCheckSum( quint16 sum );
76 
77 private:
78  class Private;
79  Private * const d;
80 };
81 
82 #endif
BilboMedia::setCheckSum
void setCheckSum(quint16 sum)
Definition: bilbomedia.cpp:160
BilboMedia::name
QString name() const
Definition: bilbomedia.cpp:125
BilboMedia::isUploaded
bool isUploaded() const
Definition: bilbomedia.cpp:85
BilboMedia::setLocalUrl
void setLocalUrl(const KUrl &url)
Definition: bilbomedia.cpp:100
BilboMedia::setMimeType
void setMimeType(const QString &type)
Definition: bilbomedia.cpp:120
BilboMedia::setRemoteUrl
void setRemoteUrl(const KUrl &url)
Definition: bilbomedia.cpp:110
QObject
BilboMedia::setMediaId
void setMediaId(const int media_id)
Definition: bilbomedia.cpp:80
QString
BilboMedia::setUploaded
void setUploaded(bool uploaded)
Definition: bilbomedia.cpp:90
BilboMedia::blogId
int blogId() const
Definition: bilbomedia.cpp:64
BilboMedia::localUrl
KUrl localUrl() const
Definition: bilbomedia.cpp:95
BilboMedia::setName
void setName(const QString &name)
Definition: bilbomedia.cpp:130
BilboMedia
Definition: bilbomedia.h:38
BilboMedia::checksum
quint16 checksum() const
Definition: bilbomedia.cpp:155
BilboMedia::mimeType
QString mimeType() const
Definition: bilbomedia.cpp:115
BilboMedia::~BilboMedia
~BilboMedia()
BilboMedia destructor.
Definition: bilbomedia.cpp:59
BilboMedia::icon
KIcon icon() const
Definition: bilbomedia.cpp:135
BilboMedia::setBlogId
void setBlogId(const int blog_id)
Definition: bilbomedia.cpp:70
QObject::parent
QObject * parent() const
BilboMedia::remoteUrl
KUrl remoteUrl() const
Definition: bilbomedia.cpp:105
BilboMedia::BilboMedia
BilboMedia(QObject *parent=0)
BilboMedia constructor.
Definition: bilbomedia.cpp:53
BilboMedia::mediaId
int mediaId() const
Definition: bilbomedia.cpp:75
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