• 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
uploadmediadialog.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 UPLOADMEDIADIALOG_H
26 #define UPLOADMEDIADIALOG_H
27 
28 #include <KDialog>
29 #include "ui_uploadmediabase.h"
30 class BilboBlog;
31 class BilboMedia;
32 
33 class UploadMediaDialog : public KDialog
34 {
35 Q_OBJECT
36 public:
37  explicit UploadMediaDialog( QWidget *parent=0 );
38  ~UploadMediaDialog();
39  enum UploadType{BlogAPI=0, FTP};
40 
41  void init( const BilboBlog* currentBlog );
42 
43 Q_SIGNALS:
44  void sigBusy(bool isBusy);
45 
46 private Q_SLOTS:
47  bool selectNewFile();
48  void currentMediaChanged(const QString &);
49  void slotUploadTypeChanged(int index);
50  void slotMediaObjectUploaded(KJob *);
51  void slotMediaObjectUploaded(BilboMedia*);
52  void slotError( const QString &msg );
53  void slotButtonClicked(int button);
54 private:
55  const BilboBlog *mCurrentBlog;
56  Ui::UploadMediaBase ui;
57 };
58 
59 #endif // UPLOADMEDIADIALOG_H
QWidget
UploadMediaDialog::UploadType
UploadType
Definition: uploadmediadialog.h:39
UploadMediaDialog::UploadMediaDialog
UploadMediaDialog(QWidget *parent=0)
Definition: uploadmediadialog.cpp:41
KDialog
UploadMediaDialog::BlogAPI
Definition: uploadmediadialog.h:39
UploadMediaDialog
Definition: uploadmediadialog.h:33
BilboBlog
Blog definition class!
Definition: bilboblog.h:40
QString
UploadMediaDialog::~UploadMediaDialog
~UploadMediaDialog()
Definition: uploadmediadialog.cpp:60
UploadMediaDialog::FTP
Definition: uploadmediadialog.h:39
UploadMediaDialog::sigBusy
void sigBusy(bool isBusy)
BilboMedia
Definition: bilbomedia.h:38
UploadMediaDialog::init
void init(const BilboBlog *currentBlog)
Definition: uploadmediadialog.cpp:67
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