mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-23 10:22:50 +00:00
pykde4: fix build of kio bindings
This commit is contained in:
parent
8e494b6ea3
commit
59ad2b98e4
23 changed files with 1 additions and 215 deletions
|
@ -48,8 +48,6 @@ protected:
|
|||
sipType = sipType_KIO_AccessManager;
|
||||
%End
|
||||
public:
|
||||
void setCookieJarWindowId (WId id);
|
||||
WId cookieJarWindowid () const;
|
||||
KIO::MetaData& requestMetaData ();
|
||||
KIO::MetaData& sessionMetaData ();
|
||||
void setWindow (QWidget* widget);
|
||||
|
|
|
@ -34,7 +34,6 @@ QString number (KIO::filesize_t size);
|
|||
QString convertSizeFromKiB (KIO::filesize_t kibSize);
|
||||
unsigned int calculateRemainingSeconds (KIO::filesize_t totalSize, KIO::filesize_t processedSize, KIO::filesize_t speed);
|
||||
QString convertSeconds (unsigned int seconds);
|
||||
QTime calculateRemaining (KIO::filesize_t totalSize, KIO::filesize_t processedSize, KIO::filesize_t speed);
|
||||
QString itemsSummaryString (uint items, uint files, uint dirs, KIO::filesize_t size, bool showSize);
|
||||
QString encodeFileName (const QString& str);
|
||||
QString decodeFileName (const QString& str);
|
||||
|
|
|
@ -45,7 +45,6 @@ KIO::SimpleJob* unmount (const QString& point, KIO::JobFlags flags = KIO
|
|||
KIO::SimpleJob* http_update_cache (const KUrl& url, bool no_cache, time_t expireDate);
|
||||
KIO::StatJob* stat (const KUrl& url, KIO::JobFlags flags = KIO::DefaultFlags);
|
||||
KIO::StatJob* stat (const KUrl& url, KIO::StatJob::StatSide side, short details, KIO::JobFlags flags = KIO::DefaultFlags);
|
||||
KIO::StatJob* stat (const KUrl& url, bool sideIsSource /Constrained/, short details, KIO::JobFlags flags = KIO::DefaultFlags);
|
||||
KIO::TransferJob* get (const KUrl& url, KIO::LoadType reload = KIO::NoReload, KIO::JobFlags flags = KIO::DefaultFlags);
|
||||
KIO::FileJob* open (const KUrl& url, QIODevice::OpenMode mode);
|
||||
KIO::TransferJob* put (const KUrl& url, int permissions, KIO::JobFlags flags = KIO::DefaultFlags);
|
||||
|
|
|
@ -60,7 +60,6 @@ protected:
|
|||
public:
|
||||
QString errorString () const;
|
||||
QStringList detailedErrorStrings (const KUrl* reqUrl = 0, int method = -1) const;
|
||||
void showErrorDialog (QWidget* parent /Transfer/ = 0);
|
||||
bool isInteractive () const;
|
||||
void setParentJob (KIO::Job* parentJob);
|
||||
KIO::Job* parentJob () const;
|
||||
|
@ -140,7 +139,6 @@ public:
|
|||
};
|
||||
|
||||
void setSide (KIO::StatJob::StatSide side);
|
||||
void setSide (bool source /Constrained/);
|
||||
void setDetails (short details);
|
||||
const KIO::UDSEntry& statResult () const;
|
||||
|
||||
|
@ -178,8 +176,6 @@ public:
|
|||
bool isErrorPage () const;
|
||||
void setAsyncDataEnabled (bool enabled);
|
||||
void sendAsyncData (const QByteArray& data);
|
||||
void setReportDataSent (bool enabled);
|
||||
bool reportDataSent () const;
|
||||
QString mimetype () const;
|
||||
void setTotalSize (KIO::filesize_t bytes);
|
||||
|
||||
|
|
|
@ -41,7 +41,6 @@
|
|||
#include <kbookmarkdialog.h>
|
||||
#include <kbookmarkdombuilder.h>
|
||||
#include <kbookmarkimporter.h>
|
||||
#include <kbookmarkimporter_crash.h>
|
||||
#include <kbookmarkimporter_ie.h>
|
||||
#include <kbookmarkimporter_ns.h>
|
||||
#include <kbookmarkimporter_opera.h>
|
||||
|
@ -56,7 +55,6 @@
|
|||
#include <kdirselectdialog.h>
|
||||
#include <kdirsortfilterproxymodel.h>
|
||||
#include <kdirwatch.h>
|
||||
#include <kdiskfreespace.h>
|
||||
#include <kencodingfiledialog.h>
|
||||
#include <kfiledialog.h>
|
||||
#include <kfilefiltercombo.h>
|
||||
|
@ -94,7 +92,6 @@
|
|||
#include <kurlrequesterdialog.h>
|
||||
#include <metainfojob.h>
|
||||
#include <netaccess.h>
|
||||
#include <passworddialog.h>
|
||||
#include <previewjob.h>
|
||||
#include <qobject.h>
|
||||
#include <renamedialog.h>
|
||||
|
@ -141,9 +138,7 @@ public:
|
|||
else if (dynamic_cast<KBookmarkImporterBase*>(sipCpp))
|
||||
{
|
||||
sipType = sipType_KBookmarkImporterBase;
|
||||
if (dynamic_cast<KCrashBookmarkImporterImpl*>(sipCpp))
|
||||
sipType = sipType_KCrashBookmarkImporterImpl;
|
||||
else if (dynamic_cast<KIEBookmarkImporterImpl*>(sipCpp))
|
||||
if (dynamic_cast<KIEBookmarkImporterImpl*>(sipCpp))
|
||||
sipType = sipType_KIEBookmarkImporterImpl;
|
||||
else if (dynamic_cast<KNSBookmarkImporterImpl*>(sipCpp))
|
||||
{
|
||||
|
@ -170,16 +165,12 @@ public:
|
|||
if (dynamic_cast<KShellCompletion*>(sipCpp))
|
||||
sipType = sipType_KShellCompletion;
|
||||
}
|
||||
else if (dynamic_cast<KCrashBookmarkImporter*>(sipCpp))
|
||||
sipType = sipType_KCrashBookmarkImporter;
|
||||
else if (dynamic_cast<KDataTool*>(sipCpp))
|
||||
sipType = sipType_KDataTool;
|
||||
else if (dynamic_cast<KDirLister*>(sipCpp))
|
||||
sipType = sipType_KDirLister;
|
||||
else if (dynamic_cast<KDirWatch*>(sipCpp))
|
||||
sipType = sipType_KDirWatch;
|
||||
else if (dynamic_cast<KDiskFreeSpace*>(sipCpp))
|
||||
sipType = sipType_KDiskFreeSpace;
|
||||
else if (dynamic_cast<KFileItemActionPlugin*>(sipCpp))
|
||||
sipType = sipType_KFileItemActionPlugin;
|
||||
else if (dynamic_cast<KFileItemActions*>(sipCpp))
|
||||
|
@ -338,8 +329,6 @@ public:
|
|||
sipType = sipType_KPropertiesDialog;
|
||||
else if (dynamic_cast<KScanDialog*>(sipCpp))
|
||||
sipType = sipType_KScanDialog;
|
||||
else if (dynamic_cast<KIO::PasswordDialog*>(sipCpp))
|
||||
sipType = sipType_KIO_PasswordDialog;
|
||||
else if (dynamic_cast<KUrlRequesterDialog*>(sipCpp))
|
||||
sipType = sipType_KUrlRequesterDialog;
|
||||
else if (dynamic_cast<KIO::RenameDialog*>(sipCpp))
|
||||
|
|
|
@ -44,7 +44,6 @@ public:
|
|||
void populateMimeData (QMimeData* mimeData) const;
|
||||
static bool canDecode (const QMimeData* mimeData);
|
||||
static QStringList mimeDataTypes ();
|
||||
static KBookmark::List fromMimeData (const QMimeData* mimeData);
|
||||
static KBookmark::List fromMimeData (const QMimeData* mimeData, QDomDocument& parentDocument);
|
||||
};
|
||||
// List
|
||||
|
@ -114,7 +113,6 @@ public:
|
|||
KBookmark addBookmark (const KBookmark& bm);
|
||||
KBookmark addBookmark (const QString& text, const KUrl& url, const QString& icon = QString());
|
||||
bool moveBookmark (const KBookmark& bookmark, const KBookmark& after);
|
||||
bool moveItem (const KBookmark& item, const KBookmark& after);
|
||||
void deleteBookmark (const KBookmark& bk);
|
||||
bool isToolbarGroup () const;
|
||||
QDomElement findToolbar () const;
|
||||
|
|
|
@ -1,62 +0,0 @@
|
|||
//
|
||||
// Copyright 2008 Jim Bublitz <jbublitz@nwinternet.com>
|
||||
// Earlier copyrights 1998 - 2007 Jim Bublitz also apply
|
||||
|
||||
// Generated by twine
|
||||
|
||||
// This file is part of PyKDE4.
|
||||
|
||||
// PyKDE4 is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as
|
||||
// published by the Free Software Foundation; either version 2.1 of
|
||||
// the License, or (at your option) any later version.
|
||||
|
||||
// PyKDE4 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 program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
class KCrashBookmarkImporter : QObject
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <kbookmarkimporter_crash.h>
|
||||
%End
|
||||
|
||||
|
||||
public:
|
||||
KCrashBookmarkImporter (const QString& fileName);
|
||||
void parseCrashBookmarks (bool del = 1);
|
||||
static QString crashBookmarksDir ();
|
||||
|
||||
signals:
|
||||
void newBookmark (const QString& text, const QString& url, const QString& additionalInfo);
|
||||
void newFolder (const QString& text, bool open, const QString& additionalInfo);
|
||||
void newSeparator ();
|
||||
void endFolder ();
|
||||
public:
|
||||
~KCrashBookmarkImporter ();
|
||||
};
|
||||
// KCrashBookmarkImporter
|
||||
|
||||
|
||||
class KCrashBookmarkImporterImpl : KBookmarkImporterBase
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <kbookmarkimporter_crash.h>
|
||||
%End
|
||||
|
||||
|
||||
public:
|
||||
KCrashBookmarkImporterImpl ();
|
||||
void setShouldDelete (bool);
|
||||
virtual void parse ();
|
||||
virtual QString findDefaultLocation (bool forSaving = 0) const;
|
||||
static QStringList getCrashLogs ();
|
||||
};
|
||||
// KCrashBookmarkImporterImpl
|
||||
|
||||
|
|
@ -34,8 +34,6 @@ public:
|
|||
QString dataType () const;
|
||||
QStringList mimeTypes () const;
|
||||
bool isReadOnly () const;
|
||||
QPixmap icon () const;
|
||||
QPixmap miniIcon () const;
|
||||
QString iconName () const;
|
||||
QStringList userCommands () const;
|
||||
QStringList commands () const;
|
||||
|
|
|
@ -36,7 +36,6 @@ public:
|
|||
void setDirLister (KDirLister* dirLister);
|
||||
KDirLister* dirLister () const;
|
||||
KFileItem itemForIndex (const QModelIndex& index) const;
|
||||
QModelIndex indexForItem (const KFileItem*) const;
|
||||
QModelIndex indexForItem (const KFileItem&) const;
|
||||
QModelIndex indexForUrl (const KUrl& url) const;
|
||||
void expandToUrl (const KUrl& url);
|
||||
|
|
|
@ -1,43 +0,0 @@
|
|||
//
|
||||
// Copyright 2008 Jim Bublitz <jbublitz@nwinternet.com>
|
||||
// Earlier copyrights 1998 - 2007 Jim Bublitz also apply
|
||||
|
||||
// Generated by twine
|
||||
|
||||
// This file is part of PyKDE4.
|
||||
|
||||
// PyKDE4 is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as
|
||||
// published by the Free Software Foundation; either version 2.1 of
|
||||
// the License, or (at your option) any later version.
|
||||
|
||||
// PyKDE4 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 program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
class KDiskFreeSpace : QObject
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <kdiskfreespace.h>
|
||||
%End
|
||||
|
||||
|
||||
public:
|
||||
explicit KDiskFreeSpace (QObject* parent /TransferThis/ = 0);
|
||||
bool readDF (const QString& mountPoint);
|
||||
static KDiskFreeSpace* findUsageInfo (const QString& path);
|
||||
|
||||
signals:
|
||||
void foundMountPoint (const QString& mountPoint, quint64 kibSize, quint64 kibUsed, quint64 kibAvail);
|
||||
void done ();
|
||||
public:
|
||||
~KDiskFreeSpace ();
|
||||
};
|
||||
// KDiskFreeSpace
|
||||
|
||||
|
|
@ -73,9 +73,7 @@ public:
|
|||
QString localPath () const;
|
||||
KIO::filesize_t size () const;
|
||||
KDateTime time (KFileItem::FileTimes which /Constrained/) const;
|
||||
time_t time (unsigned int which /Constrained/) const;
|
||||
QString timeString (KFileItem::FileTimes which = KFileItem::ModificationTime) const;
|
||||
QString timeString (unsigned int which) const;
|
||||
bool isLocalFile () const;
|
||||
QString text () const;
|
||||
QString name (bool lowerCase = 0) const;
|
||||
|
@ -88,8 +86,6 @@ public:
|
|||
QPixmap pixmap (int _size, int _state = 0) const;
|
||||
QStringList overlays () const;
|
||||
QString getStatusBarInfo () const;
|
||||
QString getToolTipText (int maxcount = 6) const;
|
||||
bool acceptsDrops () const;
|
||||
void run (QWidget* parentWidget = 0) const;
|
||||
KIO::UDSEntry entry () const;
|
||||
bool isMarked () const;
|
||||
|
@ -104,13 +100,10 @@ public:
|
|||
//ig void removeExtraData (const void* key);
|
||||
void setMetaInfo (const KFileMetaInfo& info) const;
|
||||
KFileMetaInfo metaInfo (bool autoget = 1, int what = KFileMetaInfo::Fastest) const;
|
||||
void assign (const KFileItem& item);
|
||||
void setUDSEntry (const KIO::UDSEntry& entry, const KUrl& url, bool delayedMimeTypes = 0, bool urlIsDirectory = 0);
|
||||
KUrl mostLocalUrl (bool& local /Out/) const;
|
||||
bool isNull () const;
|
||||
~KFileItem ();
|
||||
//ig QVariant operator QVariant () const;
|
||||
KUrl nepomukUri () const;
|
||||
QString comment () const;
|
||||
//ig KUrl mostLocalUrl () const;
|
||||
bool isSlow () const;
|
||||
|
|
|
@ -38,7 +38,6 @@ public:
|
|||
bool setValue (const QVariant& value);
|
||||
bool addValue (const QVariant&);
|
||||
bool isValid () const;
|
||||
const PredicateProperties& properties () const;
|
||||
const QString& name () const;
|
||||
QString suffix () const;
|
||||
QString prefix () const;
|
||||
|
|
|
@ -56,7 +56,6 @@
|
|||
%Include kbookmarkdombuilder.sip
|
||||
%Include kbookmarkexporter.sip
|
||||
%Include kbookmarkimporter.sip
|
||||
%Include kbookmarkimporter_crash.sip
|
||||
%Include kbookmarkimporter_ie.sip
|
||||
%Include kbookmarkimporter_ns.sip
|
||||
%Include kbookmarkimporter_opera.sip
|
||||
|
@ -73,7 +72,6 @@
|
|||
%Include kdirselectdialog.sip
|
||||
%Include kdirsortfilterproxymodel.sip
|
||||
%Include kdirwatch.sip
|
||||
%Include kdiskfreespace.sip
|
||||
%Include kdiskfreespaceinfo.sip
|
||||
%Include kemailsettings.sip
|
||||
%Include kencodingfiledialog.sip
|
||||
|
@ -131,7 +129,6 @@
|
|||
%Include kzip.sip
|
||||
%Include metainfojob.sip
|
||||
%Include netaccess.sip
|
||||
%Include passworddialog.sip
|
||||
%Include paste.sip
|
||||
%Include predicateproperties.sip
|
||||
%Include previewjob.sip
|
||||
|
|
|
@ -79,7 +79,6 @@ class KPropertiesDialogPlugin : QObject
|
|||
public:
|
||||
KPropertiesDialogPlugin (KPropertiesDialog* _props);
|
||||
virtual void applyChanges ();
|
||||
static bool isDesktopFile (const KFileItem& _item);
|
||||
void setDirty (bool b);
|
||||
bool isDirty () const;
|
||||
void setDirty ();
|
||||
|
|
|
@ -46,7 +46,6 @@ public:
|
|||
static bool runCommand (const QString& cmd, QWidget* window);
|
||||
static bool runCommand (const QString& cmd, const QString& execName, const QString& icon, QWidget* window, const QByteArray& asn = QByteArray());
|
||||
static bool displayOpenWithDialog (const KUrl::List& lst, QWidget* window, bool tempFiles = 0, const QString& suggestedFileName = QString(), const QByteArray& asn = QByteArray());
|
||||
static void shellQuote (QString& str);
|
||||
static QStringList processDesktopExec (const KService& _service, const KUrl::List& _urls, bool tempFiles = 0, const QString& suggestedFileName = QString());
|
||||
static QString binaryName (const QString& execLine, bool removePath);
|
||||
static bool isExecutable (const QString& serviceType);
|
||||
|
@ -75,13 +74,7 @@ protected:
|
|||
void setFinished (bool finished);
|
||||
void setJob (KIO::Job* job);
|
||||
KIO::Job* job ();
|
||||
QTimer& timer ();
|
||||
void setDoScanFile (bool scanFile);
|
||||
bool doScanFile () const;
|
||||
void setIsDirecory (bool isDirectory);
|
||||
bool isDirectory () const;
|
||||
void setInitializeNextAction (bool initialize);
|
||||
bool initializeNextAction () const;
|
||||
void setIsLocalFile (bool isLocalFile);
|
||||
bool isLocalFile () const;
|
||||
void setMode (mode_t mode);
|
||||
|
|
|
@ -149,7 +149,6 @@ private:
|
|||
//end
|
||||
public:
|
||||
~KUriFilter ();
|
||||
bool filterSearchUri (KUriFilterData& data);
|
||||
enum SearchFilterType
|
||||
{
|
||||
NormalTextFilter,
|
||||
|
|
|
@ -30,9 +30,7 @@ class KUrlNavigator : QWidget
|
|||
|
||||
public:
|
||||
KUrlNavigator (KFilePlacesModel* placesModel, const KUrl& url, QWidget* parent /TransferThis/);
|
||||
const KUrl& url () const;
|
||||
KUrl uncommittedUrl () const;
|
||||
KUrl url (int index) const;
|
||||
bool goBack ();
|
||||
bool goForward ();
|
||||
bool goUp ();
|
||||
|
@ -48,16 +46,10 @@ public:
|
|||
bool isPlacesSelectorVisible () const;
|
||||
int historySize () const;
|
||||
int historyIndex () const;
|
||||
KUrl historyUrl (int historyIndex) const;
|
||||
const KUrl& savedRootUrl () const;
|
||||
QPoint savedPosition () const;
|
||||
KUrlComboBox* editor () const;
|
||||
void setCustomProtocols (const QStringList& protocols);
|
||||
QStringList customProtocols () const;
|
||||
void setUrl (const KUrl& url);
|
||||
void requestActivation ();
|
||||
void saveRootUrl (const KUrl& url);
|
||||
void savePosition (int x, int y);
|
||||
void setFocus ();
|
||||
|
||||
signals:
|
||||
|
|
|
@ -44,12 +44,10 @@ public:
|
|||
KComboBox* comboBox () const;
|
||||
KPushButton* button () const;
|
||||
KUrlCompletion* completionObject () const;
|
||||
const KEditListBox::CustomEditor& customEditor ();
|
||||
QString clickMessage () const;
|
||||
void setClickMessage (const QString& msg);
|
||||
void setUrl (const KUrl& url);
|
||||
void setStartDir (const KUrl& startDir);
|
||||
void setPath (const QString& path);
|
||||
void setText (const QString& text);
|
||||
void clear ();
|
||||
|
||||
|
|
|
@ -41,12 +41,8 @@ public:
|
|||
static void removeTempFile (const QString& name);
|
||||
static bool upload (const QString& src, const KUrl& target, QWidget* window);
|
||||
static bool file_copy (const KUrl& src, const KUrl& target, QWidget* window = 0);
|
||||
static bool copy (const KUrl& src, const KUrl& target, QWidget* window = 0);
|
||||
static bool dircopy (const KUrl& src, const KUrl& target, QWidget* window);
|
||||
static bool dircopy (const KUrl::List& src, const KUrl& target, QWidget* window = 0);
|
||||
static bool move (const KUrl& src, const KUrl& target, QWidget* window = 0);
|
||||
static bool move (const KUrl::List& src, const KUrl& target, QWidget* window = 0);
|
||||
static bool exists (const KUrl& url, bool source /Constrained/, QWidget* window);
|
||||
static bool exists (const KUrl& url, KIO::NetAccess::StatSide statSide, QWidget* window);
|
||||
static bool stat (const KUrl& url, KIO::UDSEntry& entry, QWidget* window);
|
||||
static KUrl mostLocalUrl (const KUrl& url, QWidget* window);
|
||||
|
|
|
@ -1,42 +0,0 @@
|
|||
//
|
||||
// Copyright 2008 Jim Bublitz <jbublitz@nwinternet.com>
|
||||
// Earlier copyrights 1998 - 2007 Jim Bublitz also apply
|
||||
|
||||
// Generated by twine
|
||||
|
||||
// This file is part of PyKDE4.
|
||||
|
||||
// PyKDE4 is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU Lesser General Public License as
|
||||
// published by the Free Software Foundation; either version 2.1 of
|
||||
// the License, or (at your option) any later version.
|
||||
|
||||
// PyKDE4 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 program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
namespace KIO
|
||||
{
|
||||
|
||||
class PasswordDialog : KPasswordDialog
|
||||
{
|
||||
%TypeHeaderCode
|
||||
#include <passworddialog.h>
|
||||
%End
|
||||
|
||||
|
||||
public:
|
||||
PasswordDialog (const QString& prompt, const QString& user, bool enableKeep = 0, bool modal = 1, QWidget* parent /TransferThis/ = 0);
|
||||
static int getNameAndPassword (QString& user, QString& pass, bool* keep /In,Out/, const QString& prompt = QString(), bool readOnly = 0, const QString& caption = QString(), const QString& comment = QString(), const QString& label = QString());
|
||||
~PasswordDialog ();
|
||||
};
|
||||
// PasswordDialog
|
||||
|
||||
};
|
||||
// KIO
|
||||
|
||||
|
|
@ -34,7 +34,6 @@ class PreviewJob : KIO::Job
|
|||
|
||||
|
||||
public:
|
||||
PreviewJob (const KFileItemList& items, int width, int height, int iconSize, int iconAlpha, bool scale, bool save, const QStringList* enabledPlugins);
|
||||
void removeItem (const KUrl& url);
|
||||
void setIgnoreMaximumSize (bool ignoreSize = 1);
|
||||
void setSequenceIndex (int index);
|
||||
|
@ -42,9 +41,6 @@ public:
|
|||
static QStringList availablePlugins ();
|
||||
static QStringList supportedMimeTypes ();
|
||||
|
||||
static KIO::filesize_t maximumFileSize ();
|
||||
|
||||
|
||||
signals:
|
||||
void gotPreview (const KFileItem& item, const QPixmap& preview);
|
||||
void failed (const KFileItem& item);
|
||||
|
@ -76,8 +72,6 @@ public:
|
|||
};
|
||||
// PreviewJob
|
||||
|
||||
KIO::PreviewJob* filePreview (const KFileItemList& items, int width, int height = 0, int iconSize = 0, int iconAlpha = 70, bool scale = 1, bool save = 1, const QStringList* enabledPlugins = 0);
|
||||
KIO::PreviewJob* filePreview (const KUrl::List& items, int width, int height = 0, int iconSize = 0, int iconAlpha = 70, bool scale = 1, bool save = 1, const QStringList* enabledPlugins = 0);
|
||||
KIO::PreviewJob* filePreview (const KFileItemList& items, const QSize& size, const QStringList* enabledPlugins = 0);
|
||||
};
|
||||
// KIO
|
||||
|
|
|
@ -31,7 +31,6 @@ class Scheduler : QObject
|
|||
|
||||
public:
|
||||
static void doJob (KIO::SimpleJob* job);
|
||||
static void scheduleJob (KIO::SimpleJob* job);
|
||||
static void cancelJob (KIO::SimpleJob* job);
|
||||
static void jobFinished (KIO::SimpleJob* job, KIO::Slave* slave);
|
||||
static void putSlaveOnHold (KIO::SimpleJob* job, const KUrl& url);
|
||||
|
|
|
@ -77,9 +77,7 @@ public:
|
|||
UDS_DISPLAY_NAME,
|
||||
UDS_TARGET_URL,
|
||||
UDS_DISPLAY_TYPE,
|
||||
UDS_NEPOMUK_URI,
|
||||
UDS_ICON_OVERLAY_NAMES,
|
||||
UDS_NEPOMUK_QUERY,
|
||||
UDS_COMMENT,
|
||||
UDS_DEVICE_ID,
|
||||
UDS_INODE,
|
||||
|
|
Loading…
Add table
Reference in a new issue