- name the uninstalled headers _p.h
- correct ordering of headers in many files - remove some unneeded headers such as iostream svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=717932
This commit is contained in:
parent
ee2f663398
commit
2e1b4dcda3
@ -17,7 +17,8 @@
|
|||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "appletbrowserwindow.h"
|
#include "appletbrowserwindow_p.h"
|
||||||
|
|
||||||
#include <KAction>
|
#include <KAction>
|
||||||
#include <KStandardAction>
|
#include <KStandardAction>
|
||||||
|
|
||||||
@ -96,4 +97,5 @@ void AppletBrowserWindow::buttonAddClicked() {
|
|||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#include "appletbrowserwindow.moc"
|
|
||||||
|
#include "appletbrowserwindow_p.moc"
|
||||||
|
@ -22,14 +22,14 @@
|
|||||||
|
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
#include <QtCore>
|
#include <QtCore>
|
||||||
#include <iostream>
|
|
||||||
#include "ui_appletbrowserwindowbase.h"
|
#include "ui_appletbrowserwindowbase.h"
|
||||||
|
|
||||||
#include "plasmaappletitemmodel.h"
|
#include "plasmaappletitemmodel_p.h"
|
||||||
#include "kcategorizeditemsview.h"
|
#include "kcategorizeditemsview_p.h"
|
||||||
|
|
||||||
#include "../corona.h"
|
#include "plasma/corona.h"
|
||||||
#include "../containment.h"
|
#include "plasma/containment.h"
|
||||||
|
|
||||||
class AppletBrowserWindow: public QDialog, public Ui::AppletBrowserWindowBase
|
class AppletBrowserWindow: public QDialog, public Ui::AppletBrowserWindowBase
|
||||||
{
|
{
|
@ -56,7 +56,7 @@
|
|||||||
<customwidget>
|
<customwidget>
|
||||||
<class>KCategorizedItemsView</class>
|
<class>KCategorizedItemsView</class>
|
||||||
<extends>QWidget</extends>
|
<extends>QWidget</extends>
|
||||||
<header>appletbrowser/kcategorizeditemsview.h</header>
|
<header>appletbrowser/kcategorizeditemsview_p.h</header>
|
||||||
<container>1</container>
|
<container>1</container>
|
||||||
</customwidget>
|
</customwidget>
|
||||||
</customwidgets>
|
</customwidgets>
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "kcategorizeditemsview.h"
|
#include "kcategorizeditemsview_p.h"
|
||||||
#include "kcategorizeditemsviewdelegate.h"
|
#include "kcategorizeditemsviewdelegate_p.h"
|
||||||
|
|
||||||
#include <KIcon>
|
#include <KIcon>
|
||||||
#include <KDebug>
|
#include <KDebug>
|
||||||
@ -134,5 +134,6 @@ QList < AbstractItem * > KCategorizedItemsView::selectedItems() const {
|
|||||||
}
|
}
|
||||||
return items;
|
return items;
|
||||||
}
|
}
|
||||||
#include "kcategorizeditemsview.moc"
|
|
||||||
|
#include "kcategorizeditemsview_p.moc"
|
||||||
|
|
||||||
|
@ -22,8 +22,8 @@
|
|||||||
|
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
#include <QtCore>
|
#include <QtCore>
|
||||||
#include <iostream>
|
|
||||||
#include "kcategorizeditemsviewmodels.h"
|
#include "kcategorizeditemsviewmodels_p.h"
|
||||||
|
|
||||||
#include "ui_kcategorizeditemsviewbase.h"
|
#include "ui_kcategorizeditemsviewbase.h"
|
||||||
|
|
@ -17,12 +17,16 @@
|
|||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "kcategorizeditemsviewdelegate.h"
|
#include "kcategorizeditemsviewdelegate_p.h"
|
||||||
#include "kcategorizeditemsview.h"
|
|
||||||
#include <KIconLoader>
|
|
||||||
#include <QtCore>
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|
||||||
|
#include <QtCore>
|
||||||
|
|
||||||
|
#include <KIconLoader>
|
||||||
|
|
||||||
|
#include "kcategorizeditemsview_p.h"
|
||||||
|
|
||||||
#define FAV_ICON_SIZE 24
|
#define FAV_ICON_SIZE 24
|
||||||
#define EMBLEM_ICON_SIZE 16
|
#define EMBLEM_ICON_SIZE 16
|
||||||
#define UNIVERSAL_PADDING 6
|
#define UNIVERSAL_PADDING 6
|
||||||
@ -277,5 +281,5 @@ QSize KCategorizedItemsViewFilterDelegate::sizeHint(const QStyleOptionViewItem &
|
|||||||
return size;
|
return size;
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "kcategorizeditemsviewdelegate.moc"
|
#include "kcategorizeditemsviewdelegate_p.moc"
|
||||||
|
|
||||||
|
@ -22,8 +22,10 @@
|
|||||||
|
|
||||||
#include <QtCore>
|
#include <QtCore>
|
||||||
#include <QtGui>
|
#include <QtGui>
|
||||||
|
|
||||||
#include <KIcon>
|
#include <KIcon>
|
||||||
#include "kcategorizeditemsviewmodels.h"
|
|
||||||
|
#include "kcategorizeditemsviewmodels_p.h"
|
||||||
|
|
||||||
class KCategorizedItemsView;
|
class KCategorizedItemsView;
|
||||||
|
|
@ -17,7 +17,7 @@
|
|||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "kcategorizeditemsviewmodels.h"
|
#include "kcategorizeditemsviewmodels_p.h"
|
||||||
|
|
||||||
namespace KCategorizedItemsViewModels {
|
namespace KCategorizedItemsViewModels {
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "plasmaappletitemmodel.h"
|
#include "plasmaappletitemmodel_p.h"
|
||||||
|
|
||||||
PlasmaAppletItem::PlasmaAppletItem(QObject * parent, QString name,
|
PlasmaAppletItem::PlasmaAppletItem(QObject * parent, QString name,
|
||||||
QString pluginName, QString description, QString category, QIcon icon,
|
QString pluginName, QString description, QString category, QIcon icon,
|
||||||
|
@ -20,9 +20,11 @@
|
|||||||
#ifndef PLASMAAPPLETSMODEL_H_
|
#ifndef PLASMAAPPLETSMODEL_H_
|
||||||
#define PLASMAAPPLETSMODEL_H_
|
#define PLASMAAPPLETSMODEL_H_
|
||||||
|
|
||||||
#include <plasma/applet.h>
|
|
||||||
#include <KPluginInfo>
|
#include <KPluginInfo>
|
||||||
#include "kcategorizeditemsview.h"
|
|
||||||
|
#include <plasma/applet.h>
|
||||||
|
|
||||||
|
#include "kcategorizeditemsview_p.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Implementation of the KCategorizedItemsViewModels::AbstractItem
|
* Implementation of the KCategorizedItemsViewModels::AbstractItem
|
Loading…
x
Reference in New Issue
Block a user