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 KFileDialog::fileHighlighted (const QString &)
- , connect to fileSelected(const KUrl&) instead
- Member KFileDialog::fileSelected (const QString &)
- , connect to fileSelected(const KUrl&) instead
- 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::getToolTipText (int maxcount=6) const
- File Managers implement more complete tooltips.
- 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?
- Class KFileItemActionPlugin
- use KAbstractFileItemActionPlugin instead (introduced in kdelibs-4.6.1 in order to remove the erroneous "const" in the actions method)
- Class KFileMetaDataConfigurationWidget
- since 4.12, use Nepomuk2::FileMetaDataConfigurationWidget
- Class KFileMetaDataWidget
- since 4.12 use Nepomuk2::FileMetaDataWidget
- Member KFileMetaInfoItem::properties () const
- Class KIO::AccessManager
- Use the KIO::Integration::AccessManager typedef to access this class instead.
- Since
- 4.3
- Member KIO::AccessManager::cookieJarWindowid () const
- Use KIO::Integration::CookieJar::windowId
- Member KIO::AccessManager::setCookieJarWindowId (WId id)
- Use setWindow
- Member KIO::fileMetaInfo (const KFileItemList &items)
- use strigi or KFileMetaInfo
- Member KIO::fileMetaInfo (const KUrl::List &items)
- use strigi or KFileMetaInfo
- Member KIO::filePreview (const KFileItemList &items, int width, int height=0, int iconSize=0, int iconAlpha=70, bool scale=true, bool save=true, const QStringList *enabledPlugins=0)
- Use KIO::filePreview(KFileItemList, QSize, QStringList) in combination with the setter-methods instead. Note that the semantics of
enabledPlugins
has been slightly changed. - Member KIO::filePreview (const KUrl::List &items, int width, int height=0, int iconSize=0, int iconAlpha=70, bool scale=true, bool save=true, const QStringList *enabledPlugins=0)
- Use KIO::filePreview(KFileItemList, QSize, QStringList) in combination with the setter-methods instead. Note that the semantics of
enabledPlugins
has been slightly changed. - 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.
- Parameters
-
job the job that emitted this signal
- 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::exists (const KUrl &url, bool source, QWidget *window)
- use the StatSide enum instead of the bool source
- Member KIO::NetAccess::move (const KUrl &src, const KUrl &target, QWidget *window=0L)
- use KIO::move and then KIO::NetAccess::synchronousRun (or job->exec())
- 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())
- Class KIO::PasswordDialog
- use KPasswordDialog A dialog for requesting a login and a password from the end user.
- Member KIO::pasteMimeSource (const QMimeData *data, const KUrl &destURL, const QString &dialogText, QWidget *widget, bool clipboard=false)
- because it returns a CopyJob*, and this is better implemented without a copy job. Use pasteMimeData instead. Note that you'll have to tell the user in case of an error (no data to paste), while pasteMimeSource did that.
- Member KIO::PreviewJob::maximumFileSize ()
- PreviewJob uses different maximum file sizes dependent on the URL since 4.5. The returned file size is only valid for local URLs.
- Member KIO::PreviewJob::PreviewJob (const KFileItemList &items, int width, int height, int iconSize, int iconAlpha, bool scale, bool save, const QStringList *enabledPlugins)
- Use PreviewJob(KFileItemList, QSize, QStringList) in combination with the setter-methods instead. Note that the semantics of
enabledPlugins
has been slightly changed. - Member KIO::SlaveInterface::setWindow (QWidget *window)
- Member KIO::SlaveInterface::window () const
- 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 KRun::timer ()
- setFinished(true) now takes care of the timer().start(0), so this can be removed.
- Member KSambaShare::smbConfPath () const
- Member KSSLCertDialog::setup (QStringList certs, bool saveChecked=false, bool sendChecked=true)
- Member KUriFilter::filterSearchUri (KUriFilterData &data)
- Use filterSearchUri(KUriFilterData&, SearchFilterTypes) instead.
- Member KUriFilterPlugin::ProviderInfoList
- Use KUriFilterSearchProvider instead. See setSearchProviders;
- Member KUriFilterPlugin::setPreferredSearchProviders (KUriFilterData &data, const ProviderInfoList &providers) const
- Use setSearchProviders instead.
- Member KUrlRequester::setPath (const QString &path)
- Use setUrl(KUrl(path)) instead.
- Class PredicateProperties
- use Nepomuk::Types::Property instead
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.