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

kget

  • sources
  • kde-4.12
  • kdenetwork
  • kget
  • core
filedeleter_p.h
Go to the documentation of this file.
1 /**************************************************************************
2 * Copyright (C) 2011 Matthias Fuchs <mat69@gmx.net> *
3 * *
4 * This program is free software; you can redistribute it and/or modify *
5 * it under the terms of the GNU General Public License as published by *
6 * the Free Software Foundation; either version 2 of the License, or *
7 * (at your option) any later version. *
8 * *
9 * This program is distributed in the hope that it will be useful, *
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
12 * GNU General Public License for more details. *
13 * *
14 * You should have received a copy of the GNU General Public License *
15 * along with this program; if not, write to the *
16 * Free Software Foundation, Inc., *
17 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA . *
18 ***************************************************************************/
19 
20 #ifndef FILEDELETER_P_H
21 #define FILEDELETER_P_H
22 
23 #include <KIO/DeleteJob>
24 #include <KUrl>
25 
26 #include <QtCore/QHash>
27 #include <QtCore/QObject>
28 
29 class FileDeleter::Private : QObject
30 {
31  Q_OBJECT
32  public:
33  Private();
34  ~Private();
35 
36  KJob *deleteFile(const KUrl &dest, QObject *receiver, const char *method);
37 
38  bool isFileBeingDeleted(const KUrl &dest) const;
39 
40  public Q_SLOTS:
41  void slotResult(KJob *job);
42 
43  private:
44  QHash<KUrl, KJob*> m_jobs;
45 };
46 
47 #endif // FILEDELETER_P_H
FileDeleter::Private::isFileBeingDeleted
bool isFileBeingDeleted(const KUrl &dest) const
Definition: filedeleter.cpp:34
FileDeleter::Private::Private
Private()
Definition: filedeleter.cpp:25
QObject
FileDeleter::Private::~Private
~Private()
Definition: filedeleter.cpp:30
FileDeleter::Private
Definition: filedeleter_p.h:29
FileDeleter::Private::deleteFile
KJob * deleteFile(const KUrl &dest, QObject *receiver, const char *method)
Definition: filedeleter.cpp:39
KJob
FileDeleter::Private::slotResult
void slotResult(KJob *job)
Definition: filedeleter.cpp:57
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:53:17 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kget

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

kdenetwork API Reference

Skip menu "kdenetwork API Reference"
  • kget
  • kopete
  •   kopete
  •   libkopete
  • krdc
  • krfb

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