Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

QGo4BrowserListView.cpp

Go to the documentation of this file.
00001 //-------------------------------------------------------------
00002 //        Go4 Release Package v3.04-01 (build 30401)
00003 //                      28-November-2008
00004 //---------------------------------------------------------------
00005 //   The GSI Online Offline Object Oriented (Go4) Project
00006 //   Experiment Data Processing at EE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 #include "QGo4BrowserListView.h"
00017 
00018 QGo4BrowserListView::QGo4BrowserListView(QWidget* parent, const char* name, WFlags f) :
00019   QListView(parent, name, f)
00020 {
00021 }
00022 
00023 QGo4BrowserListView::~QGo4BrowserListView()
00024 {
00025 }
00026 
00027 QDragObject* QGo4BrowserListView::dragObject()
00028 {
00029    QDragObject* res = 0;
00030    emit RequestDragObject(&res);
00031    return res;
00032 }
00033 
00034 bool QGo4BrowserListView::IsAcceptItemDrop(const QListViewItem* item, const QMimeSource * mime)
00035 {
00036    bool res = false;
00037    emit ItemDropAccept((void*)item, (void*)mime, &res);
00038    return res;
00039 }
00040 
00041 void QGo4BrowserListView::ProcessItemDrop(QListViewItem* item, QDropEvent * e)
00042 {
00043    emit ItemDropProcess((void*)item, (void*)e);
00044 }
00045 
00046 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Fri Nov 28 12:59:20 2008 for Go4-v3.04-1 by  doxygen 1.4.2