summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/copyto.h
blob: 452919aa3adf6ef97c5a008c6f32958433ceeb0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
/***************************************************************************
                          copytodlg.h  -  description
                             -------------------
    begin                : Mon Mar 27 2000
    copyright            : (C) 2000 by Yacovlev Alexander & Dmitry Poplavsky <[email protected]>
                           (C) 2001-2003 by Andras Mantia
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef COPYTO_H
#define COPYTO_H

// kde includes
#include <kio/jobclasses.h>


/**
  *@author Yacovlev Alexander & Dmitry Poplavsky
  */

class KURL;

class CopyTo : public QObject{
Q_OBJECT
public:
  CopyTo(const KURL& dirURL);
  ~CopyTo();

  KURL copy( const KURL& sourceURL, const KURL &destination);
  KURL::List copy(const KURL::List& sourceList, const KURL &destination );

public slots: // Public slots
  void slotResult( KIO::Job *);

signals:
  void addFilesToProject(const KURL::List&);
  void deleteDialog(CopyTo*);

private:
  KURL m_InitialDirUrl;
  bool m_listCopy;
  KURL::List m_destList;
};

#endif