ctkDICOMItemTreeModel.cpp

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Library:   CTK
00004  
00005   Copyright (c) 2010  Kitware Inc.
00006 
00007   Licensed under the Apache License, Version 2.0 (the "License");
00008   you may not use this file except in compliance with the License.
00009   You may obtain a copy of the License at
00010 
00011       http://www.commontk.org/LICENSE
00012 
00013   Unless required by applicable law or agreed to in writing, software
00014   distributed under the License is distributed on an "AS IS" BASIS,
00015   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00016   See the License for the specific language governing permissions and
00017   limitations under the License.
00018  
00019 =========================================================================*/
00020 
00021 // ctkDICOMWidgets includes
00022 #include "ctkDICOMItemTreeModel.h"
00023 
00024 //----------------------------------------------------------------------------
00025 class ctkDICOMItemTreeModelPrivate: public ctkPrivate<ctkDICOMItemTreeModel>
00026 {
00027 public:
00028   ctkDICOMItemTreeModelPrivate(){}
00029 };
00030 
00031 //----------------------------------------------------------------------------
00032 // ctkDICOMItemTreeModelPrivate methods
00033 
00034 
00035 //----------------------------------------------------------------------------
00036 // ctkDICOMItemTreeModel methods
00037 
00038 //----------------------------------------------------------------------------
00039 ctkDICOMItemTreeModel::ctkDICOMItemTreeModel(QObject* _parent):Superclass(_parent)
00040 {
00041   CTK_INIT_PRIVATE(ctkDICOMItemTreeModel);
00042   //CTK_D(ctkDICOMItemTreeModel);
00043 
00044 }
00045 
00046 //----------------------------------------------------------------------------
00047 ctkDICOMItemTreeModel::~ctkDICOMItemTreeModel()
00048 {
00049 }
00050 
00051 //----------------------------------------------------------------------------
00052 QModelIndex ctkDICOMItemTreeModel::index(int row, int column,
00053                             const QModelIndex &parent) const
00054 {
00055   return QModelIndex();
00056 }
00057 
00058 //----------------------------------------------------------------------------
00059 QModelIndex ctkDICOMItemTreeModel::parent(const QModelIndex &child) const
00060 {
00061   return QModelIndex();
00062 }
00063 
00064 //----------------------------------------------------------------------------
00065 Qt::ItemFlags ctkDICOMItemTreeModel::flags(const QModelIndex &index) const
00066 {
00067   return 0;
00068 }
00069 
00070 //----------------------------------------------------------------------------
00071 QVariant ctkDICOMItemTreeModel::data(const QModelIndex &index, int role) const
00072 {
00073   return QVariant();
00074 }
00075 
00076 //----------------------------------------------------------------------------
00077 QVariant ctkDICOMItemTreeModel::headerData(int section, Qt::Orientation orientation,
00078                                                  int role) const
00079 {
00080   return QVariant();
00081 }
00082 
00083 //----------------------------------------------------------------------------
00084 int ctkDICOMItemTreeModel::rowCount(const QModelIndex &parent) const
00085 {
00086   return -1;
00087 }
00088 
00089 //----------------------------------------------------------------------------
00090 int ctkDICOMItemTreeModel::columnCount(const QModelIndex &parent) const
00091 {
00092   return -1;
00093 }
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines