summaryrefslogtreecommitdiffstats
path: root/qt-ui/maintab.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-13 20:44:02 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-13 20:44:02 -0700
commitf5c958ad73db696e473aaa35e144f4c9d8ae24de (patch)
treeef693cc0bbcaea533d007132897c32a7f9e8ea98 /qt-ui/maintab.cpp
parent14e133321f4ac2cff9eb0b84ba9687e5d42e3e46 (diff)
downloadsubsurface-f5c958ad73db696e473aaa35e144f4c9d8ae24de.tar.gz
Add Qtr_ macros that uses gettext in a tr() compatible manner
This should wrap gettext nicely and replace the "_()" macros we use in C code. Also added comments to the top of all the new files. Suggested-by: Thiago Macieira <thiago@macieira.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/maintab.cpp')
-rw-r--r--qt-ui/maintab.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/qt-ui/maintab.cpp b/qt-ui/maintab.cpp
index b957fd1c7..72d8dfebc 100644
--- a/qt-ui/maintab.cpp
+++ b/qt-ui/maintab.cpp
@@ -1,3 +1,10 @@
+/*
+ * maintab.cpp
+ *
+ * classes for the "notebook" area of the main window of Subsurface
+ *
+ */
+#include "common.h"
#include "maintab.h"
#include "ui_maintab.h"
#include "addcylinderdialog.h"