filebrowser/ui/inc/menuaction.h
branchGCC_SURGE
changeset 37 c20154ccf3c0
parent 23 c9bf25a20c9f
child 48 da3ec8478e66
equal deleted inserted replaced
20:ba8a586c45f1 37:c20154ccf3c0
    16 */
    16 */
    17 
    17 
    18 #ifndef MENUACTION_H
    18 #ifndef MENUACTION_H
    19 #define MENUACTION_H
    19 #define MENUACTION_H
    20 
    20 
    21 //#include <QtGui>
       
    22 
       
    23 class HbMenu;
    21 class HbMenu;
    24 class HbAction;
    22 class HbAction;
    25 
    23 
    26 class MenuAction
    24 class OptionMenuActions
    27 {
    25 {
    28 public:
    26 public:
    29     MenuAction() :
    27     OptionMenuActions() :
    30             //NoAction = 0,
       
    31             mFileMenu(0),
    28             mFileMenu(0),
    32             mFileBackMoveUp(0),
    29             mFileBackMoveUp(0),
    33             mFileOpenDrive(0),
    30             mFileOpenDrive(0),
    34             mFileOpenDirectory(0),
    31             mFileOpenDirectory(0),
    35             mFileSearch(0),
    32             mFileSearch(0),
    95             mToolsMessageAttachmentsMenu(0),
    92             mToolsMessageAttachmentsMenu(0),
    96             mToolsMessageInbox(0),
    93             mToolsMessageInbox(0),
    97             mToolsMessageDrafts(0),
    94             mToolsMessageDrafts(0),
    98             mToolsMessageSentItems(0),
    95             mToolsMessageSentItems(0),
    99             mToolsMessageOutbox(0),
    96             mToolsMessageOutbox(0),
   100             //    mLocalConnectivityMenu(0),
    97             mToolsLocalConnectivityMenu(0),
   101             //    mToolsLocalConnectivityActivateInfrared(0),
    98             mToolsLocalConnectivityActivateInfrared(0),
   102             //    mToolsLocalConnectivityLaunchBTUI(0),
    99             mToolsLocalConnectivityLaunchBTUI(0),
   103             //    mToolsLocalConnectivityLaunchUSBUI(0),
   100             mToolsLocalConnectivityLaunchUSBUI(0),
   104             mToolsMemoryInfo(0),
   101             mToolsMemoryInfo(0),
   105             mToolsSecureBackupMenu(0),
   102             mToolsSecureBackupMenu(0),
   106             mToolsSecureBackStart(0),
   103             mToolsSecureBackStart(0),
   107             mToolsSecureBackRestore(0),
   104             mToolsSecureBackRestore(0),
   108             mToolsSecureBackStop(0),
   105             mToolsSecureBackStop(0),
   114             mExit(0)
   111             mExit(0)
   115     {
   112     {
   116 
   113 
   117     }
   114     }
   118 
   115 
   119     ~MenuAction() { }
   116     ~OptionMenuActions() { }
   120 public:
   117 public:
   121     //File menu operations
   118     //File menu operations
   122     //NoAction = 0,
       
   123     HbMenu *mFileMenu;
   119     HbMenu *mFileMenu;
   124     HbAction *mFileBackMoveUp;
   120     HbAction *mFileBackMoveUp;
   125     HbAction *mFileOpenDrive;
   121     HbAction *mFileOpenDrive;
   126     HbAction *mFileOpenDirectory;
   122     HbAction *mFileOpenDirectory;
   127     HbAction *mFileSearch;
   123     HbAction *mFileSearch;
   219     HbAction *mAbout;
   215     HbAction *mAbout;
   220     HbAction *mExit;
   216     HbAction *mExit;
   221 };
   217 };
   222 
   218 
   223 
   219 
       
   220 class ContextMenuActions
       
   221 {
       
   222 public:
       
   223     ContextMenuActions() :
       
   224             mFileMenu(0),
       
   225             mFileBackMoveUp(0),
       
   226             mFileOpenDrive(0),
       
   227             mFileOpenDirectory(0),
       
   228             mFileSearch(0),
       
   229             mFileNewMenu(0),
       
   230             mFileNewFile(0),
       
   231             mFileNewDirectory(0),
       
   232             mFileDelete(0),
       
   233             mFileRename(0),
       
   234             mFileTouch(0),
       
   235             mFileProperties(0),
       
   236             mFileChecksumsMenu(0),
       
   237             mFileChecksumsMD5(0),
       
   238             mFileChecksumsMD2(0),
       
   239             mFileChecksumsSHA1(0),
       
   240             mFileSetAttributes(0),
       
   241             //Edit -
       
   242             mEditMenu(0),
       
   243 //            mEditSnapShotToE(0),
       
   244             mEditCut(0),
       
   245             mEditCopy(0),
       
   246             mEditPaste(0),
       
   247             mEditCopyToFolder(0),
       
   248             mEditMoveToFolder(0),
       
   249 //            mEditSelect(0),
       
   250 //            mEditUnselect(0),
       
   251 //            mEditSelectAll(0),
       
   252 //            mEditUnselectAll(0),
       
   253             // View -
       
   254 //            mViewMenu(0),
       
   255 //            mViewFilterEntries(0),
       
   256 //            mViewRefresh(0),
       
   257             // Disk admin -
       
   258             mDiskAdminMenu(0),
       
   259             mDiskAdminSetDrivePassword(0),
       
   260             mDiskAdminUnlockDrive(0),
       
   261             mDiskAdminClearDrivePassword(0),
       
   262             mDiskAdminEraseDrivePassword(0),
       
   263             mDiskAdminFormatDrive(0),
       
   264             mDiskAdminQuickFormatDrive(0),
       
   265             mDiskAdminCheckDisk(0),
       
   266             mDiskAdminScanDrive(0),
       
   267             mDiskAdminSetDriveName(0),
       
   268             mDiskAdminSetDriveVolumeLabel(0),
       
   269             mDiskAdminEjectDrive(0),
       
   270             mDiskAdminDismountDrive(0),
       
   271             mDiskAdminEraseMBR(0),
       
   272             mDiskAdminPartitionDrive(0)
       
   273             // Tools -
       
   274 //            mToolsMenu(0),
       
   275 //            mToolsAllAppsToTextFile(0),
       
   276 //            mToolsAllFilesToTextFile(0),
       
   277 //            mToolsAvkonIconCacheMenu(0),
       
   278 //            mToolsAvkonIconCacheEnable(0),
       
   279 //            mToolsAvkonIconCacheDisable(0),
       
   280 //            mToolsDisableExtendedErrors(0),
       
   281 //            mToolsDumpMsgStoreWalk(0),
       
   282 //            mToolsEditDataTypes(0),
       
   283 //            mToolsEnableExtendedErrors(0),
       
   284 //            mToolsErrorSimulateMenu(0),
       
   285 //            mToolsErrorSimulateLeave(0),
       
   286 //            mToolsErrorSimulatePanic(0),
       
   287 //            mToolsErrorSimulateException(0),
       
   288 //            mToolsMessageAttachmentsMenu(0),
       
   289 //            mToolsMessageInbox(0),
       
   290 //            mToolsMessageDrafts(0),
       
   291 //            mToolsMessageSentItems(0),
       
   292 //            mToolsMessageOutbox(0),
       
   293 //            //    mLocalConnectivityMenu(0),
       
   294 //            //    mToolsLocalConnectivityActivateInfrared(0),
       
   295 //            //    mToolsLocalConnectivityLaunchBTUI(0),
       
   296 //            //    mToolsLocalConnectivityLaunchUSBUI(0),
       
   297 //            mToolsMemoryInfo(0),
       
   298 //            mToolsSecureBackupMenu(0),
       
   299 //            mToolsSecureBackStart(0),
       
   300 //            mToolsSecureBackRestore(0),
       
   301 //            mToolsSecureBackStop(0),
       
   302 //            mToolsSetDebugMask(0),
       
   303 //            mToolsShowOpenFilesHere(0)
       
   304     {
       
   305 
       
   306     }
       
   307 
       
   308     ~ContextMenuActions() { }
       
   309 public:
       
   310     //File menu operations
       
   311     HbMenu *mFileMenu;
       
   312     HbAction *mFileBackMoveUp;
       
   313     HbAction *mFileOpenDrive;
       
   314     HbAction *mFileOpenDirectory;
       
   315     HbAction *mFileSearch;
       
   316     HbMenu *mFileNewMenu;
       
   317     HbAction *mFileNewFile;
       
   318     HbAction *mFileNewDirectory;
       
   319     HbAction *mFileDelete;
       
   320     HbAction *mFileRename;
       
   321     HbAction *mFileTouch;
       
   322     HbAction *mFileProperties;
       
   323     HbMenu *mFileChecksumsMenu;
       
   324     HbAction *mFileChecksumsMD5;
       
   325     HbAction *mFileChecksumsMD2;
       
   326     HbAction *mFileChecksumsSHA1;
       
   327     HbAction *mFileSetAttributes;
       
   328 
       
   329     //Edit -
       
   330     HbMenu *mEditMenu;
       
   331 //    HbAction *mEditSnapShotToE;
       
   332     HbAction *mEditCut;
       
   333     HbAction *mEditCopy;
       
   334     HbAction *mEditPaste;
       
   335     HbAction *mEditCopyToFolder;
       
   336     HbAction *mEditMoveToFolder;
       
   337 //    HbAction *mEditSelect;
       
   338 //    HbAction *mEditUnselect;
       
   339 //    HbAction *mEditSelectAll;
       
   340 //    HbAction *mEditUnselectAll;
       
   341 //
       
   342 //    // View -
       
   343 //    HbMenu *mViewMenu;
       
   344 //    HbAction *mViewFilterEntries;
       
   345 //    HbAction *mViewRefresh;
       
   346 
       
   347     // Disk admin -
       
   348     HbMenu *mDiskAdminMenu;
       
   349     HbAction *mDiskAdminSetDrivePassword;
       
   350     HbAction *mDiskAdminUnlockDrive;
       
   351     HbAction *mDiskAdminClearDrivePassword;
       
   352     HbAction *mDiskAdminEraseDrivePassword;
       
   353     HbAction *mDiskAdminFormatDrive;
       
   354     HbAction *mDiskAdminQuickFormatDrive;
       
   355     HbAction *mDiskAdminCheckDisk;
       
   356     HbAction *mDiskAdminScanDrive;
       
   357     HbAction *mDiskAdminSetDriveName;
       
   358     HbAction *mDiskAdminSetDriveVolumeLabel;
       
   359     HbAction *mDiskAdminEjectDrive;
       
   360     HbAction *mDiskAdminDismountDrive;
       
   361     HbAction *mDiskAdminEraseMBR;
       
   362     HbAction *mDiskAdminPartitionDrive;
       
   363 //
       
   364 //    // Tools -
       
   365 //    HbMenu *mToolsMenu;
       
   366 //    HbAction *mToolsAllAppsToTextFile;
       
   367 //    HbAction *mToolsAllFilesToTextFile;
       
   368 //
       
   369 //    HbMenu *mToolsAvkonIconCacheMenu;
       
   370 //    HbAction *mToolsAvkonIconCacheEnable;
       
   371 //    HbAction *mToolsAvkonIconCacheDisable;
       
   372 //
       
   373 //    HbAction *mToolsDisableExtendedErrors;
       
   374 //    HbAction *mToolsDumpMsgStoreWalk;
       
   375 //    HbAction *mToolsEditDataTypes;
       
   376 //
       
   377 //    HbAction *mToolsEnableExtendedErrors;
       
   378 //
       
   379 //    HbMenu *mToolsErrorSimulateMenu;
       
   380 //    HbAction *mToolsErrorSimulateLeave;
       
   381 //    HbAction *mToolsErrorSimulatePanic;
       
   382 //    HbAction *mToolsErrorSimulateException;
       
   383 //
       
   384 //    HbMenu *mToolsMessageAttachmentsMenu;
       
   385 //    HbAction *mToolsMessageInbox;
       
   386 //    HbAction *mToolsMessageDrafts;
       
   387 //    HbAction *mToolsMessageSentItems;
       
   388 //    HbAction *mToolsMessageOutbox;
       
   389 //
       
   390 //    HbMenu *mToolsLocalConnectivityMenu;
       
   391 //    HbAction *mToolsLocalConnectivityActivateInfrared;
       
   392 //    HbAction *mToolsLocalConnectivityLaunchBTUI;
       
   393 //    HbAction *mToolsLocalConnectivityLaunchUSBUI;
       
   394 //
       
   395 //    HbAction *mToolsMemoryInfo;
       
   396 //
       
   397 //    HbMenu *mToolsSecureBackupMenu;
       
   398 //    HbAction *mToolsSecureBackStart;
       
   399 //    HbAction *mToolsSecureBackRestore;
       
   400 //    HbAction *mToolsSecureBackStop;
       
   401 //
       
   402 //    HbAction *mToolsSetDebugMask;
       
   403 //    HbAction *mToolsShowOpenFilesHere;
       
   404 };
       
   405 
       
   406 
   224 #endif // MENUACTION_H
   407 #endif // MENUACTION_H