renamed SharedChannel to ChannelPtr for consistency

This commit is contained in:
fourtf
2018-01-24 13:15:41 +01:00
parent fa344deaf0
commit 2b94c4cd33
17 changed files with 46 additions and 46 deletions
+4 -4
View File
@@ -23,10 +23,10 @@ class AccountPopupWidget : public BaseWindow
{
Q_OBJECT
public:
AccountPopupWidget(SharedChannel _channel);
AccountPopupWidget(ChannelPtr _channel);
void setName(const QString &name);
void setChannel(SharedChannel _channel);
void setChannel(ChannelPtr _channel);
public slots:
void actuallyRefreshButtons();
@@ -52,7 +52,7 @@ private:
enum class UserType { User, Mod, Owner };
SharedChannel channel;
ChannelPtr channel;
QPixmap avatar;
@@ -63,7 +63,7 @@ private:
QString userID;
UserType userType = UserType::User;
void refreshUserType(const SharedChannel &channel, bool loggedInUser);
void refreshUserType(const ChannelPtr &channel, bool loggedInUser);
};
User loggedInUser;