1
1
/***************************************************************************
2
* Copyright (C) 2003 by S�bastien Lao�t *
3
* sebastien.laout@tuxfamily.org *
2
* Copyright (C) 2003 by S�astien Laot *
5
5
* This program is free software; you can redistribute it and/or modify *
6
6
* it under the terms of the GNU General Public License as published by *
25
#include "aboutdata.h"
26
class ContainerSystemTray;
29
class BackgroundManager;
27
32
class KGlobalAccel;
28
class ClickCursorFeedback;
31
/** Handle all global variables of the BasKet project.
36
/** Handle all global variables of the application.
32
37
* This file only declare classes : developer should include
33
38
* the .h files of variables he use.
34
* @author S�bastien Lao�t
39
* @author S�astien Laot
44
static QString s_customSavesFolder;
39
static DebugWindow *debugWindow;
40
static Container *mainContainer;
41
static ContainerSystemTray *tray;
42
static KGlobalAccel *globalAccel;
43
static ClickCursorFeedback *clickCursorFeedback;
45
static QString basketsFolder(); // Return e.g. "/home/username/.kde/share/apps/basket/"
47
static LikeBack *likeBack;
48
static DebugWindow *debugWindow;
49
static BackgroundManager *backgroundManager;
50
static SystemTray *systemTray;
51
static BNPView *bnpView;
52
static KGlobalAccel *globalAccel;
53
static KConfig *basketConfig;
54
static AboutData basketAbout;
56
// Application Folders:
57
static void setCustomSavesFolder(const QString &folder);
58
static QString savesFolder(); /// << @return e.g. "/home/username/.kde/share/apps/basket/".
59
static QString basketsFolder(); /// << @return e.g. "/home/username/.kde/share/apps/basket/baskets/".
60
static QString backgroundsFolder(); /// << @return e.g. "/home/username/.kde/share/apps/basket/backgrounds/".
61
static QString templatesFolder(); /// << @return e.g. "/home/username/.kde/share/apps/basket/templates/".
62
static QString tempCutFolder(); /// << @return e.g. "/home/username/.kde/share/apps/basket/temp-cut/". (was ".tmp/")
65
static QString openNoteIcon(); /// << @return the icon used for the "Open" action on notes.
66
static KMainWindow* mainWindow();
67
static KConfig* config();
68
static KAboutData* about() { return &basketAbout; };