summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-07-13 12:01:00 +0200
committerDaniel Molkentin <daniel.molkentin@nokia.com>2011-07-13 12:04:05 +0200
commitec7525beafe1dd21a9435e028483ef8b1560f135 (patch)
treeb96647481ac466cf75410ac3d4bb5c20bbaffa9e /src/tools
parent0074b502ec04fdf228137a585a0b1a8b69839188 (diff)
downloadqt-creator-ec7525beafe1dd21a9435e028483ef8b1560f135.tar.gz
Remove last traces of the WelcomeModeTreewidget.
Change-Id: I22ab22c5ed053a3f24ac3f08ca83fa600be98370 Reviewed-on: http://codereview.qt.nokia.com/1579 Reviewed-by: Daniel Molkentin <daniel.molkentin@nokia.com>
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/qtcreatorwidgets/customwidgets.cpp37
-rw-r--r--src/tools/qtcreatorwidgets/customwidgets.h22
2 files changed, 1 insertions, 58 deletions
diff --git a/src/tools/qtcreatorwidgets/customwidgets.cpp b/src/tools/qtcreatorwidgets/customwidgets.cpp
index ac4f2f68f3..c237673d33 100644
--- a/src/tools/qtcreatorwidgets/customwidgets.cpp
+++ b/src/tools/qtcreatorwidgets/customwidgets.cpp
@@ -240,38 +240,6 @@ Wizard_CW::Wizard_CW(QObject *parent) :
{
}
-WelcomePageWidget_CW::WelcomePageWidget_CW(QObject *parent) :
- QObject(parent),
- CustomWidget<Utils::WelcomeModeTreeWidget>
- (QLatin1String("<utils/welcomemodetreewidget.h>"),
- false,
- QLatin1String(groupC),
- QIcon(),
- QLatin1String("Welcome page widget"))
-{
-}
-
-QWidget *WelcomePageWidget_CW::createWidget(QWidget *parent)
-{
- Utils::WelcomeModeTreeWidget *rc = new Utils::WelcomeModeTreeWidget(parent);
- rc->addNewsItem(QLatin1String("Breaking news"),
- QLatin1String("Bla bla bla"), QLatin1String("qt.nokia.com"));
- rc->addNewsItem(QLatin1String("Yesterday's breaking news"),
- QLatin1String("Blub blub blub"), QLatin1String("qt.nokia.com"));
- return rc;
-}
-
-WelcomeModeLabel_CW::WelcomeModeLabel_CW(QObject *parent) :
- QObject(parent),
- CustomWidget<Utils::WelcomeModeLabel>
- (QLatin1String("<utils/welcomemodetreewidget.h>"),
- false,
- QLatin1String(groupC),
- QIcon(),
- QLatin1String("Welcome page header label"))
-{
-}
-
CrumblePath_CW::CrumblePath_CW(QObject *parent) :
QObject(parent),
CustomWidget<Utils::CrumblePath>
@@ -281,8 +249,7 @@ CrumblePath_CW::CrumblePath_CW(QObject *parent) :
QIcon(),
QLatin1String("Crumble Path"))
{
-};
-
+}
DetailsWidget_CW::DetailsWidget_CW(QObject *parent) :
QObject(parent),
@@ -410,8 +377,6 @@ WidgetCollection::WidgetCollection(QObject *parent) :
m_plugins.push_back(new StyledBar_CW(this));
m_plugins.push_back(new StyledSeparator_CW(this));
m_plugins.push_back(new Wizard_CW(this));
- m_plugins.push_back(new WelcomePageWidget_CW(this));
- m_plugins.push_back(new WelcomeModeLabel_CW(this));
m_plugins.push_back(new CrumblePath_CW(this));
}
diff --git a/src/tools/qtcreatorwidgets/customwidgets.h b/src/tools/qtcreatorwidgets/customwidgets.h
index 2fbee7448a..44d43b1739 100644
--- a/src/tools/qtcreatorwidgets/customwidgets.h
+++ b/src/tools/qtcreatorwidgets/customwidgets.h
@@ -50,7 +50,6 @@
#include <utils/detailswidget.h>
#include <utils/styledbar.h>
#include <utils/wizard.h>
-#include <utils/welcomemodetreewidget.h>
#include <utils/crumblepath.h>
#include <QtDesigner/QDesignerCustomWidgetCollectionInterface>
@@ -238,27 +237,6 @@ public:
explicit Wizard_CW(QObject *parent = 0);
};
-class WelcomePageWidget_CW :
- public QObject,
- public CustomWidget<Utils::WelcomeModeTreeWidget>
-{
- Q_OBJECT
- Q_INTERFACES(QDesignerCustomWidgetInterface)
-public:
- explicit WelcomePageWidget_CW(QObject *parent = 0);
- virtual QWidget *createWidget(QWidget *parent);
-};
-
-class WelcomeModeLabel_CW :
- public QObject,
- public CustomWidget<Utils::WelcomeModeLabel>
-{
- Q_OBJECT
- Q_INTERFACES(QDesignerCustomWidgetInterface)
-public:
- explicit WelcomeModeLabel_CW(QObject *parent = 0);
-};
-
class CrumblePath_CW :
public QObject,
public CustomWidget<Utils::CrumblePath>