Qt3support--
[kdenetwork.git] / kget / kget_iface.h
blob41510b566f1629ce722615c1fe76437dc8c5fca7
1 /****************************************************************************
2 ** $Id$
3 **
4 ** Copyright (C) 2002 Carsten Pfeiffer <pfeiffer@kde.org>
5 **
6 ****************************************************************************/
8 #ifndef KGET_IFACE_H
9 #define KGET_IFACE_H
11 #include <dcopobject.h>
12 #include <kurl.h>
13 //Added by qt3to4:
14 #include <Q3CString>
16 class KGetIface : public DCOPObject
18 K_DCOP
20 protected:
21 KGetIface( Q3CString objId ) : DCOPObject( objId ) {}
23 k_dcop:
24 /**
25 * @param src The urls to download
26 * @param destDir The destination direction or QString::null if unspecified
28 virtual ASYNC addTransfers( const KURL::List& src, const QString& destDir = QString::null ) = 0;
30 virtual bool isDropTargetVisible() const = 0;
32 virtual void setDropTargetVisible( bool setVisible ) = 0;
34 virtual void setOfflineMode( bool offline ) = 0;
36 virtual bool isOfflineMode() const = 0;
39 #endif // KGET_IFACE_H