• Skip to content
  • Skip to link menu
KDE 4.3 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

Deprecated List

Member KBookmark::List::fromMimeData (const QMimeData *mimeData)
use fromMimeData(mimeData, doc), to avoid crashes

Class KCrashBookmarkImporter

Member KDataToolInfo::icon () const
, use iconName()

Member KDataToolInfo::miniIcon () const
, use iconName()

Member KDirLister::Changes
and unused, ignore this

Member KDirLister::deleteItem (const KFileItem &_fileItem)

Don't connect to this signal. Use itemsDeleted instead.

Member KDirModel::indexForItem (const KFileItem *) const
use the method that takes a KFileItem by value

Class KDiskFreeSpace
Use KDiskFreeSpaceInfo

Member KFileItem::acceptsDrops () const
This logic is application-dependent, the behavior described above mostly makes sense for file managers only. KDirModel has setDropsAllowed for similar (but configurable) logic.

Member KFileItem::assign (const KFileItem &item)
simply use '='

Member KFileItem::extraData (const void *key) const
use model/view (KDirModel) and you won't need this anymore

Member KFileItem::removeExtraData (const void *key)
use model/view (KDirModel) and you won't need this anymore

Member KFileItem::setExtraData (const void *key, void *value)
use model/view (KDirModel) and you won't need this anymore

Member KFileItem::setUDSEntry (const KIO::UDSEntry &entry, const KUrl &url, bool delayedMimeTypes=false, bool urlIsDirectory=false)
why not just create another KFileItem and use operator=, now that it's a value class?

Member KIO::Job::canceled (KJob *job)
. Don't use ! Emitted when the job is canceled. Signal result() is emitted as well, and error() is, in this case, ERR_USER_CANCELED.

Member KIO::Job::showErrorDialog (QWidget *parent=0)
you should use job->ui()->setWindow(parent) and job->ui()->showErrorMessage() instead

Member KIO::NetAccess::copy (const KUrl &src, const KUrl &target, QWidget *window=0)
, use file_copy instead

Member KIO::NetAccess::move (const KUrl::List &src, const KUrl &target, QWidget *window=0L)

use KIO::move and then KIO::NetAccess::synchronousRun (or job->exec())

use KIO::move and then KIO::NetAccess::synchronousRun (or job->exec())

Class KIO::PasswordDialog

use KPasswordDialog A dialog for requesting a login and a password from the end user.

Member KIO::TransferJob::reportDataSent () const
not needed, this is false for KIO::get and true for KIO::put, automatically since KDE-4.2.1 (and not useful as public API)

Member KIO::TransferJob::setReportDataSent (bool enabled)
not needed, this is false for KIO::get and true for KIO::put, automatically since KDE-4.2.1

Class KMimeTypeResolver
since 4.3, use KFilePreviewGenerator instead (from libkfile), which can do both delayed-mimetype-determination and delayed-preview-determination (actually, it rather does one or the other), and with better performance (it batches the updates rather than doing them one by one)

Member KPropertiesDialogPlugin::isDesktopFile (const KFileItem &_item)
use KFileItem::isDesktopFile

Member KRun::doScanFile () const
not useful in public API

Member KRun::initializeNextAction () const
not useful in public API

Member KRun::setDoScanFile (bool scanFile)
not useful in public API

Member KRun::setInitializeNextAction (bool initialize)
not useful in public API

Member KRun::setIsDirecory (bool isDirectory)
typo in the name, and not useful as a public method

Member KRun::shellQuote (QString &str)

Use KShell::quoteArg() instead. Note that this function behaves differently for empty arguments and returns the result differently.

Member KSSLCertDialog::setup (QStringList certs, bool saveChecked=false, bool sendChecked=true)

Member KUrlRequester::setPath (const QString &path)
Use setUrl(KUrl(path)) instead.

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.6.1
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal