session boost_ptr refactoring

This commit is contained in:
doitux
2008-10-07 21:16:27 +00:00
parent 13cc3d5aeb
commit de6228bb7d
18 changed files with 138 additions and 144 deletions
+3 -2
View File
@@ -23,6 +23,7 @@
#include <string>
#include <QtCore>
#include <QtGui>
#include <boost/shared_ptr.hpp>
class Session;
class ConfigFile;
@@ -36,7 +37,7 @@ public:
~ChatTools();
void setSession(Session *session) { mySession = session; }
void setSession(boost::shared_ptr<Session> session) { mySession = session; }
public slots:
@@ -67,7 +68,7 @@ private:
QTreeWidget *myNickTreeWidget;
QStringList myNickStringList;
QTextBrowser *myTextBrowser;
Session *mySession;
boost::shared_ptr<Session> mySession;
int myNotifyMode; // 0 == no notification, 1 == bold notification, 2 == yellow notification
ConfigFile *myConfig;