~ubuntu-branches/ubuntu/precise/calligra/precise

« back to all changes in this revision

Viewing changes to plan/kptview.h

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-03-12 14:34:55 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20120312143455-1bmr8gkyhbc2k9jm
Tags: 1:2.3.91-0ubuntu
* New upstream release
* Remove kubuntu_03_cmakelists_update.diff now upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
 
146
146
    QMenu *popupMenu( const QString& name );
147
147
 
148
 
    virtual ViewAdaptor* dbusObject();
149
 
 
150
148
    virtual bool loadContext();
151
149
    virtual void saveContext( QDomElement &context ) const;
152
150
 
157
155
 
158
156
    ScheduleManager *currentScheduleManager() const;
159
157
    long activeScheduleId() const;
160
 
    void setActiveSchedule( long id ) const;
 
158
    void setActiveSchedule( long id );
161
159
 
162
160
    /// Returns the default view information like standard name and tooltip for view type @p type
163
161
    ViewInfo defaultViewInfo( const QString type ) const;
290
288
    void slotOpenReportFile();
291
289
    void slotModifyReportDefinition( KUndo2Command *cmd );
292
290
 
293
 
#ifndef NDEBUG
294
 
    void slotPrintDebug();
295
 
    void slotPrintSelectedDebug();
296
 
    void slotPrintCalendarDebug();
297
 
    void slotPrintTestDebug();
298
 
    void slotToggleDebugInfo();
299
 
#else
300
 
    static void slotPrintDebug() { };
301
 
    static void slotPrintSelectedDebug() { };
302
 
    static void slotPrintCalendarDebug() { };
303
 
    static void slotPrintTestDebug() { };
304
 
    static void slotToggleDebugInfo() { };
305
 
#endif
306
 
 
307
291
protected:
308
292
    virtual void guiActivateEvent( KParts::GUIActivateEvent *event );
309
293
    virtual void updateReadWrite( bool readwrite );
353
337
    void slotRemoveCommands();
354
338
 
355
339
    void hideToolDocker();
 
340
    void initiateViews();
 
341
    void slotViewScheduleManager();
356
342
 
357
343
private:
358
344
    void createViews();
383
369
 
384
370
    QActionGroup *m_scheduleActionGroup;
385
371
    QMap<QAction*, Schedule*> m_scheduleActions;
 
372
    // if multiple changes occure, only issue the last change
 
373
    bool m_trigged;
 
374
    ScheduleManager *m_nextScheduleManager;
386
375
 
387
376
    QMultiMap<ScheduleManager*, CalculateScheduleCmd*> m_calculationcommands;
388
377
    QList<KUndo2Command*> m_undocommands;