KDELibs4Support

Deprecated List
Member K4AboutData::license () const
There could be multiple licenses, use licenses() instead.
Member K4AboutData::licenseName (NameFormat formatName) const
There could be multiple licenses, use licenses() instead.
Class K4AboutPerson
Instead, use KAboutData in KCoreAddons
Member k_funcinfo
kDebug takes care of printing the method name automatically now
Member k_lineinfo
kDebug takes care of printing the method name automatically now
Namespace KAccelGen
Member KAction::globalShortcutChanged (const QKeySequence &)
use KGlobalAccel::globalShortcutChanged instead
Member KAction::triggered (Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
since 5.0, use triggered() signal from QAction and check for QApplication::mouseButtons() and QApplication::keyboardModifiers() in the slot.
Member KApplication::disableSessionManagement ()
, use qunsetenv("SESSION_MANAGER") (X11-specific) or
Member KApplication::installX11EventFilter (QWidget *filter)
since 5.0, use QCoreApplication::installNativeEventFilter Installs widget filter as global X11 event filter.
Member KApplication::removeX11EventFilter (const QWidget *filter)
since 5.0, use QCoreApplication::removeNativeEventFilter Removes global X11 event filter previously installed by installX11EventFilter().
Member KApplication::saveYourself ()
since 5.0, connect to saveStateRequest instead
Member KApplication::sessionConfig ()
Returns the application session config object.
Member KApplication::sessionSaving () const
since 5.0, use QGuiApplication::isSavingSession()
Member KApplication::setStartupId (const QByteArray &startup_id)
Sets a new value for the application startup notification window property for newly created toplevel windows.
Member KApplication::setTopWidget (QWidget *topWidget)
since 5.0. This was doing two things: 1) setting the window title to include the appname; Qt now takes care of that on platforms where this is wanted. 2) setting the window startup ID, which Qt should take care of in the future. -> simply remove this call.
Member KApplication::startupId () const
Returns the app startup notification identifier for this running application.
Member KApplication::tempSaveName (const QString &pFilename)
use QTemporaryFile, QSaveFile or KAutoSaveFile instead
Member KApplication::updateUserTimestamp (int time=0)
Updates the last user action timestamp to the given time, or to the current time, if 0 is given.
Member KApplication::userTimestamp () const
Returns the last user action timestamp or 0 if no user activity has taken place yet.
Class KArrowButton
Use a QToolButton with the arrowType property set instead
Class KButtonGroup
since 5.0, use QGroupBox and QButtonGroup instead
Member KCalendarSystem::calendarType () const =0
use calendarSystem() instead
Member KCalendarSystem::dayOfWeekString (const QDate &date) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::dayOfYearString (const QDate &date, StringFormat format=LongFormat) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::daysInMonthString (const QDate &date, StringFormat format=LongFormat) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::daysInWeekString (const QDate &date) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::daysInYearString (const QDate &date, StringFormat format=LongFormat) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::dayString (const QDate &date, StringFormat format=LongFormat) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::dayStringToInteger (const QString &sNum, int &iLength) const
for internal use only
Member KCalendarSystem::monthsInYearString (const QDate &date, StringFormat format=LongFormat) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::monthString (const QDate &date, StringFormat format=LongFormat) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::monthStringToInteger (const QString &sNum, int &iLength) const
for internal use only
Member KCalendarSystem::setYMD (QDate &date, int y, int m, int d) const
Use setDate() instead
Member KCalendarSystem::weekDayOfPray () const
use KLocale::weekDayOfPray() instead
Member KCalendarSystem::weekNumber (const QDate &date, int *yearNum=nullptr) const
use week() instead
Member KCalendarSystem::weekNumberString (const QDate &date, StringFormat format=LongFormat) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::weeksInYearString (const QDate &date, StringFormat format=LongFormat) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::yearInEraString (const QDate &date, StringFormat format=ShortFormat) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::yearString (const QDate &date, StringFormat format=LongFormat) const
use formatDate(QDate, KLocale::DateTimeComponent, KLocale::DateTimeComponentFormat)
Member KCalendarSystem::yearStringToInteger (const QString &sNum, int &iLength) const
for internal use only
Class KCmdLineOptions
since 5.0, port to QCommandLineParser in QtCore
Class KCurrencyCode
since 5.0, a replacement will be provided by the KStandards framework (not available in KDE Frameworks 5.0)
Member KDateTime::outOfRange () const
Since 5.0, we now supports all valid dates.
Member KDateTime::secsTo_long (const KDateTime &other) const
Since 5.0, use secsTo instead
Member KdePrint::createPrintDialog (QPrinter *printer, const QList< QWidget * > &customTabs, QWidget *parent=nullptr)
since 5.0, use QPrintDialog::setOptionTabs (only supported on X11)
Member KDialog::delayedDestruct ()
use hide()+deleteLater()
Member KDialog::layoutHintChanged ()
This signal is not emitted. Listen to QEvent::StyleChange events instead.
Member KDialog::marginHint ()
Use the style's pixelMetric() function to query individual margins. Different platforms may use different values for the four margins.
Member KDialog::resizeLayout (QWidget *widget, int margin, int spacing)
Use QLayout functions where necessary. Setting margin and spacing values recursively for all children prevents QLayout from creating platform native layouts.
Member KDialog::resizeLayout (QLayout *lay, int margin, int spacing)
Use QLayout functions where necessary. Setting margin and spacing values recursively for all children prevents QLayout from creating platform native layouts.
Member KDialog::restoreDialogSize (const KConfigGroup &config)
use KWindowConfig::restoreWindowSize() instead
Member KDialog::saveDialogSize (KConfigGroup &config, KConfigGroup::WriteConfigFlags options=KConfigGroup::Normal) const
use KWindowConfig::saveWindowSize() instead
Member KDialog::setButtons (ButtonCodes buttonMask)
Since 5.0 use QDialogButtonBox
Member KDialog::setCaption (const QString &caption)
Since 5.0 use QWidget::setWindowTitle
Member KDialog::setCaption (const QString &caption, bool modified)
Since 5.0 use QWidget::setWindowTitle and QWidget::setWindowModified.
Member KDialog::slotButtonClicked (int button)
since 5.0 use QDialogButtonBox and connect to the clicked signal
Member KDialog::spacingHint ()
Use the style's layoutSpacing() function to query individual spacings. Different platforms may use different values depending on widget types and pairs.
Member KDialog::updateGeometry ()
KDialog respects the style's margins and spacings automatically. Calling this function has no effect.
Class KDirSelectDialog
since 5.0, use QFileDialog::getExistingDirectoryUrl instead.
Member KDirSelectDialog::selectDirectory (const QUrl &startDir=QUrl(), bool localOnly=false, QWidget *parent=nullptr, const QString &caption=QString())
since 5.0, use QFileDialog::getExistingDirectory (if localOnly was true) or QFileDialog::getExistingDirectoryUrl (if localOnly was false) instead.
Class KDiskFreeSpace
Use KDiskFreeSpaceInfo
Class KDoubleNumInput
since 5.0, use QSpinBox instead
Member KDoubleNumInput::KDoubleNumInput (KNumInput *below, double lower, double upper, double value, QWidget *parent=nullptr, double singleStep=0.02, int precision=2)
use the version without below instead
Class KDoubleValidator
use QDoubleValidator (and QLocale)
Class KEditListBox
since 5.0 in favor of KEditListWidget embedded in a QGroupBox.
Member KEditListBox::KEditListBox (QWidget *parent, const char *name, bool checkAtEntering=false, Buttons buttons=All)
Member KEditListBox::KEditListBox (const QString &title, QWidget *parent, const char *name, bool checkAtEntering=false, Buttons buttons=All)
Class KFileDialog
since 5.0, use the QFileDialog API instead. Note that when the KDE QPA theme plugin is installed, the KFileWidget will then be used automatically.
Member KFileDialog::getExistingDirectory (const QUrl &startDir=QUrl(), QWidget *parent=nullptr, const QString &caption=QString())
use QFileDialog::getExistingDirectory(parent, caption, startDir)
Member KFileDialog::getExistingDirectoryUrl (const QUrl &startDir=QUrl(), QWidget *parent=nullptr, const QString &caption=QString())
use QFileDialog::getExistingDirectoryUrl(parent, caption, startDir)
Member KFileDialog::getOpenFileName (const QUrl &startDir=QUrl(), const QString &filter=QString(), QWidget *parent=nullptr, const QString &caption=QString())
use QFileDialog::getOpenFileName(parent, caption, startDir, filter)
Member KFileDialog::getOpenFileNames (const QUrl &startDir=QUrl(), const QString &filter=QString(), QWidget *parent=nullptr, const QString &caption=QString())
use QFileDialog::getOpenFileNames(parent, caption, startDir, filter)
Member KFileDialog::getOpenUrl (const QUrl &startDir=QUrl(), const QString &filter=QString(), QWidget *parent=nullptr, const QString &caption=QString())
use QFileDialog::getOpenFileUrl(parent, caption, startDir, filter)
Member KFileDialog::getOpenUrls (const QUrl &startDir=QUrl(), const QString &filter=QString(), QWidget *parent=nullptr, const QString &caption=QString())
use QFileDialog::getOpenFileUrls(parent, caption, startDir, filter)
Member KFileDialog::getSaveFileName (const QUrl &startDir=QUrl(), const QString &filter=QString(), QWidget *parent=nullptr, const QString &caption=QString())
use QFileDialog::getSaveFileName(parent, caption, startDir, filter)
Member KFileDialog::getSaveFileName (const QUrl &startDir, const QString &filter, QWidget *parent, const QString &caption, Options options)
use QFileDialog::getSaveFileName(parent, caption, startDir, filter, [selectedFilter], options)
Member KFileDialog::getSaveUrl (const QUrl &startDir=QUrl(), const QString &filter=QString(), QWidget *parent=nullptr, const QString &caption=QString())
use QFileDialog::getSaveFileUrl(parent, caption, startDir, filter)
Member KFileDialog::getSaveUrl (const QUrl &startDir, const QString &filter, QWidget *parent, const QString &caption, Options options)
use QFileDialog::getSaveFileUrl(parent, caption, startDir, filter, [selectedFilter], options)
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
Class KFileMetaInfoWidget
since 5.0 A widget to display file meta information (like id3 for mp3)
Namespace KFileShare
since 5.0, use KSambaShare and KNFSShare.
Class KFontComboBox
Since KF 5.0, use QFontComboBox instead
Member KFontComboBox::setOnlyFixed (bool onlyFixed)
use QFontComboBox::setFontFilters(QFontComboBox::MonospacedFonts)
Class KFontDialog
since 5.0, use QFontDialog instead
Class KGenericFactory< Product, ParentType >
use KPluginFactory
Member KGlobal::activeComponent ()
since 5.0 see KComponentData::activeComponent() about why you should do without this concept (or let your app remember the active part/plugin if it cares)
Member KGlobal::caption ()
since 5.0. Don't use in window titles anymore, Qt takes care of it. If you really need this, use QGuiApplication::applicationDisplayName(), and if that's empty, QCoreApplication::applicationName().
Member KGlobal::charsets ()
since 5.0, use KCharsets::charsets()
Member KGlobal::config ()
since 5.0, use KSharedConfig::openConfig()
Member KGlobal::deref ()
since 5.0, use QEventLoopLocker, its destructor does the equivalent of unref
Member KGlobal::findDirectChild (const QObject *object)
since Qt 5, use QObject::findChild(FindDirectChildrenOnly)
Member KGlobal::hasLocale ()
since 5.0, port to if (qApp) because KLocale::global() can be called, as soon as a qApp exists.
Member KGlobal::hasMainComponent ()
since 5.0, use KComponentData::hasMainComponent() if you really need a KComponentData
Member KGlobal::locale ()
since 5.0, use KLocale::global()
Member KGlobal::mainComponent ()
since 5.0 use KComponentData::mainComponent() if you really need a KComponentData
Member KGlobal::ref ()
since 5.0, use QEventLoopLocker, its constructor does the equivalent of ref
Member KGlobal::setActiveComponent (const KComponentData &d)
since 5.0 see KComponentData::setActiveComponent about why you can probably just remove the call.
Member KGlobal::setAllowQuit (bool allowQuit)
since 5.0, not necessary anymore, with QCoreApplication and QEventLoopLocker
Member KGlobal::staticQString (const QString &str)
since 5.0 don't make the string static
Member KGlobal::staticQString (const char *str)
since 5.0, use QLatin1String() or QStringLiteral()
Member KGlobalSettings::activeTextColor ()
since 5.0, This used to export the color of the titlebar. If you wanted to query the color of the active window foreground, use KColorScheme(QPalette::Active, KColorScheme::Window).foreground(KColorScheme::ActiveText).color(), otherwise please read the setting from kdeglobals/WM/activeForeground directly
Member KGlobalSettings::activeTitleColor ()
since 5.0, This used to export the color of the titlebar. If you wanted to query the color of the active window background, use KColorScheme(QPalette::Active, KColorScheme::Window).background(KColorScheme::ActiveBackground).color(), otherwise please read the setting from kdeglobals/WM/activeBackground directly
Member KGlobalSettings::Completion
Use KCompletion
Member KGlobalSettings::contrast ()
since 5.0, use KColorScheme::contrast()
Member KGlobalSettings::contrastF (const KSharedConfigPtr &config=KSharedConfigPtr())
since 5.0, use KColorScheme::contrastF(config)
Member KGlobalSettings::createApplicationPalette (const KSharedConfigPtr &config=KSharedConfigPtr())
since 5.0, use KColorScheme::createApplicationPalette()
Member KGlobalSettings::createNewApplicationPalette (const KSharedConfigPtr &config=KSharedConfigPtr())
since 5.0, use KColorScheme::createApplicationPalette()
Member KGlobalSettings::desktopGeometry (const QPoint &point)
use QApplication::desktop()->screenGeometry(point)
Member KGlobalSettings::desktopGeometry (const QWidget *w)
use QApplication::desktop()->screenGeometry(w)
Member KGlobalSettings::desktopPath ()
since 5.0, use QStandardPaths::writableLocation(QStandardPaths::DesktopLocation).
Member KGlobalSettings::dndEventDelay ()
since 5.0, use QApplication::startDragDistance() instead.
Member KGlobalSettings::documentPath ()
since 5.0, use QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation).
Member KGlobalSettings::downloadPath ()
since 5.0, use QStandardPaths::writableLocation(QStandardPaths::DownloadLocation).
Member KGlobalSettings::emitChange (ChangeType changeType, int arg=0)
since 5.0 :
Member KGlobalSettings::fixedFont ()
since 5.0, use QFontDatabase::systemFont(QFontDatabase::FixedFont)
Member KGlobalSettings::iconChanged (int group)
since 5.0, use KIconLoader::iconChanged(int)
Member KGlobalSettings::inactiveTextColor ()
since 5.0, This used to export the color of the titlebar. If you wanted to query the color of the inactive window foreground, use KColorScheme(QPalette::Inactive, KColorScheme::Window).foreground().color() otherwise please read the setting from kdeglobals/WM/inactiveForeground directly
Member KGlobalSettings::inactiveTitleColor ()
since 5.0, This used to export the color of the titlebar. If you wanted to query the color of the inactive window background, use KColorScheme(QPalette::Inactive, KColorScheme::Window).background().color(), otherwise please read the setting from kdeglobals/WM/inactiveBackground directly
Member KGlobalSettings::musicPath ()
since 5.0, use QStandardPaths::writableLocation(QStandardPaths::MusicLocation).
Member KGlobalSettings::picturesPath ()
since 5.0, use QStandardPaths::writableLocation(QStandardPaths::PicturesLocation).
Member KGlobalSettings::showFilePreview (const QUrl &)
since 5.0, use KProtocolInfo::showFilePreview
Member KGlobalSettings::showIconsOnPushButtons ()
since 5.0, use style->styleHint(QStyle::SH_DialogButtonBox_ButtonsHaveIcons, 0, widget);
Member KGlobalSettings::singleClick ()
since 5.0, use style->styleHint(QStyle::SH_ItemView_ActivateItemOnSingleClick, 0, widget)
Member KGlobalSettings::splashScreenDesktopGeometry ()
use QApplication::desktop()->screenGeometry(QCursor::pos())
Member KGlobalSettings::videosPath ()
since 5.0, use QStandardPaths::writableLocation(QStandardPaths::MoviesLocation).
Class KIcon
use QIcon::fromTheme
Member KImageIO::isSupported (const QString &mimeType, Mode mode=Writing)
since 5.0, use QImageReader/QImageWriter::supportedMimeTypes() instead.
Member KImageIO::mimeTypes (Mode mode=Writing)
since 5.0, use QImageReader/QImageWriter::supportedMimeTypes() instead.
Member KImageIO::pattern (Mode mode=Reading)
since 5.0, use QIMageReader/QImageWriter::supportedMimeTypes() and QFileDialog::setMimeTypeFilters() instead.
Member KImageIO::typeForMime (const QString &mimeType)
since 5.0, use QMimeType::suffixes() instead().
Member KImageIO::types (Mode mode=Writing)
since 5.0, use QImageReader/QImageWriter::supportedImageFormats() instead.
Namespace KInputDialog
since 5.0 in favor of QInputDialog
Member KInputDialog::getDouble (const QString &caption, const QString &label, double value=0, double minValue=-DBL_MAX, double maxValue=DBL_MAX, double step=0.1, int decimals=1, bool *ok=nullptr, QWidget *parent=nullptr)
since 5.0, use QInputDialog::getDouble() instead
Member KInputDialog::getDouble (const QString &caption, const QString &label, double value=0, double minValue=-DBL_MAX, double maxValue=DBL_MAX, int decimals=1, bool *ok=nullptr, QWidget *parent=nullptr)
since 5.0, use QInputDialog::getDouble() instead
Member KInputDialog::getInteger (const QString &caption, const QString &label, int value=0, int minValue=INT_MIN, int maxValue=INT_MAX, int step=1, bool *ok=nullptr, QWidget *parent=nullptr)
since 5.0, use QInputDialog::getInt() instead
Member KInputDialog::getInteger (const QString &caption, const QString &label, int value=0, int minValue=INT_MIN, int maxValue=INT_MAX, int step=1, int base=10, bool *ok=nullptr, QWidget *parent=nullptr)
since 5.0, use QInputDialog::getInt() instead
Member KInputDialog::getItem (const QString &caption, const QString &label, const QStringList &list, int current=0, bool editable=false, bool *ok=nullptr, QWidget *parent=nullptr)
since 5.0, use QInputDialog::getItem() instead
Member KInputDialog::getItemList (const QString &caption, const QString &label, const QStringList &list=QStringList(), const QStringList &select=QStringList(), bool multiple=false, bool *ok=nullptr, QWidget *parent=nullptr)
since 5.0, use QInputDialog with the option UseListViewForComboBoxItems instead (yet only one item allowed)
Member KInputDialog::getMultiLineText (const QString &caption, const QString &label, const QString &value=QString(), bool *ok=nullptr, QWidget *parent=nullptr)
since 5.0, use QInputDialog::getMultiLineText() instead
Member KInputDialog::getText (const QString &caption, const QString &label, const QString &value=QString(), bool *ok=nullptr, QWidget *parent=nullptr, QValidator *validator=nullptr, const QString &mask=QString(), const QString &whatsThis=QString(), const QStringList &completionList=QStringList())
since 5.0, use QInputDialog::getText() instead; the returned value must be checked, because QInputDialog accepts also empty strings and does not use a QValidator object.
Class KIntNumInput
since 5.0, use QSpinBox instead
Member KIntNumInput::KIntNumInput (KNumInput *below, int value, QWidget *parent, int base=10)
use the version without the below parameter instead.
Member KIntNumInput::setRange (int min, int max, int singleStep, bool slider)
Use the other setRange function and setSliderEnabled instead
Class KIntSpinBox
since 5.0, use QSpinBox instead
Member KIntSpinBox::base () const
since 5.0, use int displayIntegerBase()
Member KIntSpinBox::setBase (int base)
since 5.0, use QSpinBox::setDisplayIntegerBase(base) instead.
Class KIntValidator
use QIntValidator (or fix KIntValidator for non-decimal bases)
Class KIO::MetaInfoJob
use Nepomuk or Strigi Note: this job doesn't even work as before, KFileItem::setMetaInfo doesn't exist anymore.
Member KIO::NetAccess::del (const QUrl &url, QWidget *window)
since 5.0, use KIO::del + job->ui()->setWindow() + job->exec() instead
Member KIO::NetAccess::dircopy (const QUrl &src, const QUrl &target, QWidget *window)
since 5.0, use KIO::copy + job->ui()->setWindow() + job->exec() instead
Member KIO::NetAccess::dircopy (const QList< QUrl > &src, const QUrl &target, QWidget *window=nullptr)
since 5.0, use KIO::copy + job->ui()->setWindow() + job->exec() instead
Member KIO::NetAccess::download (const QUrl &src, QString &target, QWidget *window)
since 5.0, use KIO::storedGet + KJobWidgets::setWindow + job->exec() instead
Member KIO::NetAccess::exists (const QUrl &url, bool source, QWidget *window)
use the StatSide enum instead of the bool source
Member KIO::NetAccess::exists (const QUrl &url, StatSide statSide, QWidget *window)
since 5.0, use QFile::exists for local files and KIO::stat for transparency
Member KIO::NetAccess::file_copy (const QUrl &src, const QUrl &target, QWidget *window=nullptr)
since 5.0, use KIO::file_copy + job->ui()->setWindow() + job->exec() instead
Member KIO::NetAccess::mimetype (const QUrl &url, QWidget *window)
since 5.0, use KIO::mimetype + KJobWidgets::setWindow + job->exec() instead
Member KIO::NetAccess::mkdir (const QUrl &url, QWidget *window, int permissions=-1)
since 5.0, use KIO::mkdir + job->ui()->setWindow() + job->exec() instead
Member KIO::NetAccess::mostLocalUrl (const QUrl &url, QWidget *window)
since 5.0, use KIO::mostLocalUrl + KJobWidgets::setWindow + job->exec() instead
Member KIO::NetAccess::move (const QUrl &src, const QUrl &target, QWidget *window=nullptr)
since 5.0, use KIO::move + job->ui()->setWindow() + job->exec() instead
Member KIO::NetAccess::move (const QList< QUrl > &src, const QUrl &target, QWidget *window=nullptr)
since 5.0, use KIO::move + job->ui()->setWindow() + job->exec() instead
Member KIO::NetAccess::stat (const QUrl &url, KIO::UDSEntry &entry, QWidget *window)
since 5.0, use KIO::stat + KJobWidgets::setWindow + job->exec() instead
Member KIO::NetAccess::synchronousRun (Job *job, QWidget *window, QByteArray *data=nullptr, QUrl *finalURL=nullptr, QMap< QString, QString > *metaData=nullptr)
since 5.0, KJobWidgets::setWindow + job->exec() instead
Member KIO::NetAccess::upload (const QString &src, const QUrl &target, QWidget *window)
since 5.0, use KIO::storedPut or KIO::file_copy + KJobWidgets::setWindow + job->exec() instead
Class KIO::PasswordDialog
use KPasswordDialog A dialog for requesting a login and a password from the end user.
Class KLibLoader
since 4.0, use KPluginLoader, KService::createInstance or QLibrary instead.
Member KLibLoader::factory (const QString &libname, QLibrary::LoadHints loadHint={})
since 4.0, use KPluginLoader::factory()
Member KLibLoader::findLibrary (const QString &libname, const KComponentData &cData=KGlobal::mainComponent())
since 5.0, if the library is in a plugin directory, use KPluginLoader::findPlugin(); if it is in a library directory, pass the name directly to QLibrary.
Member KLibLoader::library (const QString &libname, QLibrary::LoadHints loadHint={})
since 4.0, use QLibrary directly, or KPluginLoader for plugins; KPluginLoader::findPlugin() can be used if the library is installed in the plugin directory.
Member KLibLoader::self ()
since 4.0, use KPluginLoader, KService::createInstance or QLibrary instead.
Member KLibLoader::unloadLibrary (const QString &libname)
since 4.0, does nothing.
Class KLibrary
since 5.0, use QLibrary and KPluginLoader::findPlugin() instead
Member KLibrary::factory (const char *factoryname=nullptr)
since 4.0, use KPluginLoader::factory
Member KLibrary::resolveFunction (const char *name)
since 5.0, use QLibrary::resolve
Member KLibrary::void_function_ptr )()
since 5.0, use QFunctionPointer
Class KListWidget
since 5.0, use QListWidget instead
Class KLocale
since 5.0. For translation support use KLocalizedString (from the KI18n framework); for string formatting use QLocale() or KFormat (from the KCoreAddons framework) if QLocale doesn't provide the formatting you need. For more information about porting code that is still using KLocale see: https://community.kde.org/Frameworks/Porting_Notes#Localization
Member KLocale::calendarType () const
use calendarSystem() instead
Member KLocale::formatTime (const QTime &pTime, bool includeSecs=false, bool isDuration=false) const
replaced by formatLocaleTime()
Member KLocale::fracDigits () const
use decimalPlaces() or monetaryDecimalPlaces()
Member KLocale::nounDeclension () const
Member KLocale::QDateCalendar
Alias for GregorianCalendar
Member KLocale::readTime (const QString &str, ReadTimeFlags flags, bool *ok=nullptr) const
replaced readLocaleTime()
Member KLocale::ReadTimeFlags
replaced by TimeFormatOptions
Member KLocale::setCalendar (const QString &calendarType)
use setCalendarSystem() instead
Member KLocale::setFracDigits (int digits)
use setDecimalPlaces() or setMonetaryDecimalPlaces()
Member KLocale::use12Clock () const
. A possible equivalent would be:
Class KLockFile
since 5.0, please use QLockFile instead
Member KLockFile::getLockInfo (int &pid, QString &hostname, QString &appname)
since 5.0. Use QLockFile::getLockInfo(qint64 *pid, QString *hostname, QString *appname)
Member KLockFile::KLockFile (const QString &file, const QString &componentName=QString())
since 5.0, use QLockFile(file), drop the component name.
Member KLockFile::lock (LockFlags flags=LockFlags())
since 5.0 KLockFile::lock() --> QLockFile::lock(). Possibly after setStaleLockTime(0), but only for the case of protecting a resource for a very long time. KLockFile::lock(NoBlockFlag) --> QLockFile::tryLock(). Possibly after setStaleLockTime(0), but only for the case of protecting a resource for a very long time. KLockFile::lock(ForceFlag) --> QLockFile::lock(). KLockFile::lock(NoBlockFlag|ForceFlag) --> QLockFile::tryLock(). Note that the return value is now simply a bool (success/failure).
Member KLockFile::setStaleTime (int _staleTime)
since 5.0.
Member KLockFile::staleTime () const
since 5.0. WARNING: QLockFile::staleLockTime() is in ms, so divide the result by 1000.
Class KMD5
Member KMD5::base64Digest ()
please use QCryptographicHash::result().toBase64() instead
Member KMD5::hexDigest ()
please use QCryptographicHash::result().toHex() instead
Member KMD5::rawDigest ()
please use QCryptographicHash::result instead
Member KMD5::reset ()
please use QCryptographicHash::reset() instead
Member KMD5::update (const char *in, int len=-1)
please use QCryptographicHash::addData instead
Member KMD5::update (const QByteArray &in)
please use QCryptographicHash::addData instead
Member KMD5::update (QIODevice &file)
please use QCryptographicHash::addData instead
Class KMimeType
use QMimeType, see https://community.kde.org/Frameworks/Porting_Notes#Mime_Types
Member KMimeType::extractKnownExtension (const QString &fileName)
use QMimeDatabase::suffixForFileName
Member KMimeType::favIconForUrl (const QUrl &url)
use KIO::favIconForUrl
Member KMimeType::iconNameForUrl (const QUrl &url, mode_t mode=0)
use KIO::iconNameForUrl
Member KMimeType::is (const QString &mimeTypeName) const
since KF5, use QMimeType::inherits
Member KMimeType::mainExtension () const
use QMimeType::suffixes(), but note that it doesn't return the leading dot.
Member KMimeType::matchFileName (const QString &filename, const QString &pattern)
use QRegExp:
Member KMimeType::parentMimeType () const
this method does not support multiple inheritance, which is actually part of the shared-mime-info standard. Use is(), parentMimeTypes(), or allParentMimeTypes() instead of parentMimeType()
Class KNetwork::KActiveSocketBase
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KBufferedSocket
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KClientSocketBase
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KInetSocketAddress
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KIpAddress
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KPassiveSocketBase
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KResolver
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KResolverEntry
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KResolverResults
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KResolverWorkerBase
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KResolverWorkerFactory< Worker >
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KResolverWorkerFactoryBase
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KReverseResolver
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KServerSocket
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KSocketAddress
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KSocketBase
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KSocketDevice
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KStreamSocket
Use KSocketFactory or KLocalSocket instead
Class KNetwork::KUnixSocketAddress
Use KSocketFactory or KLocalSocket instead
Class KNumInput
since 5.0, use QSpinBox instead
Member KNumInput::KNumInput (QWidget *parent, KNumInput *below)
- use the version without the below parameter instead
Class KPixmapCache
KPixmapCache is susceptible to various non-trivial locking bugs and inefficiencies, and is supported for backward compatibility only (since it exposes a QDataStream API for subclasses). Users should port to KImageCache for a very close work-alike, or KSharedDataCache if they need more control.
Class KPrintPreview
since 5.0, use QPrintPreviewDialog instead
Class KProgressDialog
since 5.0, use QProgressDialog instead
Class KPushButton
since 5.0, use QPushButton instead
Member KPushButton::KPushButton (const KGuiItem &item, QWidget *parent=nullptr)
since 5.0, use QPushButton and KGuiItem::assign(QPushButton *button, const KGuiItem &item).
Class KRestrictedLine
from KF 5.0. Use QLineEdit instead, with a QValidator
Class KSaveFile
since 5.0, port to QSaveFile.
Class KScanDialog
since 5.0, use libksane instead
Class KSessionManager
Since 5.0 connect to signals emitted by QGuiApplication
Member KSessionManager::commitData (QSessionManager &sm)
Since 5.0 connect to the signal QGuiApplication::commitDataRequest(QSessionManager &)
Member KSessionManager::saveState (QSessionManager &sm)
Since 5.0 connect to the signal QGuiApplication::saveStateRequest(QSessionManager &)
Class KSharedPtr< T >
use QExplicitlySharedDataPointer instead
Class KSSLCertificate
since 5.0, use QSslCertificate
Class KStandardDirs
since 5.0, use QStandardPaths, see KDE5PORTING.html for details
Member KStandardDirs::addResourceType (const char *type, const QString &relativename, bool priority=true)
, use addResourceType(type, 0, relativename, priority)
Member KStandardDirs::calcResourceHash (const char *type, const QString &filename, SearchOptions options=NoSearchOptions) const
since 5.0. Only kbuildsycoca needed the multi-dir version of this. In other apps, just use QFileInfo(fullPath).lastModified().toTime_t()
Member KStandardDirs::exists (const QString &fullPath)
since 5.0, use QFile::exists or QFileInfo::isFile()/isDir() to be more precise.
Member KStandardDirs::installPath (const char *type)
since 5.0, use QStandardPaths::standardLocations(...).last()
Member KStandardDirs::kde_default (const char *type)
now returns % + type + / ...
Member KStandardDirs::kfsstnd_prefixes ()
since 5.0, there is no KDEDIRS anymore. If you care for XDG_DATA_DIRS instead, use this: QStandardPaths::standardLocations(QStandardPaths::GenericDataLocation).join(QString(':'))
Member KStandardDirs::localkdedir () const
since 5.0, there is no KDEDIRS nor KDEHOME anymore. Use QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) or QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) instead.
Member KStandardDirs::localxdgconfdir () const
since 5.0 use QStandardPaths::writableLocation(QStandardPaths::GenericConfigLocation) + '/'
Member KStandardDirs::localxdgdatadir () const
since 5.0 use QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + '/'
Member KStandardDirs::makeDir (const QString &dir, int mode=0755)
since 5.0, use QDir().mkpath(dir).
Member KStandardDirs::realFilePath (const QString &filename)
since 5.0, port to QFileInfo::canonicalFilePath, but note that it returns an empty string if filename doesn't exist!
Member KStandardDirs::realPath (const QString &dirname)
since 5.0, port to QDir::canonicalPath, but note that it returns an empty string if filename doesn't exist!
Member KStandardDirs::relativeLocation (const char *type, const QString &absPath) const
since 5.0, write your own loop, for instance:
Class KStringListValidator
since 5.0
Member KTabBar::closeButtonClicked ()
Member KTabBar::closeRequest (int)
Use QTabBar::tabCloseRequested(int) instead.
Member KTabBar::enableCloseButton ()
Member KTabBar::hoverCloseButton () const
Use QTabBar::tabsClosable() instead.
Member KTabBar::hoverCloseButtonDelayed () const
Use QTabBar::tabsClosable() instead.
Member KTabBar::isCloseButtonEnabled () const
Use QTabBar::tabsClosable() instead.
Member KTabBar::isTabReorderingEnabled () const
Use QTabBar::isMovable() instead.
Member KTabBar::mouseDoubleClick (int)
use tabDoubleClicked(int) and newTabRequest() instead.
Member KTabBar::setCloseButtonEnabled (bool)
Use QTabBar::setTabsClosable() instead.
Member KTabBar::setHoverCloseButton (bool)
Use QTabBar::setTabsClosable() instead.
Member KTabBar::setHoverCloseButtonDelayed (bool)
Use QTabBar::setTabsClosable() instead.
Member KTabBar::setTabCloseActivatePrevious (bool)
Use QTabBar::setSelectionBehaviorOnRemove() instead.
Member KTabBar::setTabReorderingEnabled (bool enable)
Use QTabBar::setMovable() instead.
Member KTabBar::tabCloseActivatePrevious () const
Use QTabBar::selectionBehaviorOnRemove() instead.
Member KTabWidget::currentChanged (int)
This method has no effect and should not be called
Member KTabWidget::hoverCloseButton () const
Use QTabWidget::tabsClosable() instead.
Member KTabWidget::hoverCloseButtonDelayed () const
Use QTabWidget::setTabsClosable() instead.
Member KTabWidget::isCloseButtonEnabled () const
Use QTabWidget::tabsClosable() instead.
Member KTabWidget::isTabBarHidden () const
since 5.0, use tabBar()->isHidden() instead.
Member KTabWidget::isTabReorderingEnabled () const
Use QTabWidget::isMovable() instead.
Member KTabWidget::removePage (QWidget *w)
since 4.0
Member KTabWidget::setCloseButtonEnabled (bool)
Use QTabWidget::setTabsClosable() instead.
Member KTabWidget::setHoverCloseButton (bool enable)
Use QTabWidget::setTabsClosable() instead.
Member KTabWidget::setHoverCloseButtonDelayed (bool delayed)
Use QTabWidget::setTabsClosable() instead.
Member KTabWidget::setTabBarHidden (bool hide)
since 5.0, use tabBar()->hide() instead.
Member KTabWidget::setTabCloseActivatePrevious (bool previous)
Use tabBar()->setSelectionBehaviorOnRemove() instead.
Member KTabWidget::setTabReorderingEnabled (bool enable)
Use QTabWidget::setMovable() instead.
Member KTabWidget::tabCloseActivatePrevious () const
Use tabBar()->selectionBehaviorOnRemove() instead.
Class KTempDir
use QTemporaryDir
Member KTempDir::exists () const
use QTemporaryDir::isValid() + QDir::exists(path) if there's really a doubt that it might have been deleted meanwhile.
Member KTempDir::KTempDir (const QString &directoryPrefix=QString(), int mode=0700)
Use QTemporaryDir() or QTemporaryDir(directoryPrefix). If a specific mode was set, you'll need to use QFile::setPermissions on the temporary dir path.
Member KTempDir::name () const
use QTemporaryDir::path()
Member KTempDir::removeDir (const QString &path)
use QDir(path)::removeRecursively in Qt 5.
Member KTempDir::status () const
use QTemporaryDir::isValid()
Member KTempDir::unlink ()
use QTemporaryDir::remove()
Class KTemporaryFile
use QTemporaryFile
Class KTextBrowser
since 5.0, use QTextBrowser instead
Class KUrl
since 5.0; use QUrl directly
Member KUrl::addPath (const QString &txt)
since 5.0, use u.setPath(u.path() + '/' + txt). If the path might already have a trailing slash, use u = u.adjusted(QUrl::StripTrailingSlash) first.
Member KUrl::addQueryItem (const QString &_item, const QString &_value)
since 5.0, use QUrlQuery(url), then addQueryItem(), then QUrl::setQuery()
Member KUrl::adjustPath (AdjustPathOption trailing)
For RemoveTrailingSlash, use url = url.adjusted(QUrl::StripTrailingSlash) (remember to add the assignment!). For AppendTrailingSlash, use: if (!url.path().endsWith('/')) url.setPath(url.path() + '/').
Member KUrl::cleanPath (const CleanPathOption &options=SimplifyDirSeparators)
since 5.0, use url.setPath(QDir::cleanPath(url.path())) in file-management code. No replacement available yet for the old HTTP issue mentionned above.
Member KUrl::cmp (const KUrl &u, bool ignore_trailing=false) const
since 4.0, use equals() instead.
Member KUrl::directory (const DirectoryOptions &options=IgnoreTrailingSlash) const
since 5.0, use url.adjusted(QUrl::RemoveFilename).path(), which behaves like ObeyTrailingSlash though. To get rid of the trailing slash if there could be one, use adjusted(QUrl::StripTrailingSlash) first. Do not combine the two calls! You want to remove the trailing slash first, and then remove the filename.
Member KUrl::encodedHtmlRef () const
since 5.0, use QUrl::fragment(QUrl::FullyEncoded)
Member KUrl::encodedPathAndQuery (AdjustPathOption trailing=LeaveTrailingSlash, const EncodedPathAndQueryOptions &options=PermitEmptyPath) const
since 5.0, use QUrl::path() and QUrl::query(); QUrl::adjusted() can be used to remove a trailing slash if necessary.
Member KUrl::equals (const KUrl &u, const EqualsOptions &options={}) const
since 5.0, use matches(u, formattingOptions) equals(u, KUrl::CompareWithoutTrailingSlash) becomes matches(u, QUrl::StripTrailingSlash) equals(u, KUrl::CompareWithoutFragment) becomes matches(u, QUrl::RemoveFragment) equals(u, KUrl::CompareWithoutTrailingSlash|KUrl::AllowEmptyPath) needs manual handling (it was mostly unused).
Member KUrl::fileName (const DirectoryOptions &options=IgnoreTrailingSlash) const
since 5.0, use url.fileName(), which behaves like ObeyTrailingSlash though. To get rid of the trailing slash if there could be one, use adjusted(QUrl::StripTrailingSlash) first.
Member KUrl::fromPath (const QString &text)
since 5.0, use QUrl::fromLocalFile
Member KUrl::fromPathOrUrl (const QString &text)
since 4.0, use QUrl() instead
Member KUrl::hasHost () const
since 5.0, use QUrl::host() and QString::isEmpty() instead
Member KUrl::hasHTMLRef () const
since 5.0, use QUrl::hasFragment()
Member KUrl::hasPass () const
since 5.0, use QUrl::password() and QString::isEmpty() instead
Member KUrl::hasPath () const
since 5.0, use QUrl::path() and QString::isEmpty()
Member KUrl::hasRef () const
since 5.0, use QUrl::hasFragment()
Member KUrl::hasUser () const
since 5.0, use QUrl::userName() and QString::isEmpty() instead
Member KUrl::htmlRef () const
since 5.0, use QUrl::fragment(QUrl::FullyDecoded)
Member KUrl::isParentOf (const KUrl &child) const
since 5.0. url.isParentOf(child) is now url.isParentOf(child) || url.matches(child, QUrl::StripTrailingSlash);
Member KUrl::isRelativeUrl (const QString &_url)
since 5.0, use QUrl(_url)::isRelative instead
Member KUrl::KUrl (const QString &urlOrPath)
since 5.0, use QUrl(str) if it's a URL, QUrl::fromLocalFile(str) if it's a local path, and QUrl::fromUserInput() if it could be either.
Member KUrl::KUrl (const char *urlOrPath)
since 5.0, use QUrl(str) if it's a URL, QUrl::fromLocalFile(str) if it's a local path, and QUrl::fromUserInput() if it could be either.
Member KUrl::KUrl (const QByteArray &urlOrPath)
since 5.0, use QUrl(str) if it's a URL, QUrl::fromLocalFile(str) if it's a local path, and QUrl::fromUserInput() if it could be either.
Member KUrl::KUrl (const KUrl &_baseurl, const QString &_rel_url)
since 5.0, use QUrl(_baseurl).resolved(QUrl(_rel_url))
Member KUrl::List::canDecode (const QMimeData *mimeData)
since 5.0, use QMimeData::hasUrls
Member KUrl::List::DecodeOptions
since 5.0, use KUrlMimeData
Member KUrl::List::fromMimeData (const QMimeData *mimeData, DecodeOptions decodeOptions=PreferKdeUrls, KUrl::MetaDataMap *metaData=nullptr)
since 5.0, use KUrlMimeData::urlsFromMimeData
Member KUrl::List::mimeDataTypes ()
since 5.0, use KUrlMimeData::mimeDataTypes
Member KUrl::List::populateMimeData (const KUrl::List &mostLocalUrls, QMimeData *mimeData, const KUrl::MetaDataMap &metaData=MetaDataMap(), MimeDataFlags flags=DefaultMimeDataFlags) const
since 5.0, use KUrlMimeData::setUrls, followed by KUrlMimeData::setMetaData if you have metadata.
Member KUrl::List::populateMimeData (QMimeData *mimeData, const KUrl::MetaDataMap &metaData=MetaDataMap(), MimeDataFlags flags=DefaultMimeDataFlags) const
since 5.0, use QMimeData::setUrls, followed by KUrlMimeData::setMetaData if you have metadata.
Member KUrl::pass () const
since 5.0, use QUrl::password() instead
Member KUrl::path (AdjustPathOption trailing=LeaveTrailingSlash) const
since 5.0, use OUrl::toLocalFile() for local file urls and QUrl::path() for all other cases. You may use QUrl::isLocalFile() to decide which method to choose. If RemoveTrailingSlash was used, use url.adjusted(QUrl::StripTrailingSlash).path().
Member KUrl::pathOrUrl (AdjustPathOption trailing=LeaveTrailingSlash) const
since 5.0, use QUrl::toDisplayString(QUrl::PreferLocalFile | ...) instead.
Member KUrl::populateMimeData (QMimeData *mimeData, const MetaDataMap &metaData=MetaDataMap(), MimeDataFlags flags=DefaultMimeDataFlags) const
since 5.0, use QMimeData::setUrls(QList<QUrl>() << url), followed by KUrlMimeData::setMetaData if you have metadata.
Member KUrl::prettyUrl (AdjustPathOption trailing=LeaveTrailingSlash) const
since 5.0, use QUrl::toDisplayString() instead.
Member KUrl::protocol () const
since 5.0, use QUrl::scheme() instead
Member KUrl::query () const
since 5.0, use QByteArray QUrl::query(), but note that it doesn't start with '?' (QUrl::hasQuery() can be used to distinguish between no query and an empty query).
Member KUrl::queryItem (const QString &item) const
since 5.0, use QUrlQuery(url).queryItemValue(item)
Member KUrl::queryItems (const QueryItemsOptions &options={}) const
since 5.0, use QUrlQuery(url).queryItems()
Member KUrl::ref () const
since 5.0, use QUrl::fragment(QUrl::FullyEncoded)
Member KUrl::relativePath (const QString &base_dir, const QString &path, bool *isParent=nullptr)
since 5.0, use QDir(base_dir).relativeFilePath(path). isParent can be replaced with a call to startsWith("..") on the result value.
Member KUrl::relativeUrl (const KUrl &base_url, const KUrl &url)
since 5.0, check that the URLs have the same scheme+host+port+user+pass, then make the path relative with QDir(base_url.path()).relativeFilePath(url.path())
Member KUrl::setEncodedPathAndQuery (const QString &_txt)
since 5.0, use QUrl::setPath() and QUrl::fromPercentEncoding() to set the encoded path; use QUrl::setQuery() with an appropriate QUrl::ParsingMode value to set the query.
Member KUrl::setFileName (const QString &_txt)
since 5.0, use u = u.adjusted(QUrl::RemoveFilename); followed by u.setPath(u.path() + txt);
Member KUrl::setHTMLRef (const QString &ref)
since 5.0, use QUrl::setFragment(ref, QUrl::DecodedMode)
Member KUrl::setPass (const QString &pass)
since 5.0, use QUrl::setPassword() instead
Member KUrl::setPath (const QString &path)
since 5.0, use QUrl::fromLocalFile instead, for the case of local paths. Do not port to QUrl u; u.setPath(...); since that would lead to a URL without a scheme!
Member KUrl::setProtocol (const QString &proto)
since 5.0, use QUrl::setScheme() instead
Member KUrl::setQuery (const QString &query)
since 5.0, use QUrl::setQuery(QString), but note that it doesn't start with '?' (it uses null vs empty, instead).
Member KUrl::setRef (const QString &fragment)
since 5.0, use QUrl::setFragment()
Member KUrl::setUser (const QString &user)
since 5.0, use QUrl::setUserName() instead
Member KUrl::toLocalFile (AdjustPathOption trailing=LeaveTrailingSlash) const
since 5.0, use QUrl::toLocalFile() instead; if RemoveTrailingSlash was used, use url.adjusted(QUrl::StripTrailingSlash).toLocalFile()
Member KUrl::toMimeDataString () const
since 5.0, use QMimeData::setUrls directly, or KUrlMimeData::setUrls
Member KUrl::upUrl () const
since 5.0, use KIO::upUrl() instead, from kio/global.h
Member KUrl::url (AdjustPathOption trailing=LeaveTrailingSlash) const
since 5.0, use QUrl::toString() instead. In case of RemoveTrailingSlash, call adjusted(QUrl::StripTrailingSlash) first. AddTrailingSlash is not available directly, test if path ends with '/', and if not setPath(path() + '/').
Member KUrl::user () const
since 5.0, use QUrl::userName() instead
Member KXErrorHandler::KXErrorHandler (bool(*handler)(int request, int error_code, unsigned long resource_id), Display *dpy=display())
Use the variant with XErrorEvent.
Class PredicateProperties
use Nepomuk::Types::Property instead
Member QTest::kWaitForSignal (QObject *obj, const char *signal, int timeout=0)
since 5.0, use QSignalSpy::wait(timeout)
Namespace Solid::Networking
since 5.0, use QNetworkConfiguration instead
Member urlcmp
since 4.5, use QUrl(_url1).adjusted(options) == QUrl(_url2).adjusted(options) instead.
Member urlcmp
since 4.5, use QUrl(_url1) == QUrl(_url2) instead.
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sun Oct 1 2023 03:56:33 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.