3
// "Desktop Icons Options" Tab for KDesktop configuration
5
// (c) Martin R. Jones 1996
7
// Port to KControl, split from "Misc" Tab, Port to KControl2
8
// (c) David Faure 1998
9
// Desktop menus, paths
10
// (c) David Faure 2000
12
#ifndef __ROOT_OPTIONS_H
13
#define __ROOT_OPTIONS_H
19
#include <kio/global.h>
30
namespace KIO { class Job; }
32
//-----------------------------------------------------------------------------
33
// The "Path" Tab contains :
34
// The paths for Desktop, Autostart and Documents
36
class DesktopPathConfig : public KCModule
40
DesktopPathConfig(QWidget *parent = 0L, const char *name = 0L );
42
virtual void load( bool useDefaults );
44
virtual void defaults();
47
void slotEntries( KIO::Job * job, const KIO::UDSEntryList& list);
51
KURLRequester *urDesktop;
52
KURLRequester *urAutostart;
53
KURLRequester *urDocument;
55
bool moveDir( const KURL & src, const KURL & dest, const QString & type );
57
KURL m_copyToDest; // used when the destination directory already exists
61
void slotResult( KIO::Job * job );
64
#endif // __ROOT_OPTIONS_H