diff options
| author | 2008-11-01 18:49:12 +0000 | |
|---|---|---|
| committer | 2008-11-01 18:49:12 +0000 | |
| commit | 9c9aa2618773e8fd444cc46d4587c459d0a567a8 (patch) | |
| tree | 58a92fa09ce2a7016b3971030b6ab6f63687f35a /src/modules/popupeditor/popupeditor.cpp | |
| parent | updated po{,t} files (diff) | |
| download | KVIrc-9c9aa2618773e8fd444cc46d4587c459d0a567a8.tar.gz KVIrc-9c9aa2618773e8fd444cc46d4587c459d0a567a8.tar.bz2 KVIrc-9c9aa2618773e8fd444cc46d4587c459d0a567a8.zip | |
cleaned tal_treewidget , hopefully re-connecting again all the signal/slot pairs
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2807 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules/popupeditor/popupeditor.cpp')
| -rw-r--r-- | src/modules/popupeditor/popupeditor.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/popupeditor/popupeditor.cpp b/src/modules/popupeditor/popupeditor.cpp index ddcc3bf99..6aa308f87 100644 --- a/src/modules/popupeditor/popupeditor.cpp +++ b/src/modules/popupeditor/popupeditor.cpp @@ -216,8 +216,8 @@ KviSinglePopupEditor::KviSinglePopupEditor(QWidget * par) m_pTreeWidget->setSortingEnabled(false); connect(m_pTreeWidget,SIGNAL(itemSelectionChanged()),this,SLOT(selectionChanged())); - connect(m_pTreeWidget,SIGNAL(itemPressed(KviTalTreeWidgetItem *, int)), - this,SLOT(itemPressed(KviTalTreeWidgetItem *, int))); + connect(m_pTreeWidget,SIGNAL(itemPressed(QTreeWidgetItem *, int)), + this,SLOT(itemPressed(QTreeWidgetItem *, int))); @@ -1077,9 +1077,9 @@ void KviPopupEditor::oneTimeSetup() ++it; } - connect(m_pTreeWidget,SIGNAL(currentItemChanged(KviTalTreeWidgetItem *,KviTalTreeWidgetItem *)),this,SLOT(currentItemChanged(KviTalTreeWidgetItem *,KviTalTreeWidgetItem *))); - connect(m_pTreeWidget,SIGNAL(itemPressed(KviTalTreeWidgetItem *, int)), - this,SLOT(itemPressed(KviTalTreeWidgetItem *, int))); + connect(m_pTreeWidget,SIGNAL(currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *)),this,SLOT(currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *))); + connect(m_pTreeWidget,SIGNAL(itemPressed(QTreeWidgetItem *, int)), + this,SLOT(itemPressed(QTreeWidgetItem *, int))); } void KviPopupEditor::itemPressed(KviTalTreeWidgetItem * it, int) @@ -1220,7 +1220,7 @@ void KviPopupEditor::saveLastEditedItem() m_pLastEditedItem->setText(0,m->popupName()); } -void KviPopupEditor::currentItemChanged(KviTalTreeWidgetItem *it,KviTalTreeWidgetItem *prev) +void KviPopupEditor::currentItemChanged(QTreeWidgetItem *it,QTreeWidgetItem *prev) { saveLastEditedItem(); |
