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/actioneditor | |
| 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/actioneditor')
| -rw-r--r-- | src/modules/actioneditor/actioneditor.cpp | 4 | ||||
| -rw-r--r-- | src/modules/actioneditor/actioneditor.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/actioneditor/actioneditor.cpp b/src/modules/actioneditor/actioneditor.cpp index 3f1e6fa91..ba03594a8 100644 --- a/src/modules/actioneditor/actioneditor.cpp +++ b/src/modules/actioneditor/actioneditor.cpp @@ -622,7 +622,7 @@ KviActionEditor::KviActionEditor(QWidget * par) m_pTreeWidget->setItemDelegate(itemDelegate); //m_pTreeWidget->setShowSortIndicator(true); m_pTreeWidget->setFocusPolicy(Qt::StrongFocus); - connect(m_pTreeWidget,SIGNAL(currentItemChanged(KviTalTreeWidgetItem *,KviTalTreeWidgetItem *)),this,SLOT(currentItemChanged(KviTalTreeWidgetItem *,KviTalTreeWidgetItem *))); + connect(m_pTreeWidget,SIGNAL(currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *)),this,SLOT(currentItemChanged(QTreeWidgetItem *,QTreeWidgetItem *))); m_pNewActionButton = new QPushButton(__tr2qs("New Action"),box); connect(m_pNewActionButton,SIGNAL(clicked()),this,SLOT(newAction())); @@ -797,7 +797,7 @@ bool KviActionEditor::actionExists(const QString &szName) } -void KviActionEditor::currentItemChanged(KviTalTreeWidgetItem * i,KviTalTreeWidgetItem *prev) +void KviActionEditor::currentItemChanged(QTreeWidgetItem * i,QTreeWidgetItem *prev) { if(m_pSingleActionEditor->actionData()) m_pSingleActionEditor->commit(); diff --git a/src/modules/actioneditor/actioneditor.h b/src/modules/actioneditor/actioneditor.h index 2084bbd65..c0a41a0e0 100644 --- a/src/modules/actioneditor/actioneditor.h +++ b/src/modules/actioneditor/actioneditor.h @@ -173,7 +173,7 @@ protected: int selectedCount(); QString nameForAutomaticAction(const QString &szTemplate); protected slots: - void currentItemChanged(KviTalTreeWidgetItem * it,KviTalTreeWidgetItem *prev); + void currentItemChanged(QTreeWidgetItem * it,QTreeWidgetItem *prev); void newAction(); void deleteActions(); void exportActions(); |
