main.cpp
changeset 98 58adc2d2ed08
parent 94 6783e13bb05d
child 103 c810a11d11d9
     1.1 --- a/main.cpp	Thu Apr 21 19:14:38 2005 +0000
     1.2 +++ b/main.cpp	Wed May 04 20:35:39 2005 +0000
     1.3 @@ -2,6 +2,7 @@
     1.4  #include <qpixmap.h>
     1.5  #include <qtranslator.h>
     1.6  #include <qdir.h>
     1.7 +#include <qptrlist.h>
     1.8  #include <qtextcodec.h>
     1.9  
    1.10  #include "settings.h"
    1.11 @@ -22,6 +23,10 @@
    1.12  FlagRowObj *systemFlagsDefault;	// used to copy from in LinkableMapObj
    1.13  FlagRowObj *standardFlagsDefault;
    1.14  
    1.15 +// Lists of actions
    1.16 +// (QActionGroup could not be "enabled")
    1.17 +QPtrList <QAction> actionListBranches;
    1.18 +
    1.19  // Actions which change sometimes
    1.20  QAction *actionFileSave;
    1.21  QAction *actionFilePrint;
    1.22 @@ -43,8 +48,11 @@
    1.23  QAction *actionEditHeading;
    1.24  QAction *actionEditDelete;
    1.25  QAction *actionEditAddBranch;
    1.26 +QAction *actionEditAddBranchHere;
    1.27  QAction *actionEditAddBranchAbove;
    1.28  QAction *actionEditAddBranchBelow;
    1.29 +QAction *actionEditRemoveBranchHere;
    1.30 +QAction *actionEditRemoveChilds;
    1.31  QAction *actionEditImportAdd;
    1.32  QAction *actionEditImportReplace;
    1.33  QAction *actionEditSaveBranch;
    1.34 @@ -85,6 +93,8 @@
    1.35  QAction *actionSettingsUseDelKey;
    1.36  
    1.37  QPopupMenu *branchContextMenu;
    1.38 +QPopupMenu *branchAddContextMenu;
    1.39 +QPopupMenu *branchRemoveContextMenu;
    1.40  QPopupMenu *branchLinksContextMenu;
    1.41  QPopupMenu *branchLinksContextMenuDup;
    1.42  QPopupMenu *floatimageContextMenu;