You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
129 lines
3.6 KiB
129 lines
3.6 KiB
13 years ago
|
//
|
||
|
// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
|
||
|
// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
|
||
|
// may also apply
|
||
|
|
||
|
|
||
|
// Generated by preSip
|
||
12 years ago
|
// module tdeio version KDE 3.5.3
|
||
13 years ago
|
|
||
|
|
||
|
// This software 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.
|
||
|
//
|
||
|
// This software is distributed in the hope that it will be useful,
|
||
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||
|
// GNU General Public License for more details.
|
||
|
//
|
||
|
// You should have received a copy of the GNU General Public
|
||
|
// License along with this library; see the file COPYING.
|
||
|
// If not, write to the Free Software Foundation, Inc.,
|
||
|
// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||
|
|
||
12 years ago
|
namespace TDEIO
|
||
13 years ago
|
{
|
||
|
|
||
13 years ago
|
class NetAccess : TQObject
|
||
13 years ago
|
{
|
||
|
%TypeHeaderCode
|
||
|
#include <netaccess.h>
|
||
|
%End
|
||
|
|
||
|
|
||
|
public:
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
13 years ago
|
static bool download (const KURL&, TQString&, TQWidget*);
|
||
13 years ago
|
%End
|
||
|
|
||
13 years ago
|
static bool download (const KURL&, TQString&);
|
||
|
static void removeTempFile (const TQString&);
|
||
13 years ago
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
13 years ago
|
static bool upload (const TQString&, const KURL&, TQWidget*);
|
||
13 years ago
|
%End
|
||
|
|
||
13 years ago
|
static bool upload (const TQString&, const KURL&);
|
||
13 years ago
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
13 years ago
|
static bool copy (const KURL&, const KURL&, TQWidget*);
|
||
13 years ago
|
%End
|
||
|
|
||
|
static bool copy (const KURL&, const KURL&);
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
13 years ago
|
static bool file_copy (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, TQWidget* = 0);
|
||
|
static bool file_move (const KURL&, const KURL&, int = -1, bool = 0, bool = 0, TQWidget* = 0);
|
||
|
static bool dircopy (const KURL&, const KURL&, TQWidget*);
|
||
13 years ago
|
%End
|
||
|
|
||
|
static bool dircopy (const KURL&, const KURL&);
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
13 years ago
|
static bool dircopy (const KURL::List&, const KURL&, TQWidget* = 0);
|
||
|
static bool move (const KURL&, const KURL&, TQWidget* = 0);
|
||
|
static bool move (const KURL::List&, const KURL&, TQWidget* = 0);
|
||
|
static bool exists (const KURL&, bool, TQWidget*);
|
||
|
static bool exists (const KURL&, TQWidget*);
|
||
13 years ago
|
%End
|
||
|
|
||
|
static bool exists (const KURL&);
|
||
|
|
||
|
%If ( KDE_3_1_0 - )
|
||
|
static bool exists (const KURL&, bool);
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
12 years ago
|
static bool stat (const KURL&, TDEIO::UDSEntry&, TQWidget*);
|
||
13 years ago
|
%End
|
||
|
|
||
|
%End
|
||
|
|
||
12 years ago
|
static bool stat (const KURL&, TDEIO::UDSEntry&);
|
||
13 years ago
|
|
||
|
%If ( KDE_3_5_0 - )
|
||
13 years ago
|
static KURL mostLocalURL (const KURL&, TQWidget*);
|
||
13 years ago
|
%End
|
||
|
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
13 years ago
|
static bool del (const KURL&, TQWidget*);
|
||
13 years ago
|
%End
|
||
|
|
||
|
static bool del (const KURL&) /PyName=del_/;
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
13 years ago
|
static bool mkdir (const KURL&, TQWidget*, int = -1);
|
||
13 years ago
|
%End
|
||
|
|
||
|
static bool mkdir (const KURL&, int = -1);
|
||
|
|
||
|
%If ( KDE_3_2_0 - )
|
||
13 years ago
|
static TQString fish_execute (const KURL&, const TQString, TQWidget*);
|
||
13 years ago
|
|
||
|
%If ( KDE_3_3_1 - )
|
||
12 years ago
|
static bool synchronousRun (TDEIO::Job*, TQWidget*, TQByteArray* = 0, KURL* = 0, TQMap<TQString,TQString>* = 0);
|
||
13 years ago
|
%End
|
||
|
|
||
13 years ago
|
static TQString mimetype (const KURL&, TQWidget*);
|
||
13 years ago
|
%End
|
||
|
|
||
13 years ago
|
//ig static TQString mimetype (const KURL&);
|
||
|
static TQString lastErrorString ();
|
||
13 years ago
|
|
||
|
%If ( KDE_3_3_0 - )
|
||
|
static int lastError ();
|
||
|
%End
|
||
|
|
||
|
|
||
|
private:
|
||
|
NetAccess ();
|
||
|
~NetAccess ();
|
||
|
|
||
|
}; // class NetAccess
|
||
|
|
||
12 years ago
|
}; // namespace TDEIO
|
||
13 years ago
|
|