diff --git a/sqlitebrowser/sqlitebrowser/extendedmainform.cpp b/sqlitebrowser/sqlitebrowser/extendedmainform.cpp index 82d6ba9d..a6545ec5 100644 --- a/sqlitebrowser/sqlitebrowser/extendedmainform.cpp +++ b/sqlitebrowser/sqlitebrowser/extendedmainform.cpp @@ -1,9 +1,17 @@ +//--------------------------------------------------------------- +// ExtendedMainForm: This class extends the mainForm class +// to support drag and drop of sql file. +// +// Developer: Arvind Kumar Gupta +// arvind.your@gmail.com +//--------------------------------------------------------------- + #include "extendedmainform.h" #include ExtendedMainForm::ExtendedMainForm(QWidget* parent, const char* name, Qt::WindowFlags fl) : mainForm( parent, name, fl ) { - setAcceptDrops(true); + setAcceptDrops(true); // Enable the drop feature on this form } ExtendedMainForm::~ExtendedMainForm(void) diff --git a/sqlitebrowser/sqlitebrowser/extendedmainform.h b/sqlitebrowser/sqlitebrowser/extendedmainform.h index 232f721c..d3c9e4b2 100644 --- a/sqlitebrowser/sqlitebrowser/extendedmainform.h +++ b/sqlitebrowser/sqlitebrowser/extendedmainform.h @@ -1,3 +1,11 @@ +//--------------------------------------------------------------- +// ExtendedMainForm: This class extends the mainForm class +// to support drag and drop of sql file. +// +// Developer: Arvind Kumar Gupta +// arvind.your@gmail.com +//--------------------------------------------------------------- + #ifndef __EXTENDEDMAINFORM__ #define __EXTENDEDMAINFORM__