move all ContainmentPrivate impl in own file

This commit is contained in:
Marco Martin 2012-07-17 14:21:45 +02:00
parent 4a747bf164
commit f65d8b2abb
4 changed files with 1132 additions and 1059 deletions

View File

@ -139,6 +139,7 @@ set(plasma_LIB_SRCS
private/windowpreview.cpp private/windowpreview.cpp
private/windowshadows.cpp private/windowshadows.cpp
private/applet_p.cpp private/applet_p.cpp
private/containment_p.cpp
querymatch.cpp querymatch.cpp
remote/accessmanager.cpp remote/accessmanager.cpp

File diff suppressed because it is too large Load Diff

1120
private/containment_p.cpp Normal file

File diff suppressed because it is too large Load Diff

View File

@ -23,6 +23,10 @@
#include <kmenu.h> #include <kmenu.h>
#include "plasma.h"
#include "applet.h"
#include "corona.h"
static const int INTER_CONTAINMENT_MARGIN = 6; static const int INTER_CONTAINMENT_MARGIN = 6;
static const int TOOLBOX_MARGIN = 150; static const int TOOLBOX_MARGIN = 150;
static const int CONTAINMENT_COLUMNS = 2; static const int CONTAINMENT_COLUMNS = 2;
@ -183,6 +187,8 @@ public:
}; };
ContainmentActionsSource containmentActionsSource; ContainmentActionsSource containmentActionsSource;
static QHash<QString, ContainmentActions*> globalActionPlugins; static QHash<QString, ContainmentActions*> globalActionPlugins;
static const char defaultWallpaper[];
static const char defaultWallpaperMode[];
}; };
} // Plasma namespace } // Plasma namespace