Commit 0c1bd112 authored by JanKusanagi's avatar JanKusanagi

Ongoing refactoring of Post

parent a0e1c07b
This diff is collapsed.
......@@ -185,17 +185,16 @@ private:
QFrame *m_leftColumnFrame;
QFrame *m_rightColumnFrame;
QString activityId;
QString postId;
QString postType;
QString postUrl;
QString postAuthorId;
QString postAuthorName;
QString postSharedById;
QString postShareInfoString;
QString m_activityId;
QString m_postId;
QString m_postType;
QString m_postUrl;
QString m_postAuthorId;
QString m_postAuthorName;
QString m_postShareInfoString;
QString m_postSharedToCcString;
QString postShareTime;
QString m_postShareTime;
bool m_postIsOwn;
bool m_postIsUnread;
......@@ -203,11 +202,11 @@ private:
int m_highlightType;
QString m_unreadPostColor;
AvatarButton *postAuthorAvatarButton;
AvatarButton *m_postAuthorAvatarButton;
QAction *openPostInBrowserAction;
QAction *copyPostUrlAction;
QAction *normalizeTextAction;
QAction *closeAction;
QAction *m_closeAction;
QLabel *postAuthorNameLabel;
HClabel *postCreatedAtLabel;
......@@ -215,7 +214,7 @@ private:
HClabel *postLocationLabel;
QLabel *m_postToLabel;
QLabel *m_postCcLabel;
QLabel *postIsSharedLabel;
QLabel *m_postIsShareLabel;
QLabel *shareHintLabel;
HClabel *postLikesCountLabel;
......@@ -226,11 +225,11 @@ private:
QLabel *postTitleLabel;
QLabel *postSummaryLabel;
QTextBrowser *postText;
QTextBrowser *m_postBodyTextBrowser;
QHBoxLayout *buttonsLayout;
QPushButton *likeButton;
QPushButton *commentButton;
QHBoxLayout *m_buttonsLayout;
QPushButton *m_likeButton;
QPushButton *m_commentButton;
QPushButton *shareButton;
QPushButton *editButton;
......@@ -239,9 +238,9 @@ private:
QPushButton *joinLeaveButton;
QLabel *groupInfoLabel;
DownloadWidget *downloadWidget;
DownloadWidget *m_downloadWidget;
FilterMatchesWidget *filterMatchesWidget;
FilterMatchesWidget *m_filterMatchesWidget;
QString postTitle;
QString postSmallImageUrl;
......@@ -262,7 +261,7 @@ private:
QString postUpdatedAtString;
QString postGeneratorString;
int postWidth;
int m_postWidth;
QString postLikesUrl;
int postLikesCount;
......@@ -271,18 +270,18 @@ private:
QString postSharesUrl;
QStringList pendingImagesList;
QStringList m_pendingImagesList;
bool m_standalone;
QString seeFullImageString;
QString downloadAttachmentString;
QTimer *resizeTimer;
QTimer *m_resizeTimer;
PumpController *m_pumpController;
GlobalObject *m_globalObject;
CommenterBlock *commenter;
CommenterBlock *m_commenterBlock;
#endif // POST_H
......@@ -1650,7 +1650,7 @@ void PumpController::requestFinished(QNetworkReply *reply)
+ " (301)";
emit currentJobChanged(errorTypeString + ": " + replyUrl);
emit logMessage(errorTypeString, replyUrl);
qDebug() << "HTTP 301: Moved Permanently.";
qDebug() << "HTTP 301: Moved Permanently to:" << reply->attribute(QNetworkRequest::RedirectionTargetAttribute);
qDebug() << "Data: " << replyFirstLineRaw;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment