--- a/src/QuailBuddyList.cpp Tue Aug 27 10:19:49 2013 +0100
+++ b/src/QuailBuddyList.cpp Tue Aug 27 10:48:39 2013 +0100
@@ -41,14 +41,14 @@
**************************************************************************/
QQuailBListItem::QQuailBListItem(QTreeWidget *parent, PurpleBlistNode *node)
- : QTreeWidgetItem(parent), node(node), expanded(false), dirty(true)
+ : QTreeWidgetItem(parent), node(node), dirty(true) qDebug() << "QQuailBListItem::QQuailBListItem::Added to TreeWidget";
QQuailBListItem::QQuailBListItem(QTreeWidgetItem *parent, PurpleBlistNode *node)
- : QTreeWidgetItem(parent), node(node), expanded(false), dirty(true)
+ : QTreeWidgetItem(parent), node(node), dirty(true) qDebug() << "QQuailBListItem::QQuailBListItem::Added to TreeWidgetItem";
@@ -223,18 +223,6 @@
-QQuailBListItem::setExpanded(bool expanded)
- this->expanded = expanded;
-QQuailBListItem::isExpanded() const
@@ -655,10 +643,11 @@
setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding);
setStyleSheet("QTreeWidget#treeWidget::item { height: " + QString(BUDDY_ICON_SIZE) + "px; }");
- connect(this, SIGNAL(expanded(QTreeWidgetItem *)),
+ connect(this, SIGNAL(itemExpanded(QTreeWidgetItem *)), this, SLOT(nodeExpandedSlot(QTreeWidgetItem *)));
- connect(this, SIGNAL(collapsed(QTreeWidgetItem *)),
+ connect(this, SIGNAL(itemCollapsed(QTreeWidgetItem *)), this, SLOT(nodeCollapsedSlot(QTreeWidgetItem *)));
+ //TODO: Find a replacement for this connect(this, SIGNAL(rightButtonPressed(QTreeWidgetItem *,
this, SLOT(showContextMenuSlot(QTreeWidgetItem *,
@@ -955,7 +944,7 @@
a = new QAction(tr("Auto-Join"), this);
- if (purple_blist_node_get_bool((PurpleBlistNode *)chat, "qpe-autojoin"))
+ if (purple_blist_node_get_bool((PurpleBlistNode *)chat, "autojoin")) @@ -1043,6 +1032,7 @@
if (PURPLE_BLIST_NODE_IS_GROUP(node))
+ qDebug() << "QQuailBuddyList::nodeExpandedSlot.setNodeCollapsed:FALSE"; purple_blist_node_set_bool(node, "collapsed", FALSE);
// if (!saveTimer->isActive())
@@ -1065,6 +1055,7 @@
if (PURPLE_BLIST_NODE_IS_GROUP(node))
+ qDebug() << "QQuailBuddyList::nodeCollapsedSlot:collapsed::true"; purple_blist_node_set_bool(node, "collapsed", TRUE);
// if (!saveTimer->isActive())
@@ -1388,7 +1379,7 @@
if (!PURPLE_BLIST_NODE_IS_CHAT(node))
- purple_blist_node_set_bool(node, "qpe-autojoin", on);
+ purple_blist_node_set_bool(node, "autojoin", on); @@ -1469,20 +1460,18 @@
purple_prefs_get_bool("/quail/blist/show_offline_buddies") ||
purple_blist_get_group_online_count(group) > 0)
- qDebug() << "QQuailBuddyList::updateGroup.1";
- //qDebug() << "QQuailBuddyList::updateGroup.1";
item = (QQuailBListItem *)node->ui_data;
if (!purple_blist_node_get_bool(node, "collapsed"))
- //qDebug() << "QQuailBuddyList::updateGroup.3";
--- a/src/QuailBuddyList.h Tue Aug 27 10:19:49 2013 +0100
+++ b/src/QuailBuddyList.h Tue Aug 27 10:48:39 2013 +0100
@@ -37,8 +37,6 @@
PurpleBlistNode *getBlistNode() const;
- void setExpanded(bool expanded);
- bool isExpanded() const;
//TODO: Find out how to calculate this
@@ -54,7 +52,6 @@
QString topText, bottomText;
--- a/src/QuailEventLoop.cpp Tue Aug 27 10:19:49 2013 +0100
+++ b/src/QuailEventLoop.cpp Tue Aug 27 10:48:39 2013 +0100
@@ -58,7 +58,7 @@
PurpleInputCondition cond,
PurpleInputFunction func,
- : QAbstractEventDispatcher(), func(func), userData(userData), readNotifier(NULL),
+ : QObject(), func(func), userData(userData), readNotifier(NULL), //qDebug() << "QQuailInputNotifier::QQuailInputNotifier";
--- a/src/QuailMainWindow.cpp Tue Aug 27 10:19:49 2013 +0100
+++ b/src/QuailMainWindow.cpp Tue Aug 27 10:48:39 2013 +0100
@@ -333,6 +333,7 @@
qDebug() << tr("Initialization of the Quail core failed.\n"
"Please report this!\n");
+ purple_debug_set_enabled(false); qDebug() << "QQuailMainWindow::initCore().3";
path = g_build_filename(purple_user_dir(), "plugins", NULL);
qDebug() << "QQuailMainWindow::initCore().4";