VR-Forces 4.2 Class Documentation
openDatabaseHandler.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2003 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 /*******************************************************************************
6 ** $RCSfile: openDatabaseHandler.h,v $ $Revision: 1.10 $ $State: Exp $
7 *******************************************************************************/
8 
11 
12 #ifndef OPENDATABASEHANDLER_H_
13 #define OPENDATABASEHANDLER_H_
14 
16 #include "tmqt/eventSignaller.h"
17 
18 class QFileDialog;
19 
22 {
23  Q_OBJECT
24 
25 public:
26 
29 
31  virtual ~DtOpenDatabaseHandler();
32 
33 public:
35  static DtEventHandler* create(DtEventController* owner, void* usr);
36 
37 public slots:
40  virtual bool userDefinedAction(DtUserDefinedType iAction, void* usr);
41 
42 protected:
45  virtual QString createFilterList();
46 
48  virtual bool openDatabase(QString dbName);
49 
51  virtual void initFileDialog(QFileDialog* parent);
52 
53  virtual bool completeOpen();
54 
56  virtual bool completeOpen(QString fileName);
57  virtual const char* eventSignalName() { return DtFileOpenDatatabaseWidgetEvent; };
58 };
59 
60 #endif //MAPAREASELECTIONHANDLER_H_
61 
62 

Document ID: Generated on Sun Nov 24 19:49:21 EST 2013 from SVN revision 133924
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)