aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorMorten Johan Sørvig <morten.sorvig@digia.com>2013-04-10 08:27:27 +0200
committerJake Petroules <jake.petroules@petroules.com>2013-04-10 20:42:07 +0200
commit2ce5cb0ef30308432748d03fa43453ff7414e0de (patch)
treec2c55449a392c03a91fe4d27232951ccbdffecf1 /examples
parentaccd4e4f8caf5fef9ab43894f316135cb4b8c6ea (diff)
Rename Qt namespace to QtMacExtras
In-line with the common naming pattern for the platform "extras". Change-Id: I0335b62ebec090ecf3a387333ade13486b260299 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/macfunctions/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/macfunctions/main.cpp b/examples/macfunctions/main.cpp
index 77f16a1..e95c1bc 100644
--- a/examples/macfunctions/main.cpp
+++ b/examples/macfunctions/main.cpp
@@ -61,8 +61,8 @@ int main(int argc, char **argv)
// Pixmap <-> CGImage conversion
QPixmap pixmap(":qtlogo.png");
- CGImageRef cgImage = Qt::toMacCGImageRef(pixmap);
- QPixmap pixmap2 = Qt::fromMacCGImageRef(cgImage);
+ CGImageRef cgImage = QtMacExtras::toMacCGImageRef(pixmap);
+ QPixmap pixmap2 = QtMacExtras::fromMacCGImageRef(cgImage);
return app.exec();
}