summaryrefslogtreecommitdiff
path: root/examples/tutorials
diff options
context:
space:
mode:
authorToby Tomkins <toby.tomkins@nokia.com>2010-07-21 18:11:53 +1000
committerToby Tomkins <toby.tomkins@nokia.com>2010-07-21 18:11:53 +1000
commitceff2321d7b7eaa4608a1baa5de66dbce8733342 (patch)
tree4bf6f8b34f24f9100a65d4796861bdcf61d2bbf5 /examples/tutorials
parent3fad4bda10083acd6cfd0cad2c939808e9b26852 (diff)
downloadqt4-tools-ceff2321d7b7eaa4608a1baa5de66dbce8733342.tar.gz
Minor modification to allow compilation on WinCE and AIX. Removed executable attributes.
Diffstat (limited to 'examples/tutorials')
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/1_readonly/1_readonly.pro0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/1_readonly/main.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/1_readonly/modelview.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/1_readonly/modelview.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/1_readonly/mymodel.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/1_readonly/mymodel.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/2_formatting/2_formatting.pro0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/2_formatting/main.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/2_formatting/modelview.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/2_formatting/modelview.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/2_formatting/mymodel.cpp2
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/2_formatting/mymodel.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/3_changingmodel/main.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/3_changingmodel/modelview.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/3_changingmodel/modelview.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/3_changingmodel/mymodel.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/3_changingmodel/mymodel.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/4_headers/4_headers.pro0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/4_headers/main.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/4_headers/modelview.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/4_headers/modelview.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/4_headers/mymodel.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/4_headers/mymodel.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/5_edit/5_edit.pro0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/5_edit/main.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/5_edit/modelview.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/5_edit/modelview.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/5_edit/mymodel.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/5_edit/mymodel.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/6_treeview/6_treeview.pro0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/6_treeview/main.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/6_treeview/modelview.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/6_treeview/modelview.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/7_selections/7_selections.pro0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/7_selections/main.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/7_selections/modelview.cpp0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/7_selections/modelview.h0
-rw-r--r--[-rwxr-xr-x]examples/tutorials/modelview/modelview.pro0
39 files changed, 1 insertions, 1 deletions
diff --git a/examples/tutorials/modelview/1_readonly/1_readonly.pro b/examples/tutorials/modelview/1_readonly/1_readonly.pro
index 1162d5adfa..1162d5adfa 100755..100644
--- a/examples/tutorials/modelview/1_readonly/1_readonly.pro
+++ b/examples/tutorials/modelview/1_readonly/1_readonly.pro
diff --git a/examples/tutorials/modelview/1_readonly/main.cpp b/examples/tutorials/modelview/1_readonly/main.cpp
index fb4726aa69..fb4726aa69 100755..100644
--- a/examples/tutorials/modelview/1_readonly/main.cpp
+++ b/examples/tutorials/modelview/1_readonly/main.cpp
diff --git a/examples/tutorials/modelview/1_readonly/modelview.cpp b/examples/tutorials/modelview/1_readonly/modelview.cpp
index 91a97bf205..91a97bf205 100755..100644
--- a/examples/tutorials/modelview/1_readonly/modelview.cpp
+++ b/examples/tutorials/modelview/1_readonly/modelview.cpp
diff --git a/examples/tutorials/modelview/1_readonly/modelview.h b/examples/tutorials/modelview/1_readonly/modelview.h
index cc14d9056b..cc14d9056b 100755..100644
--- a/examples/tutorials/modelview/1_readonly/modelview.h
+++ b/examples/tutorials/modelview/1_readonly/modelview.h
diff --git a/examples/tutorials/modelview/1_readonly/mymodel.cpp b/examples/tutorials/modelview/1_readonly/mymodel.cpp
index 394605abc9..394605abc9 100755..100644
--- a/examples/tutorials/modelview/1_readonly/mymodel.cpp
+++ b/examples/tutorials/modelview/1_readonly/mymodel.cpp
diff --git a/examples/tutorials/modelview/1_readonly/mymodel.h b/examples/tutorials/modelview/1_readonly/mymodel.h
index 6065f6e7c0..6065f6e7c0 100755..100644
--- a/examples/tutorials/modelview/1_readonly/mymodel.h
+++ b/examples/tutorials/modelview/1_readonly/mymodel.h
diff --git a/examples/tutorials/modelview/2_formatting/2_formatting.pro b/examples/tutorials/modelview/2_formatting/2_formatting.pro
index 7e70d81113..7e70d81113 100755..100644
--- a/examples/tutorials/modelview/2_formatting/2_formatting.pro
+++ b/examples/tutorials/modelview/2_formatting/2_formatting.pro
diff --git a/examples/tutorials/modelview/2_formatting/main.cpp b/examples/tutorials/modelview/2_formatting/main.cpp
index 7be212e398..7be212e398 100755..100644
--- a/examples/tutorials/modelview/2_formatting/main.cpp
+++ b/examples/tutorials/modelview/2_formatting/main.cpp
diff --git a/examples/tutorials/modelview/2_formatting/modelview.cpp b/examples/tutorials/modelview/2_formatting/modelview.cpp
index 9a5ce64c96..9a5ce64c96 100755..100644
--- a/examples/tutorials/modelview/2_formatting/modelview.cpp
+++ b/examples/tutorials/modelview/2_formatting/modelview.cpp
diff --git a/examples/tutorials/modelview/2_formatting/modelview.h b/examples/tutorials/modelview/2_formatting/modelview.h
index b2943ac621..b2943ac621 100755..100644
--- a/examples/tutorials/modelview/2_formatting/modelview.h
+++ b/examples/tutorials/modelview/2_formatting/modelview.h
diff --git a/examples/tutorials/modelview/2_formatting/mymodel.cpp b/examples/tutorials/modelview/2_formatting/mymodel.cpp
index e34e0147f4..f7ff504ef2 100755..100644
--- 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
index 4dc405a805..4dc405a805 100755..100644
--- a/examples/tutorials/modelview/2_formatting/mymodel.h
+++ b/examples/tutorials/modelview/2_formatting/mymodel.h
diff --git a/examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro b/examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro
index d61ee4c953..d61ee4c953 100755..100644
--- a/examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro
+++ b/examples/tutorials/modelview/3_changingmodel/3_changingmodel.pro
diff --git a/examples/tutorials/modelview/3_changingmodel/main.cpp b/examples/tutorials/modelview/3_changingmodel/main.cpp
index 7be212e398..7be212e398 100755..100644
--- a/examples/tutorials/modelview/3_changingmodel/main.cpp
+++ b/examples/tutorials/modelview/3_changingmodel/main.cpp
diff --git a/examples/tutorials/modelview/3_changingmodel/modelview.cpp b/examples/tutorials/modelview/3_changingmodel/modelview.cpp
index 9a5ce64c96..9a5ce64c96 100755..100644
--- a/examples/tutorials/modelview/3_changingmodel/modelview.cpp
+++ b/examples/tutorials/modelview/3_changingmodel/modelview.cpp
diff --git a/examples/tutorials/modelview/3_changingmodel/modelview.h b/examples/tutorials/modelview/3_changingmodel/modelview.h
index b2943ac621..b2943ac621 100755..100644
--- a/examples/tutorials/modelview/3_changingmodel/modelview.h
+++ b/examples/tutorials/modelview/3_changingmodel/modelview.h
diff --git a/examples/tutorials/modelview/3_changingmodel/mymodel.cpp b/examples/tutorials/modelview/3_changingmodel/mymodel.cpp
index 42915b09f1..42915b09f1 100755..100644
--- a/examples/tutorials/modelview/3_changingmodel/mymodel.cpp
+++ b/examples/tutorials/modelview/3_changingmodel/mymodel.cpp
diff --git a/examples/tutorials/modelview/3_changingmodel/mymodel.h b/examples/tutorials/modelview/3_changingmodel/mymodel.h
index 01ad88d068..01ad88d068 100755..100644
--- a/examples/tutorials/modelview/3_changingmodel/mymodel.h
+++ b/examples/tutorials/modelview/3_changingmodel/mymodel.h
diff --git a/examples/tutorials/modelview/4_headers/4_headers.pro b/examples/tutorials/modelview/4_headers/4_headers.pro
index d6f8d23a6d..d6f8d23a6d 100755..100644
--- a/examples/tutorials/modelview/4_headers/4_headers.pro
+++ b/examples/tutorials/modelview/4_headers/4_headers.pro
diff --git a/examples/tutorials/modelview/4_headers/main.cpp b/examples/tutorials/modelview/4_headers/main.cpp
index 7be212e398..7be212e398 100755..100644
--- a/examples/tutorials/modelview/4_headers/main.cpp
+++ b/examples/tutorials/modelview/4_headers/main.cpp
diff --git a/examples/tutorials/modelview/4_headers/modelview.cpp b/examples/tutorials/modelview/4_headers/modelview.cpp
index 449dbbcc41..449dbbcc41 100755..100644
--- a/examples/tutorials/modelview/4_headers/modelview.cpp
+++ b/examples/tutorials/modelview/4_headers/modelview.cpp
diff --git a/examples/tutorials/modelview/4_headers/modelview.h b/examples/tutorials/modelview/4_headers/modelview.h
index 03f99c0fad..03f99c0fad 100755..100644
--- a/examples/tutorials/modelview/4_headers/modelview.h
+++ b/examples/tutorials/modelview/4_headers/modelview.h
diff --git a/examples/tutorials/modelview/4_headers/mymodel.cpp b/examples/tutorials/modelview/4_headers/mymodel.cpp
index e6f977d012..e6f977d012 100755..100644
--- a/examples/tutorials/modelview/4_headers/mymodel.cpp
+++ b/examples/tutorials/modelview/4_headers/mymodel.cpp
diff --git a/examples/tutorials/modelview/4_headers/mymodel.h b/examples/tutorials/modelview/4_headers/mymodel.h
index ada3169039..ada3169039 100755..100644
--- a/examples/tutorials/modelview/4_headers/mymodel.h
+++ b/examples/tutorials/modelview/4_headers/mymodel.h
diff --git a/examples/tutorials/modelview/5_edit/5_edit.pro b/examples/tutorials/modelview/5_edit/5_edit.pro
index e18c59610e..e18c59610e 100755..100644
--- a/examples/tutorials/modelview/5_edit/5_edit.pro
+++ b/examples/tutorials/modelview/5_edit/5_edit.pro
diff --git a/examples/tutorials/modelview/5_edit/main.cpp b/examples/tutorials/modelview/5_edit/main.cpp
index 7be212e398..7be212e398 100755..100644
--- a/examples/tutorials/modelview/5_edit/main.cpp
+++ b/examples/tutorials/modelview/5_edit/main.cpp
diff --git a/examples/tutorials/modelview/5_edit/modelview.cpp b/examples/tutorials/modelview/5_edit/modelview.cpp
index a6c6ef533f..a6c6ef533f 100755..100644
--- a/examples/tutorials/modelview/5_edit/modelview.cpp
+++ b/examples/tutorials/modelview/5_edit/modelview.cpp
diff --git a/examples/tutorials/modelview/5_edit/modelview.h b/examples/tutorials/modelview/5_edit/modelview.h
index 069107b8ce..069107b8ce 100755..100644
--- a/examples/tutorials/modelview/5_edit/modelview.h
+++ b/examples/tutorials/modelview/5_edit/modelview.h
diff --git a/examples/tutorials/modelview/5_edit/mymodel.cpp b/examples/tutorials/modelview/5_edit/mymodel.cpp
index 67181ca94d..67181ca94d 100755..100644
--- a/examples/tutorials/modelview/5_edit/mymodel.cpp
+++ b/examples/tutorials/modelview/5_edit/mymodel.cpp
diff --git a/examples/tutorials/modelview/5_edit/mymodel.h b/examples/tutorials/modelview/5_edit/mymodel.h
index 0d2a1b881f..0d2a1b881f 100755..100644
--- a/examples/tutorials/modelview/5_edit/mymodel.h
+++ b/examples/tutorials/modelview/5_edit/mymodel.h
diff --git a/examples/tutorials/modelview/6_treeview/6_treeview.pro b/examples/tutorials/modelview/6_treeview/6_treeview.pro
index 6d078be2d5..6d078be2d5 100755..100644
--- a/examples/tutorials/modelview/6_treeview/6_treeview.pro
+++ b/examples/tutorials/modelview/6_treeview/6_treeview.pro
diff --git a/examples/tutorials/modelview/6_treeview/main.cpp b/examples/tutorials/modelview/6_treeview/main.cpp
index 7be212e398..7be212e398 100755..100644
--- a/examples/tutorials/modelview/6_treeview/main.cpp
+++ b/examples/tutorials/modelview/6_treeview/main.cpp
diff --git a/examples/tutorials/modelview/6_treeview/modelview.cpp b/examples/tutorials/modelview/6_treeview/modelview.cpp
index 772dbdd1d3..772dbdd1d3 100755..100644
--- a/examples/tutorials/modelview/6_treeview/modelview.cpp
+++ b/examples/tutorials/modelview/6_treeview/modelview.cpp
diff --git a/examples/tutorials/modelview/6_treeview/modelview.h b/examples/tutorials/modelview/6_treeview/modelview.h
index 55f3470115..55f3470115 100755..100644
--- a/examples/tutorials/modelview/6_treeview/modelview.h
+++ b/examples/tutorials/modelview/6_treeview/modelview.h
diff --git a/examples/tutorials/modelview/7_selections/7_selections.pro b/examples/tutorials/modelview/7_selections/7_selections.pro
index 952641c6d2..952641c6d2 100755..100644
--- a/examples/tutorials/modelview/7_selections/7_selections.pro
+++ b/examples/tutorials/modelview/7_selections/7_selections.pro
diff --git a/examples/tutorials/modelview/7_selections/main.cpp b/examples/tutorials/modelview/7_selections/main.cpp
index 7be212e398..7be212e398 100755..100644
--- a/examples/tutorials/modelview/7_selections/main.cpp
+++ b/examples/tutorials/modelview/7_selections/main.cpp
diff --git a/examples/tutorials/modelview/7_selections/modelview.cpp b/examples/tutorials/modelview/7_selections/modelview.cpp
index 3b373c6bd6..3b373c6bd6 100755..100644
--- a/examples/tutorials/modelview/7_selections/modelview.cpp
+++ b/examples/tutorials/modelview/7_selections/modelview.cpp
diff --git a/examples/tutorials/modelview/7_selections/modelview.h b/examples/tutorials/modelview/7_selections/modelview.h
index d20797e6b1..d20797e6b1 100755..100644
--- a/examples/tutorials/modelview/7_selections/modelview.h
+++ b/examples/tutorials/modelview/7_selections/modelview.h
diff --git a/examples/tutorials/modelview/modelview.pro b/examples/tutorials/modelview/modelview.pro
index 7f684bac18..7f684bac18 100755..100644
--- a/examples/tutorials/modelview/modelview.pro
+++ b/examples/tutorials/modelview/modelview.pro