diff options
Diffstat (limited to 'src/rekonq_defines.h')
-rw-r--r-- | src/rekonq_defines.h | 18 |
1 files changed, 5 insertions, 13 deletions
diff --git a/src/rekonq_defines.h b/src/rekonq_defines.h index f56cb5fa..088478bd 100644 --- a/src/rekonq_defines.h +++ b/src/rekonq_defines.h @@ -12,7 +12,7 @@ #pragma once -// ---------------------------------------------------------------------------------------------------- +// ------------------------------------------------------------ // UNIT TESTS NEED #ifdef REKONQ_TEST #define REKONQ_TEST_VIRTUAL virtual @@ -22,25 +22,19 @@ #define REKONQ_TEST_PURE #endif -// ---------------------------------------------------------------------------------------------------- +// ------------------------------------------------------------ // Defines #define QL1S(x) QLatin1String(x) #define QL1C(x) QLatin1Char(x) -#ifndef ASSERT_NOT_REACHED -# ifndef QT_NO_DEBUG -# define ASSERT_NOT_REACHED(msg) qt_assert(#msg,__FILE__,__LINE__); kDebug() << #msg -# else -# define ASSERT_NOT_REACHED(msg) kDebug() << #msg -# endif -#endif //ASSERT_NOT_REACHED - -// -------------------------------------------------------------------------------------- +// ------------------------------------------------------------ // Enums namespace rekonq { +enum DefaultUrl { NewTabPage, HomePage, AboutBlank }; + /** * @short Open link options * Different modes of opening new tab @@ -68,5 +62,3 @@ enum SyncData }; } // namespace rekonq - -// ---------------------------------------------------------------------------------------------------- |