1 /***************************************************************************
2 * Copyright (C) 2003 by S�astien Laot *
5 * This program is free software; you can redistribute it and/or modify *
6 * it under the terms of the GNU General Public License as published by *
7 * the Free Software Foundation; either version 2 of the License, or *
8 * (at your option) any later version. *
10 * This program is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13 * GNU General Public License for more details. *
15 * You should have received a copy of the GNU General Public License *
16 * along with this program; if not, write to the *
17 * Free Software Foundation, Inc., *
18 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19 ***************************************************************************/
25 #include "aboutdata.h"
29 class BackgroundManager
;
36 /** Handle all global variables of the application.
37 * This file only declare classes : developer should include
38 * the .h files of variables he use.
39 * @author S�astien Laot
44 static QString s_customSavesFolder
;
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
; };