includes, include guards and typos fixed
svn path=/trunk/KDE/kdebase/workspace/; revision=705066
This commit is contained in:
parent
ae4bc5c53d
commit
b494cddaa9
8 changed files with 28 additions and 14 deletions
|
@ -1,3 +1,6 @@
|
||||||
|
#ifndef __BTNHIGHCOLOR_H
|
||||||
|
#define __BTNHIGHCOLOR_H
|
||||||
|
|
||||||
/* XPM */
|
/* XPM */
|
||||||
static const char * btnhighcolor_xpm[] = {
|
static const char * btnhighcolor_xpm[] = {
|
||||||
"14 15 75 1",
|
"14 15 75 1",
|
||||||
|
@ -91,3 +94,5 @@ static const char * btnhighcolor_xpm[] = {
|
||||||
" .GcHAAAAF0<. ",
|
" .GcHAAAAF0<. ",
|
||||||
" ..I5kk5I.. ",
|
" ..I5kk5I.. ",
|
||||||
" J..... "};
|
" J..... "};
|
||||||
|
|
||||||
|
#endif // __BTNHIGHCOLOR_H
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
#ifndef __BUTTONDATA_H
|
||||||
|
#define __BUTTONDATA_H
|
||||||
|
|
||||||
/* Image bits processed by KPixmap2Bitmaps */
|
/* Image bits processed by KPixmap2Bitmaps */
|
||||||
|
|
||||||
#define lowcolor_mask_width 14
|
#define lowcolor_mask_width 14
|
||||||
|
@ -40,3 +43,4 @@ static const unsigned char lowcolor_e6e6e6_bits[] = {
|
||||||
0x00,0x40,0x80,0x00,0x00,0x00,0x39,0x00,0x00,0x00,0x08,0x19,0x0d,0x08,0x00,
|
0x00,0x40,0x80,0x00,0x00,0x00,0x39,0x00,0x00,0x00,0x08,0x19,0x0d,0x08,0x00,
|
||||||
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00 };
|
0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x00,0x00,0x00,0x01,0x00,0x00,0x00 };
|
||||||
|
|
||||||
|
#endif // __BUTTONDATA_H
|
||||||
|
|
|
@ -1,11 +1,10 @@
|
||||||
#ifndef __MODSYSTEMCLIENT_H
|
#ifndef __MODERNSYS_H
|
||||||
#define __MODSYSTEMCLIENT_H
|
#define __MODERNSYS_H
|
||||||
|
|
||||||
#include <QBitmap>
|
#include <QBitmap>
|
||||||
#include <kcommondecoration.h>
|
#include <kcommondecoration.h>
|
||||||
#include <kdecorationfactory.h>
|
#include <kdecorationfactory.h>
|
||||||
|
|
||||||
|
|
||||||
namespace ModernSystem {
|
namespace ModernSystem {
|
||||||
|
|
||||||
class ModernSys;
|
class ModernSys;
|
||||||
|
@ -68,4 +67,4 @@ private:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif
|
#endif // __MODERNSYS_H
|
||||||
|
|
|
@ -8,8 +8,8 @@ You can Freely distribute this program under the GNU General Public
|
||||||
License. See the file "COPYING" for the exact licensing terms.
|
License. See the file "COPYING" for the exact licensing terms.
|
||||||
******************************************************************/
|
******************************************************************/
|
||||||
|
|
||||||
#ifndef KWIN_VIDEO_H
|
#ifndef KWIN_VIDEORECORD_H
|
||||||
#define KWIN_VIDEO_H
|
#define KWIN_VIDEORECORD_H
|
||||||
|
|
||||||
#include <kwineffects.h>
|
#include <kwineffects.h>
|
||||||
|
|
||||||
|
@ -40,4 +40,4 @@ class VideoRecordEffect
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
#endif
|
#endif // KWIN_VIDEORECORD_H
|
||||||
|
|
|
@ -1073,7 +1073,7 @@ void Client::updateMouseGrab()
|
||||||
if( isActive() && !workspace()->forcedGlobalMouseGrab()) // see Workspace::establishTabBoxGrab()
|
if( isActive() && !workspace()->forcedGlobalMouseGrab()) // see Workspace::establishTabBoxGrab()
|
||||||
{
|
{
|
||||||
// first grab all modifier combinations
|
// first grab all modifier combinations
|
||||||
XGrabButton( display(), AnyButton, AnyModifier, wrapperId(), FALSE,
|
XGrabButton( display(), AnyButton, AnyModifier, wrapperId(), false,
|
||||||
ButtonPressMask,
|
ButtonPressMask,
|
||||||
GrabModeSync, GrabModeAsync,
|
GrabModeSync, GrabModeAsync,
|
||||||
None, None );
|
None, None );
|
||||||
|
|
|
@ -28,6 +28,9 @@
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef KWINDECORATION_PIXMAPS_H
|
||||||
|
#define KWINDECORATION_PIXMAPS_H
|
||||||
|
|
||||||
// Button icon bitmap data which is hopefully generic enough to be recognized by everyone.
|
// Button icon bitmap data which is hopefully generic enough to be recognized by everyone.
|
||||||
|
|
||||||
// close.xbm:
|
// close.xbm:
|
||||||
|
@ -108,3 +111,5 @@ static unsigned char spacer_bits[] = {
|
||||||
0xac, 0x02, 0x04, 0x02, 0x04, 0x02, 0x04, 0x02, 0x04, 0x02, 0x00, 0x00 };
|
0xac, 0x02, 0x04, 0x02, 0x04, 0x02, 0x04, 0x02, 0x04, 0x02, 0x00, 0x00 };
|
||||||
|
|
||||||
// vim: ts=4
|
// vim: ts=4
|
||||||
|
|
||||||
|
#endif // KWINDECORATION_PIXMAPS_H
|
||||||
|
|
|
@ -19,8 +19,8 @@
|
||||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __KWINDOWCONFIG_H__
|
#ifndef __KKWMWINDOWS_H__
|
||||||
#define __KWINDOWCONFIG_H__
|
#define __KKWMWINDOWS_H__
|
||||||
|
|
||||||
#include <QWidget>
|
#include <QWidget>
|
||||||
#include <kcmodule.h>
|
#include <kcmodule.h>
|
||||||
|
@ -237,4 +237,5 @@ private:
|
||||||
QComboBox* focusStealing;
|
QComboBox* focusStealing;
|
||||||
QCheckBox* hideUtilityWindowsForInactive;
|
QCheckBox* hideUtilityWindowsForInactive;
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
#endif // __KKWMWINDOWS_H__
|
||||||
|
|
|
@ -10,8 +10,8 @@ License. See the file "COPYING" for the exact licensing terms.
|
||||||
|
|
||||||
// TODO MIT or some other license, perhaps move to some lib
|
// TODO MIT or some other license, perhaps move to some lib
|
||||||
|
|
||||||
#ifndef KWIN_LIB_EFFECTS_H
|
#ifndef KWINEFFECTS_H
|
||||||
#define KWIN_LIB_EFFECTS_H
|
#define KWINEFFECTS_H
|
||||||
|
|
||||||
#include <kwinglobals.h>
|
#include <kwinglobals.h>
|
||||||
|
|
||||||
|
@ -652,4 +652,4 @@ float WindowQuad::originalBottom() const
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
#endif
|
#endif // KWINEFFECTS_H
|
||||||
|
|
Loading…
Reference in a new issue