diff qt/d2/qt/core/QModelIndex.d @ 295:463563fc9e17 signals

more of QList. const functions in C++ are now const in D too. Drop of the store result feature, which was incompatible with const functions and introduced too much of the bloat in the generator.
author eldar
date Sun, 22 Nov 2009 11:01:19 +0000
parents f9559a957be9
children
line wrap: on
line diff
--- a/qt/d2/qt/core/QModelIndex.d	Fri Nov 13 20:42:51 2009 +0000
+++ b/qt/d2/qt/core/QModelIndex.d	Sun Nov 22 11:01:19 2009 +0000
@@ -5,7 +5,7 @@
 
 // automatic imports-------------
 //private import qt.core.QVariant;
-//private import qt.core.QAbstractItemModel;
+private import qt.core.QAbstractItemModel;
 public import qt.core.Qt;
 
 
@@ -51,7 +51,7 @@
     public final bool isValid() const {
         return __qtd_QModelIndex_isValid(cast(void*)&this);
     }
-/*
+    
     public final QAbstractItemModel model() {
 //        void* __qt_return_value = __qtd_QModelIndex_model(&this);
         void* __qt_return_value = m;
@@ -60,7 +60,7 @@
         void* d_obj = qtd_get_d_qobject(__qt_return_value);
         return cast(QAbstractItemModel) d_obj;
     }
-*/
+
     private final bool operator_less(QModelIndex other) {
         return __qtd_QModelIndex_operator_less_QModelIndex(&this, other);
     }
@@ -80,6 +80,17 @@
     public final QModelIndex sibling(int row, int column) {
         return __qtd_QModelIndex_sibling_int_int(&this, row, column);
     }
+    
+    public alias void __isNativeValueType;
+
+    struct QTypeInfo
+    {
+        enum bool isComplex = true;
+        enum bool isStatic = false;
+        enum bool isLarge = true;
+        enum bool isPointer = false;
+        enum bool isDummy = false;
+    }
 
 private:
     int r;
@@ -114,8 +125,4 @@
 private extern(C) QModelIndex  __qtd_QModelIndex_sibling_int_int(void* __this_nativeId,
  int row0,
  int column1);
-// Just the private functions for abstract functions implemeneted in superclasses
-
-
-
-// Virtual Dispatch functions
+ 
\ No newline at end of file