Forgot to save some of the changed files *sigh*
[situare] / src / common.h
index 66d3b47..2c1ab24 100644 (file)
@@ -35,10 +35,17 @@ const QString COOKIES = "cookies";
 const QString EMPTY = "";
 const QString SETTINGS_AUTOMATIC_UPDATE_ENABLED = "SETTINGS_AUTOMATIC_UPDATE_ENABLED";
 const QString SETTINGS_AUTOMATIC_UPDATE_INTERVAL = "SETTINGS_AUTOMATIC_UPDATE_INTERVAL";
+const QString USER_UNSEND_MESSAGE = "UNSEND_MESSAGE_CONTENT";
+const QString USER_UNSEND_MESSAGE_PUBLISH = "UNSEND_MESSAGE_PUBLISH_POLICITY";
 
-const QColor COLOR_GRAY = QColor(152, 152, 152);                           ///< Gray color
-const QFont NOKIA_FONT_NORMAL = QFont("Nokia Sans", 18, QFont::Normal);    ///< Normal font
-const QFont NOKIA_FONT_SMALL = QFont("Nokia Sans", 13, QFont::Normal);     ///< Small font
+// Misc values
+const int DEFAULT_SCREEN_WIDTH = 800;           ///< Default N900 screen width
+const int DEFAULT_SCREEN_HEIGHT = 480;          ///< Default N900 screen height
+const int DEFAULT_NON_FULLSCREEN_HEIGHT = 424;  ///< Default N900 non-fullscreen height
+
+const QColor COLOR_GRAY = QColor(152, 152, 152);                        ///< Gray color
+const QFont NOKIA_FONT_NORMAL = QFont("Nokia Sans", 18, QFont::Normal); ///< Normal font
+const QFont NOKIA_FONT_SMALL = QFont("Nokia Sans", 13, QFont::Normal);  ///< Small font
 
 // Facobook login page pieces
 const QString FACEBOOK_LOGINBASE = "http://www.facebook.com/login.php?";
@@ -50,12 +57,4 @@ const QString INTERVAL2 = "&cancel_url=";
 const QString SITUARE_LOGIN_FAILURE = "http://www.facebook.com/connect/login_failure.html";
 const QString FACEBOOK_LOGIN_ENDING = "&fbconnect=true&return_session=true&";
 
-// Error messages
-const QString SESSION_EXPIRED = QObject::tr("Session expired. Please login again");
-const QString LOGIN_FAILED = QObject::tr("Invalid E-mail address or password");
-const QString UPDATE_FAILED = QObject::tr("Update failed, please try again");
-const QString DATA_RETRIEVAL_FAILED = QObject::tr("Data retrieval failed, please try again");
-const QString ADDRESS_RETRIEVAL_FAILED = QObject::tr("Address retrieval failed, please try again");
-const QString DOWNLOAD_FAILED = QObject::tr("Image download failed");
-
 #endif // COMMON_H