~ubuntu-branches/ubuntu/quantal/muse/quantal

« back to all changes in this revision

Viewing changes to muse/cobject.h

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2012-07-18 16:07:06 UTC
  • mto: (10.1.11 sid) (1.1.12)
  • mto: This revision was merged to the branch mainline in revision 31.
  • Revision ID: package-import@ubuntu.com-20120718160706-yc6332ishfcq7b7g
ImportĀ upstreamĀ versionĀ 2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
      ToplevelType type() const { return _type; }
63
63
      static QString typeName(ToplevelType t);
64
64
 
 
65
      bool initalizing() const { return _initalizing; }
65
66
      bool deleting() const { return _isDeleting; }
66
67
      
67
68
      virtual void readStatus(MusECore::Xml&);
93
94
      QMdiSubWindow* mdisubwin;
94
95
      bool _sharesToolsAndMenu;
95
96
      std::list<QToolBar*> _toolbars;
 
97
      bool _initalizing;
96
98
 
97
99
      void insertToolBar(QToolBar*, QToolBar*);
98
100
      void insertToolBarBreak(QToolBar*);
124
126
      //  which may cause a crash while deleting.
125
127
      bool _isDeleting;  
126
128
      
 
129
      void finalizeInit();
127
130
      void initTopwinState();
128
131
 
129
132
  private slots:
138
141
      void restoreMainwinState();
139
142
      void storeInitialState() const;
140
143
      virtual void setWindowTitle (const QString&);
141
 
      
 
144
      virtual void focusCanvas() { }
142
145
      };
143
146
 
144
147
 
146
149
//   ToplevelList
147
150
//---------------------------------------------------------
148
151
 
149
 
//typedef std::list <TopWin*> ToplevelList;
150
 
//typedef ToplevelList::iterator iToplevel;
151
 
//typedef ToplevelList::const_iterator ciToplevel;
152
 
 
153
152
typedef std::list<TopWin*>::iterator iToplevel;
154
153
typedef std::list<TopWin*>::const_iterator ciToplevel;
155
154