# kdecore Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# Deprecated List

Member KAccel::insertItem (const QString &sLabel, const QString &sAction, const char *psKey, int nIDMenu=0, QPopupMenu *pMenu=0, bool bConfigurable=true) KDE_DEPRECATED
  use insert

Member KAccel::insertItem (const QString &sLabel, const QString &sAction, int key, int nIDMenu=0, QPopupMenu *pMenu=0, bool bConfigurable=true) KDE_DEPRECATED
  use insert

Member KAccel::insertStdItem (KStdAccel::StdAccel id, const QString &descr=QString::null) KDE_DEPRECATED
  use insert

Member KAccel::connectItem (const QString &sAction, const QObject *pObjSlot, const char *psMethodSlot, bool bActivate=true) KDE_DEPRECATED
  use insert

Member KAccel::connectItem (KStdAccel::StdAccel accel, const QObject *pObjSlot, const char *psMethodSlot)
  use insert( accel, pObjSlot, psMethodSlot );

Member KAccel::removeItem (const QString &sAction) KDE_DEPRECATED
  use remove

Member KAccel::setItemEnabled (const QString &sAction, bool bEnable) KDE_DEPRECATED

Member KAccel::changeMenuAccel (QPopupMenu *menu, int id, const QString &action) KDE_DEPRECATED
  see KDE3PORTING.html

Member KAccel::changeMenuAccel (QPopupMenu *menu, int id, KStdAccel::StdAccel accel) KDE_DEPRECATED
  see KDE3PORTING.html

Member KAccel::stringToKey (const QString &) KDE_DEPRECATED

Member KAccel::currentKey (const QString &action) const KDE_DEPRECATED
  Use shortcut().

Member KAccel::findKey (int key) const KDE_DEPRECATED
  Use actions().actionPtr().

Member KApplication::KApplication (int &argc, char **argv, const QCString &rAppName, bool allowStyles=true, bool GUIenabled=true) KDE_DEPRECATED
  do not use it at all, it will make your application crash, use KCmdLineArgs

Member KApplication::invokeHTMLHelp (const QString &aFilename, const QString &aTopic=QString::null) const KDE_DEPRECATED
  Invoke the khelpcenter HTML help viewer from HTML sources. Please use invokeHelp() instead.

Member KApplication::kstyle () const

Member KApplication::keyboardModifiers () KDE_DEPRECATED
  Use keyboardMouseState()
  Since:
    3.1

Member KApplication::mouseState () KDE_DEPRECATED
  Use keyboardMouseState()
  Since:
    3.1

Member KNetwork::KBufferedSocket::reset ()
  Closes the socket.

Member KNetwork::KClientSocketBase::connectToHost (const QString &host, Q_UINT16 port)
  This is a convenience function provided to ease migrating from Qt 3.x's QSocket class.

Member KCmdLineArgs::init (int _argc, char **_argv, const char *_appname, const char *_description, const char *_version, bool noKApp=false) KDE_DEPRECATED
  You should convert any calls to this method to use the one above, by adding in the program name to be used for display purposes. Do not forget to mark it for translation using I18N_NOOP.

Member KCompletion::enableSounds ()

Member KCompletion::disableSounds ()

Member KConfigBackEnd::filename () const
  Use

Member KConfigBase::readPropertyEntry (const QString &pKey, QVariant::Type) const

Member KConfigBase::readPropertyEntry (const char *pKey, QVariant::Type) const

Member KConfigBase::readListEntry (const QString &pKey, QStrList &list, char sep= ',') const

Member KConfigBase::readListEntry (const char *pKey, QStrList &list, char sep= ',') const

Class KConfigGroupSaver
  This class is deprecated and will be removed in KDE 4. KConfigGroup provides similar functionality in a more object oriented way.

Member KDesktopFile::filename () const
  Use

Member KIconLoader::alphaBlending (KIcon::Group group) const

Member KLocale::weekStartsMonday () const KDE_DEPRECATED

Member KLocale::monthName (int i, bool shortName=false) const KDE_DEPRECATED

Member KLocale::monthNamePossessive (int i, bool shortName=false) const KDE_DEPRECATED

Member KLocale::weekDayName (int i, bool shortName=false) const KDE_DEPRECATED
  use calendar()->weekDayName

Member KLocale::setWeekStartsMonday (bool start) KDE_DEPRECATED

Member KLocale::formatMoney (const QString &numStr) const KDE_DEPRECATED
  use formatMoney(double)

Member KLocale::formatNumber (const QString &numStr) const KDE_DEPRECATED
  use formatNumber(double)

Member KLocale::languages () const KDE_DEPRECATED
  Use languageList()

Member KLocale::setCharset (const QString &charset) KDE_DEPRECATED

Member KLocale::charset () const KDE_DEPRECATED

Member NETRootInfo::NETRootInfo (Display *display, Window supportWindow, const char *wmName, unsigned long properties, int screen=-1, bool doActivate=true) KDE_DEPRECATED
  This constructor differs from the above one only in the way it accepts the list of supported properties. The properties argument is equivalent to the first element of the properties array in the above constructor.

Member NETRootInfo::supported () const KDE_DEPRECATED

Member NETRootInfo::restackRequest (Window window, Window above, int detail)
  Since:
    3.2

Member NETRootInfo::changeActiveWindow (Window window)
  Use NETRootInfo2::changeActiveWindow() instead. A Window Manager should subclass NETRootInfo and reimplement this function when it wants to know when a Client made a request to change the active (focused) window. The changeActiveWindow() method in NETRootInfo2 should be used instead.

Class NETStrut
  use NETExtendedStrut

Member NETWinInfo::properties () const KDE_DEPRECATED

Member NETWinInfo::strut () const
  use strutPartial() Returns the strut specified by this client.

Member NETWinInfo::windowType () const KDE_DEPRECATED
  Returns the window type for this client (see the NET base class documentation for a description of the various window types).

Member NETWinInfo::setStrut (NETStrut strut)
  use setExtendedStrut() Set the strut for the application window.

Member KProcess::setExecutable (const QString &proc) KDE_DEPRECATED
  Use operator<< instead.

Member KProcess::getPid () const
  Use pid() instead.

Member KProcIO::fputs (const QString &line, bool AppendNewLine=true)

Member KProcIO::fgets (QString &line, bool autoAck=false)
  use readln. Note that it has an inverted autoAck default, though.

Class KRegExp
  Please use QRegExp instead.

Class KShellProcess

Member KStartupInfo::KStartupInfo (bool clean_on_cantdetect, QObject *parent=0, const char *name=0)

Member KStartupInfoData::setTimestamp (unsigned long time)
  Timestamp is already assigned in KStartupInfoId::initId(). Sets timestamp for the startup notification. The timestamp is expressed as XServer time, and is used to prevent activation of the matching window if user interaction took place after this timestamp. Value -1 means no timestamp set, value 0 means that the window should not be activated.

Member KStartupInfoData::timestamp () const
  Use KStartupInfoId::timestamp(). Return the timestamp for the startup notification, or -1 if no timestamp is set.

Member KStaticDeleter::setObject (type *obj, bool isArray=false)
  See the other setObject variant.

Member KStringHandler::word (const QString &text, uint pos) KDE_DEPRECATED
  use QString::section instead

Member KStringHandler::ljust (const QString &text, uint width) KDE_DEPRECATED
  use QString::leftJustify instead

Member KStringHandler::rjust (const QString &text, uint width) KDE_DEPRECATED
  use QString::rightJustify instead

Member KStringHandler::matchFilename (const QString &filename, const QString &pattern)
  Use

Member KURL::isMalformed () const
  Use !isValid() instead.

Member KURL::cmp (const KURL &u, bool ignore_trailing=false) const KDE_DEPRECATED
  Use equals() instead.

Member KURL::filename (bool _ignore_trailing_slash_in_path=true) const
  change code to call fileName()

Member KURLDrag::KURLDrag (const QStrList &urls, const QMap< QString, QString > &metaData, QWidget *dragSource, const char *name) KDE_DEPRECATED
  Use a KURLDrag constructor with a KURL::List

Member KURLDrag::newDrag (const KURL::List &urls, QWidget *dragSource=0, const char *name=0) KDE_DEPRECATED
  Is equivalent with "new KURLDrag(urls, dragSource, name)".

Member KURLDrag::newDrag (const KURL::List &urls, const QMap< QString, QString > &metaData, QWidget *dragSource=0, const char *name=0) KDE_DEPRECATED
  Is equivalent with "new KURLDrag(urls, metaData, dragSource, name)".

Member KVMAllocator::copy (void *dest, Block *src, int _offset=0, size_t length=0) KDE_DEPRECATED

Member KVMAllocator::copy (Block *dest, void *src, int _offset=0, size_t length=0) KDE_DEPRECATED

Member KXMessages::KXMessages (const char *accept_broadcast=NULL, QWidget *parent=NULL)
  This method is equivalent to the other constructor with obsolete = true.

Member KXMessages::sendMessage (WId w, const char *msg_type, const QString &message)
  This method is equivalent to sendMessage() with obsolete = true.

Member KXMessages::broadcastMessage (const char *msg_type, const QString &message)
  This method is equivalent to broadcastMessage() with obsolete = true.

Member KXMessages::sendMessageX (Display *disp, WId w, const char *msg_type, const QString &message)
  This method is equivalent to sendMessageX() with obsolete = true.

Member KXMessages::broadcastMessageX (Display *disp, const char *msg_type, const QString &message)
  This method is equivalent to broadcastMessageX() with obsolete = true.

Member KNotifyClient::event (const QString &message, const QString &text=QString::null) KDE_DEPRECATED

Member KNotifyClient::event (StandardEvent event, const QString &text=QString::null) KDE_DEPRECATED
  Allows to easily emit standard events.

Member KNotifyClient::userEvent (const QString &text=QString::null, int present=Default, int level=Default, const QString &sound=QString::null, const QString &file=QString::null) KDE_DEPRECATED
  Will fire an event that's not registered.

Member KStdAccel::action (StdAccel id)
  Obsolete. Use name(). Returns a string representation for `accel`.

Member KStdAccel::description (StdAccel id)
  Obsolete. Use desc(). Returns a localized description of `accel`.

Member KStdAccel::key (StdAccel id)
  Obsolete. Use shortcut(). Returns the keybinding for `accel`.

Member KStdAccel::defaultKey (StdAccel id)
  Obsolete. Use shortcutDefault().

Member KStdAccel::isEqual (const QKeyEvent *ev, int keyQt)
  . Use KKey(const QKeyEvent*) == KKey(int).

This file is part of the documentation for kdecore Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:19:14 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003