Changeset 1552

Show
Ignore:
Timestamp:
02/06/10 22:44:02 (3 years ago)
Author:
mauser
Message:

removed undo testaction

Location:
branches/undo/gui/src
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/undo/gui/src/MainForm.cpp

    r1550 r1552  
    263263        //~ FILE menu 
    264264 
    265         // UNDO MENU ( just to test undo stuff...) 
     265        // Undo menu 
    266266        QMenu *m_pUndoMenu = m_pMenubar->addMenu( trUtf8( "U&ndo" ) ); 
    267267        m_pUndoMenu->addAction( trUtf8( "Undo" ), this, SLOT( action_undo() ), QKeySequence( "Ctrl+Z" ) ); 
  • branches/undo/gui/src/UndoActions.h

    r1550 r1552  
    1919 
    2020 
    21 //===================================================================================================================================== 
    22 //test commands 
    23 class TestAction : public QUndoCommand 
    24 { 
    25 public: 
    26     TestAction( const QString &text) 
    27         :  m_text(text) { setText("append text"); } 
    28     virtual void undo() 
    29         { qDebug() << "Undo " << m_text; } 
    30     virtual void redo() 
    31         { qDebug() << "Redo " <<  m_text; } 
    32 private: 
    33     QString m_text; 
    34 }; 
    35  
    36 //~test commands 
    3721//===================================================================================================================================== 
    3822//song editor commands