Wt: Deprecated List

Wt 3.3.0

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes

Deprecated List

Group ext
  Use native widgets instead.
Member WMessage
  use WString instead.
Member Wt::WAbstractArea::ref () const
  Use link() instead.
Member Wt::WAbstractArea::resource () const
  Use link() instead.
Member Wt::WAbstractArea::setRef (const std::string &ref)
  Use setLink() instead.
Member Wt::WAbstractArea::setResource (WResource *resource)
  Use setLink() instead.
Member Wt::WAbstractItemView::column1Fixed () const
  Use rowHeaderCount() instead.
Member Wt::WAbstractItemView::headerAlignment (int column) const
  use horizontalHeaderAlignment() instead.
Member Wt::WAbstractItemView::setColumn1Fixed (bool enable)
  Use setRowHeaderCount() instead.
Member Wt::WAbstractItemView::setHeaderHeight (const WLength &height, bool multiLine)
  use setHeaderHeight(), setHeaderAlignment() and setHeaderWordWrap() instead.
Member Wt::WAnchor::ref () const
  Use link() instead.
Member Wt::WAnchor::resource () const
  Use link() instead.
Member Wt::WAnchor::setRef (const std::string &url)
  Use setLink() instead.
Member Wt::WAnchor::setRefInternalPath (const std::string &path)
  Use setLink() instead.
Member Wt::WAnchor::setResource (WResource *resource)
  Use setLink() instead.
Member Wt::WApplication::getUpdateLock ()
  Use the RAII-style UpdateLock(WApplication *) constructor instead.
Member Wt::WApplication::isQuited () const
  hasQuit() is proper English
Member Wt::WApplication::setAjaxMethod (AjaxMethod method)
  this setting is no longer needed.
Member Wt::WApplication::UpdateLock::UpdateLock (const UpdateLock &)
  use UpdateLock(WApplication *) instead of getUpdateLock() which requires this copy.
Member Wt::WCalendar::selected ()
  use activated() instead.
Member Wt::WCalendar::setDayOfWeekLength (int chars)
  use setHorizontalHeaderFormat() instead.
Member Wt::WCalendar::setMultipleSelection (bool multiple)
  use setSelectionMode() instead.
Member Wt::WCalendar::setSingleClickSelect (bool single)
  listen to the clicked() signal if you want to react to a single click, or activated() signal if you want to react to a double click.
Member Wt::WContainerWidget::setLayout (WLayout *layout, WFlags< AlignmentFlag > alignment)
  using setLayout() instead, use spacers or a nested layout to control the overall alignment of the layout contents within the container, and use setMaximumSize() (if needed) to let the layout contents determine the size of the container.
Member Wt::WDialog::caption () const
  Use windowTitle() instead.
Member Wt::WDialog::setCaption (const WString &caption)
  Use setWindowTitle() instead.
Member Wt::WEnvironment::pathInfo () const
  Use internalPath() instead, which is consistent with the internal paths generated by Wt.
Member Wt::WEnvironment::sessionId () const
  Use WApplication::sessionId() instead
Member Wt::WFileUpload::emptyFileName () const
  This method was renamed to empty()
Member Wt::WFileUpload::isUploaded () const
  use canUpload() instead -- canUpload() == !isUploaded(). the name was confusing.
Member Wt::WFont::fixedSize () const
  This method has been renamed to sizeLength()
Member Wt::WGoogleMap::checkResize ()
  the map is resized automatically when necessary
Member Wt::WImage::imageRef () const
  Use imageLink() instead.
Member Wt::WImage::resource () const
  Use setImageLink() instead.
Member Wt::WImage::setImageRef (const std::string &url)
  Use setImageLink() instead.
Member Wt::WImage::setResource (WResource *resource)
  Use setImageLink() instead.
Member Wt::WKeyEvent::altKey () const
  Use modifiers() instead.
Member Wt::WKeyEvent::ctrlKey () const
  Use modifiers() instead.
Member Wt::WKeyEvent::keyCode () const
  The value returned is somewhat browser-specific, and it is therefore recommended to use the key() method instead.
Member Wt::WKeyEvent::metaKey () const
  Use modifiers() instead.
Member Wt::WKeyEvent::shiftKey () const
  Use modifiers() instead.
Member Wt::WLocale::operator std::string () const
  Use name() instead.
Member Wt::WMenu::orientation () const
  this function no longer has any use and will be removed.
Member Wt::WMenu::renderAsList () const
  this function no longer has any use and will be removed.
Member Wt::WMenu::setRenderAsList (bool enable)
  this function no longer has any use and will be removed.
Member Wt::WMenu::WMenu (Orientation orientation, WContainerWidget *parent=0)
  the `orientation` parameter is ignored, since menus are now always rendered using <ul> elements, and CSS will determine the orientation. Use WMenu(WContainerWidget *) instead.
Member Wt::WMenu::WMenu (WStackedWidget *contentsStack, Orientation orientation, WContainerWidget *parent=0)
  the `orientation` parameter is ignored, since menus are now always rendered using <ul> elements, and CSS will determine the orientation. Use WMenu(WStackedWidget *contentsStack, WContainerWidget *) instead.
Member Wt::WMenuItem::itemWidget ()
  This is a pre-Wt 3.3.0 artifact which has lost its value since WMenuItem is now a widget.
Member Wt::WMenuItem::setSubMenu (WMenu *menu)
  use setMenu() instead
Member Wt::WMouseEvent::altKey () const
  Use modifiers() instead.
Member Wt::WMouseEvent::ctrlKey () const
  Use modifiers() instead.
Member Wt::WMouseEvent::metaKey () const
  Use modifiers() instead.
Member Wt::WMouseEvent::shiftKey () const
  Use modifiers() instead.
Member Wt::WPushButton::ref () const
  Use link() instead.
Member Wt::WPushButton::resource () const
  Use link() instead.
Member Wt::WPushButton::setRef (const std::string &url)
  Use setLink() insteadd.
Member Wt::WPushButton::setResource (WResource *resource)
  Use setLink() instead.
Member Wt::WStandardItem::internalPath () const
  Use link() instead.
Member Wt::WStandardItem::setInternalPath (const std::string &internalpath)
  Use setLink() instead.
Member Wt::WStandardItem::setUrl (const std::string &url)
  Use setLink() instead.
Member Wt::WStandardItem::url () const
  Use link() instead.
Member Wt::WSuggestionPopup::setGlobalPopup (bool global)
  this option is now ignored, since the popup is automatically positioned to behave properly.
Member Wt::WTemplateFormView::updateModelField (WFormModel *model, WFormModel::Field field)
  Reimplement updateModelValue() instead.
Member Wt::WTreeNode::imagePack () const
  This method returns "" since Wt 3.1.1, as the image pack is no longer used in favour of the CSS themes.
Member Wt::WTreeNode::setImagePack (const std::string &url)
  This method does not do anything since Wt 3.1.1, as the tree is now styled based on the current CSS theme.
Member Wt::WTreeView::columnFormat (int column) const
  use itemDelegateForColumn() to customize the formatting. This method will try to cast the itemDelegateForColumn() to a WItemDelegate and return the format.
Member Wt::WTreeView::setColumnFormat (int column, const WString &format)
  use itemDelegateForColumn() to customize the formatting. This method will create a new WItemDelegate for the column, and configure its format.
Class Wt::WValidationStatus
  Since Wt 3.1.1, validation is handled directly on WFormWidget subclasses.
Member Wt::WWebWidget::escapeText (std::string &text, bool newlinestoo=false)
  use Wt::Utils::htmlEncode() instead.
Member Wt::WWebWidget::escapeText (const WString &text, bool newlinesToo=false)
  use Wt::Utils::htmlEncode() instead.
Member Wt::WWebWidget::removeScript (WString &text)
  use Wt::Utils::removeScript() instead.

All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator