VR-Forces 4.0.4 Class Documentation
include/terrainEventHandler/openDatabaseHandler.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002 ** Copyright (c) 2003 MAK Technologies, Inc.
00003 ** All rights reserved.
00004 *******************************************************************************/
00005 /*******************************************************************************
00006 ** $RCSfile: openDatabaseHandler.h,v $ $Revision: 1.10 $ $State: Exp $
00007 *******************************************************************************/
00008 
00011 
00012 #ifndef OPENDATABASEHANDLER_H_
00013 #define OPENDATABASEHANDLER_H_
00014 
00015 #include "tmEventHandler/fileDialogHandler.h"
00016 #include "tmqt/eventSignaller.h"
00017 
00018 class QFileDialog;
00019 
00020 #include "terrainEventHandler/terrainEventHandlerDefines.h"
00021 class DT_DLL_terrainEventHandler DtOpenDatabaseHandler : public DtFileDialogHandler
00022 {
00023    Q_OBJECT
00024    
00025 public:
00026 
00028    DtOpenDatabaseHandler();
00029    
00031    virtual ~DtOpenDatabaseHandler();
00032 
00033 public:
00035    static DtEventHandler* create(DtEventController* owner, void* usr);
00036 
00037 public slots:
00040    virtual bool userDefinedAction(DtUserDefinedType iAction, void* usr);
00041 
00042 protected:
00045    virtual QString createFilterList();
00046 
00048    virtual bool openDatabase(QString dbName);
00049    
00051    virtual void initFileDialog(QFileDialog* parent);
00052 
00053    virtual bool completeOpen();
00054 
00056    virtual bool completeOpen(QString fileName);
00057    virtual const char* eventSignalName() { return DtFileOpenDatatabaseWidgetEvent; };
00058 };
00059 
00060 #endif //MAPAREASELECTIONHANDLER_H_
00061 
00062 

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)