~ubuntu-branches/ubuntu/trusty/krusader/trusty

« back to all changes in this revision

Viewing changes to krusader/krglobal.h

  • Committer: Bazaar Package Importer
  • Author(s): Michał Zając
  • Date: 2011-08-08 13:47:36 UTC
  • mfrom: (1.2.19 upstream)
  • Revision ID: james.westby@ubuntu.com-20110808134736-8e630ivgd2c3sgg5
Tags: 1:2.4.0~beta1-0ubuntu1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
#include <kconfiggroup.h>
36
36
#include <kshortcut.h>
 
37
#include <kdebug.h>
37
38
 
38
 
//static QTextOStream krOut(stdout);
39
 
#define krOut kDebug(50010)
 
39
#define krOut kDebug()
40
40
 
41
41
class KConfig;
42
42
class KMountMan;
64
64
    static QWidget *mainWindow;
65
65
    static UserAction *userAction;
66
66
//     static ListPanel  *activePanel;
67
 
    static KrPanel *activePanel;
 
67
    static KrPanel *activePanel();
68
68
 
69
69
    //HACK - used by [ListerTextArea|KrSearchDialog|LocateDlg]:keyPressEvent()
70
70
    static KShortcut copyShortcut;
82
82
#define krMainWindow KrGlobal::mainWindow
83
83
#define krUserAction KrGlobal::userAction
84
84
 
85
 
#define ACTIVE_PANEL (KrGlobal::activePanel)
 
85
#define ACTIVE_PANEL (KrGlobal::activePanel())
86
86
 
87
87
#define ACTIVE_MNG   (MAIN_VIEW->activeManager())
88
88
#define ACTIVE_FUNC  (ACTIVE_PANEL->func)
89
89
#define OTHER_MNG  (MAIN_VIEW->inactiveManager())
90
90
#define OTHER_PANEL (ACTIVE_PANEL->otherPanel())
91
91
#define OTHER_FUNC (OTHER_PANEL->func)
92
 
#define LEFT_PANEL (MAIN_VIEW->left)
 
92
#define LEFT_PANEL (MAIN_VIEW->leftPanel())
93
93
#define LEFT_FUNC  (LEFT_PANEL->func)
94
94
#define LEFT_MNG  (MAIN_VIEW->leftMng)
95
 
#define RIGHT_PANEL  (MAIN_VIEW->right)
 
95
#define RIGHT_PANEL  (MAIN_VIEW->rightPanel())
96
96
#define RIGHT_FUNC (RIGHT_PANEL->func)
97
97
#define RIGHT_MNG  (MAIN_VIEW->rightMng)
98
98