From ceff2321d7b7eaa4608a1baa5de66dbce8733342 Mon Sep 17 00:00:00 2001 From: Toby Tomkins Date: Wed, 21 Jul 2010 18:11:53 +1000 Subject: Minor modification to allow compilation on WinCE and AIX. Removed executable attributes. --- examples/tutorials/modelview/1_readonly/1_readonly.pro | 0 examples/tutorials/modelview/1_readonly/main.cpp | 0 examples/tutorials/modelview/1_readonly/modelview.cpp | 0 examples/tutorials/modelview/1_readonly/modelview.h | 0 examples/tutorials/modelview/1_readonly/mymodel.cpp | 0 examples/tutorials/modelview/1_readonly/mymodel.h | 0 examples/tutorials/modelview/2_formatting/2_formatting.pro | 0 examples/tutorials/modelview/2_formatting/main.cpp | 0 examples/tutorials/modelview/2_formatting/modelview.cpp | 0 examples/tutorials/modelview/2_formatting/modelview.h | 0 examples/tutorials/modelview/2_formatting/mymodel.cpp | 2 +- examples/tutorials/modelview/2_formatting/mymodel.h | 0 examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro | 0 examples/tutorials/modelview/3_changingmodel/main.cpp | 0 examples/tutorials/modelview/3_changingmodel/modelview.cpp | 0 examples/tutorials/modelview/3_changingmodel/modelview.h | 0 examples/tutorials/modelview/3_changingmodel/mymodel.cpp | 0 examples/tutorials/modelview/3_changingmodel/mymodel.h | 0 examples/tutorials/modelview/4_headers/4_headers.pro | 0 examples/tutorials/modelview/4_headers/main.cpp | 0 examples/tutorials/modelview/4_headers/modelview.cpp | 0 examples/tutorials/modelview/4_headers/modelview.h | 0 examples/tutorials/modelview/4_headers/mymodel.cpp | 0 examples/tutorials/modelview/4_headers/mymodel.h | 0 examples/tutorials/modelview/5_edit/5_edit.pro | 0 examples/tutorials/modelview/5_edit/main.cpp | 0 examples/tutorials/modelview/5_edit/modelview.cpp | 0 examples/tutorials/modelview/5_edit/modelview.h | 0 examples/tutorials/modelview/5_edit/mymodel.cpp | 0 examples/tutorials/modelview/5_edit/mymodel.h | 0 examples/tutorials/modelview/6_treeview/6_treeview.pro | 0 examples/tutorials/modelview/6_treeview/main.cpp | 0 examples/tutorials/modelview/6_treeview/modelview.cpp | 0 examples/tutorials/modelview/6_treeview/modelview.h | 0 examples/tutorials/modelview/7_selections/7_selections.pro | 0 examples/tutorials/modelview/7_selections/main.cpp | 0 examples/tutorials/modelview/7_selections/modelview.cpp | 0 examples/tutorials/modelview/7_selections/modelview.h | 0 examples/tutorials/modelview/modelview.pro | 0 39 files changed, 1 insertion(+), 1 deletion(-) mode change 100755 => 100644 examples/tutorials/modelview/1_readonly/1_readonly.pro mode change 100755 => 100644 examples/tutorials/modelview/1_readonly/main.cpp mode change 100755 => 100644 examples/tutorials/modelview/1_readonly/modelview.cpp mode change 100755 => 100644 examples/tutorials/modelview/1_readonly/modelview.h mode change 100755 => 100644 examples/tutorials/modelview/1_readonly/mymodel.cpp mode change 100755 => 100644 examples/tutorials/modelview/1_readonly/mymodel.h mode change 100755 => 100644 examples/tutorials/modelview/2_formatting/2_formatting.pro mode change 100755 => 100644 examples/tutorials/modelview/2_formatting/main.cpp mode change 100755 => 100644 examples/tutorials/modelview/2_formatting/modelview.cpp mode change 100755 => 100644 examples/tutorials/modelview/2_formatting/modelview.h mode change 100755 => 100644 examples/tutorials/modelview/2_formatting/mymodel.cpp mode change 100755 => 100644 examples/tutorials/modelview/2_formatting/mymodel.h mode change 100755 => 100644 examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro mode change 100755 => 100644 examples/tutorials/modelview/3_changingmodel/main.cpp mode change 100755 => 100644 examples/tutorials/modelview/3_changingmodel/modelview.cpp mode change 100755 => 100644 examples/tutorials/modelview/3_changingmodel/modelview.h mode change 100755 => 100644 examples/tutorials/modelview/3_changingmodel/mymodel.cpp mode change 100755 => 100644 examples/tutorials/modelview/3_changingmodel/mymodel.h mode change 100755 => 100644 examples/tutorials/modelview/4_headers/4_headers.pro mode change 100755 => 100644 examples/tutorials/modelview/4_headers/main.cpp mode change 100755 => 100644 examples/tutorials/modelview/4_headers/modelview.cpp mode change 100755 => 100644 examples/tutorials/modelview/4_headers/modelview.h mode change 100755 => 100644 examples/tutorials/modelview/4_headers/mymodel.cpp mode change 100755 => 100644 examples/tutorials/modelview/4_headers/mymodel.h mode change 100755 => 100644 examples/tutorials/modelview/5_edit/5_edit.pro mode change 100755 => 100644 examples/tutorials/modelview/5_edit/main.cpp mode change 100755 => 100644 examples/tutorials/modelview/5_edit/modelview.cpp mode change 100755 => 100644 examples/tutorials/modelview/5_edit/modelview.h mode change 100755 => 100644 examples/tutorials/modelview/5_edit/mymodel.cpp mode change 100755 => 100644 examples/tutorials/modelview/5_edit/mymodel.h mode change 100755 => 100644 examples/tutorials/modelview/6_treeview/6_treeview.pro mode change 100755 => 100644 examples/tutorials/modelview/6_treeview/main.cpp mode change 100755 => 100644 examples/tutorials/modelview/6_treeview/modelview.cpp mode change 100755 => 100644 examples/tutorials/modelview/6_treeview/modelview.h mode change 100755 => 100644 examples/tutorials/modelview/7_selections/7_selections.pro mode change 100755 => 100644 examples/tutorials/modelview/7_selections/main.cpp mode change 100755 => 100644 examples/tutorials/modelview/7_selections/modelview.cpp mode change 100755 => 100644 examples/tutorials/modelview/7_selections/modelview.h mode change 100755 => 100644 examples/tutorials/modelview/modelview.pro diff --git a/examples/tutorials/modelview/1_readonly/1_readonly.pro b/examples/tutorials/modelview/1_readonly/1_readonly.pro old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/1_readonly/main.cpp b/examples/tutorials/modelview/1_readonly/main.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/1_readonly/modelview.cpp b/examples/tutorials/modelview/1_readonly/modelview.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/1_readonly/modelview.h b/examples/tutorials/modelview/1_readonly/modelview.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/1_readonly/mymodel.cpp b/examples/tutorials/modelview/1_readonly/mymodel.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/1_readonly/mymodel.h b/examples/tutorials/modelview/1_readonly/mymodel.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/2_formatting/2_formatting.pro b/examples/tutorials/modelview/2_formatting/2_formatting.pro old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/2_formatting/main.cpp b/examples/tutorials/modelview/2_formatting/main.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/2_formatting/modelview.cpp b/examples/tutorials/modelview/2_formatting/modelview.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/2_formatting/modelview.h b/examples/tutorials/modelview/2_formatting/modelview.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/2_formatting/mymodel.cpp b/examples/tutorials/modelview/2_formatting/mymodel.cpp old mode 100755 new mode 100644 index e34e014..f7ff504 --- a/examples/tutorials/modelview/2_formatting/mymodel.cpp +++ b/examples/tutorials/modelview/2_formatting/mymodel.cpp @@ -89,7 +89,7 @@ QVariant MyModel::data(const QModelIndex &index, int role) const if (row == 1 && col == 2) //change background only for cell(1,2) { - QBrush redBackground(QColor(Qt::red)); + QBrush redBackground = QBrush(Qt::red); return redBackground; } break; diff --git a/examples/tutorials/modelview/2_formatting/mymodel.h b/examples/tutorials/modelview/2_formatting/mymodel.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro b/examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/3_changingmodel/main.cpp b/examples/tutorials/modelview/3_changingmodel/main.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/3_changingmodel/modelview.cpp b/examples/tutorials/modelview/3_changingmodel/modelview.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/3_changingmodel/modelview.h b/examples/tutorials/modelview/3_changingmodel/modelview.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/3_changingmodel/mymodel.cpp b/examples/tutorials/modelview/3_changingmodel/mymodel.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/3_changingmodel/mymodel.h b/examples/tutorials/modelview/3_changingmodel/mymodel.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/4_headers/4_headers.pro b/examples/tutorials/modelview/4_headers/4_headers.pro old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/4_headers/main.cpp b/examples/tutorials/modelview/4_headers/main.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/4_headers/modelview.cpp b/examples/tutorials/modelview/4_headers/modelview.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/4_headers/modelview.h b/examples/tutorials/modelview/4_headers/modelview.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/4_headers/mymodel.cpp b/examples/tutorials/modelview/4_headers/mymodel.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/4_headers/mymodel.h b/examples/tutorials/modelview/4_headers/mymodel.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/5_edit/5_edit.pro b/examples/tutorials/modelview/5_edit/5_edit.pro old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/5_edit/main.cpp b/examples/tutorials/modelview/5_edit/main.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/5_edit/modelview.cpp b/examples/tutorials/modelview/5_edit/modelview.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/5_edit/modelview.h b/examples/tutorials/modelview/5_edit/modelview.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/5_edit/mymodel.cpp b/examples/tutorials/modelview/5_edit/mymodel.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/5_edit/mymodel.h b/examples/tutorials/modelview/5_edit/mymodel.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/6_treeview/6_treeview.pro b/examples/tutorials/modelview/6_treeview/6_treeview.pro old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/6_treeview/main.cpp b/examples/tutorials/modelview/6_treeview/main.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/6_treeview/modelview.cpp b/examples/tutorials/modelview/6_treeview/modelview.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/6_treeview/modelview.h b/examples/tutorials/modelview/6_treeview/modelview.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/7_selections/7_selections.pro b/examples/tutorials/modelview/7_selections/7_selections.pro old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/7_selections/main.cpp b/examples/tutorials/modelview/7_selections/main.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/7_selections/modelview.cpp b/examples/tutorials/modelview/7_selections/modelview.cpp old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/7_selections/modelview.h b/examples/tutorials/modelview/7_selections/modelview.h old mode 100755 new mode 100644 diff --git a/examples/tutorials/modelview/modelview.pro b/examples/tutorials/modelview/modelview.pro old mode 100755 new mode 100644 -- cgit v0.12