~ubuntu-branches/ubuntu/vivid/kdesdk/vivid

« back to all changes in this revision

Viewing changes to okteta/libs/kasten/gui/shell/shellwindow_p.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-06-06 11:49:54 UTC
  • mfrom: (0.4.21)
  • Revision ID: package-import@ubuntu.com-20120606114954-rdls73fzlpzxglbx
Tags: 4:4.8.80-0ubuntu1
* New uptream beta release
* Update dont_export_private_classes.diff

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
    This file is part of the Kasten Framework, made within the KDE community.
3
3
 
4
 
    Copyright 2007-2008,2011 Friedrich W. H. Kossebau <kossebau@kde.org>
 
4
    Copyright 2007-2008,2011-2012 Friedrich W. H. Kossebau <kossebau@kde.org>
5
5
 
6
6
    This library is free software; you can redistribute it and/or
7
7
    modify it under the terms of the GNU Lesser General Public
25
25
 
26
26
// lib
27
27
#include "shellwindow.h"
28
 
// Kasten core
29
 
#include <abstractdocument.h>
 
28
// Okteta core
 
29
#include <kastencore.h>
30
30
// Qt
31
31
#include <QtCore/QList>
32
32
 
33
33
 
34
 
namespace Kasten1
 
34
namespace Kasten2
35
35
{
 
36
class AbstractModelSynchronizer;
 
37
class AbstractDocument;
36
38
class AbstractTool;
37
39
 
38
40
 
58
60
 
59
61
  private: // Q_SLOTS
60
62
    void onTitleChanged( const QString& newTitle );
61
 
    void onLocalSyncStateChanged( Kasten1::LocalSyncState newState );
62
 
    void onViewFocusChanged( Kasten1::AbstractView* view );
 
63
    void onContentFlagsChanged( Kasten2::ContentFlags contentFlags );
 
64
    void onLocalSyncStateChanged( Kasten2::LocalSyncState newState );
 
65
    void onViewFocusChanged( Kasten2::AbstractView* view );
63
66
    void onToolVisibilityChanged( bool isVisible );
 
67
    void onSynchronizerDeleted( QObject* synchronizer );
64
68
 
65
69
  protected:
66
70
    Q_DECLARE_PUBLIC( ShellWindow )
72
76
    // hack:
73
77
    // used to store a pointer to the current, so we can disconnect to its signals... well, not perfect
74
78
    AbstractView* mCurrentView;
 
79
    AbstractDocument* mCurrentDocument;
 
80
    AbstractModelSynchronizer* mCurrentSynchronizer;
75
81
 
76
82
    ViewManager* mViewManager;
77
83
    QList<AbstractXmlGuiController*> mControllers;