diff options
| author | 2008-11-02 17:21:51 +0000 | |
|---|---|---|
| committer | 2008-11-02 17:21:51 +0000 | |
| commit | e377f1b4430b3018d3ac773f9c97003384965c66 (patch) | |
| tree | d7b2ea18f07b709264bcb63879ad7be648379057 /src/modules | |
| parent | cleaned tal_treewidget , hopefully re-connecting again all the signal/slot pairs (diff) | |
| download | KVIrc-e377f1b4430b3018d3ac773f9c97003384965c66.tar.gz KVIrc-e377f1b4430b3018d3ac773f9c97003384965c66.tar.bz2 KVIrc-e377f1b4430b3018d3ac773f9c97003384965c66.zip | |
fix for popupeditor module
git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2810 17fca916-40b9-46aa-a4ea-0a15b648b75c
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/popupeditor/popupeditor.cpp | 8 | ||||
| -rw-r--r-- | src/modules/popupeditor/popupeditor.h | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/popupeditor/popupeditor.cpp b/src/modules/popupeditor/popupeditor.cpp index 6aa308f87..c048dd0c9 100644 --- a/src/modules/popupeditor/popupeditor.cpp +++ b/src/modules/popupeditor/popupeditor.cpp @@ -58,14 +58,14 @@ extern KviPopupEditorWindow * g_pPopupEditorWindow; //KviPopupEntryItem KviPopupTreeWidgetItem::KviPopupTreeWidgetItem(KviTalTreeWidget * pTreeWidget,KviPopupTreeWidgetItem * after,Type t) -: KviTalTreeWidgetItem((KviTalTreeWidget*) pTreeWidget, (KviTalTreeWidgetItem*)after) +: KviTalTreeWidgetItem(pTreeWidget, after) { m_type = t; init(); } KviPopupTreeWidgetItem::KviPopupTreeWidgetItem(KviPopupTreeWidgetItem * parent,KviPopupTreeWidgetItem * after,Type t) -: KviTalTreeWidgetItem((KviTalTreeWidget*) parent,(KviTalTreeWidgetItem*)after) +: KviTalTreeWidgetItem(parent, after) { m_type = t; init(); @@ -364,7 +364,7 @@ void KviSinglePopupEditor::testModeMenuItemClicked(KviKvsPopupMenuItem * it) } -void KviSinglePopupEditor::itemPressed(KviTalTreeWidgetItem * it, int) +void KviSinglePopupEditor::itemPressed(QTreeWidgetItem * it, int) { if (QApplication::mouseButtons() != Qt::RightButton) return; @@ -1082,7 +1082,7 @@ void KviPopupEditor::oneTimeSetup() this,SLOT(itemPressed(QTreeWidgetItem *, int))); } -void KviPopupEditor::itemPressed(KviTalTreeWidgetItem * it, int) +void KviPopupEditor::itemPressed(QTreeWidgetItem * it, int) { if (QApplication::mouseButtons() != Qt::RightButton) return; diff --git a/src/modules/popupeditor/popupeditor.h b/src/modules/popupeditor/popupeditor.h index a5de9cb9e..6116ba526 100644 --- a/src/modules/popupeditor/popupeditor.h +++ b/src/modules/popupeditor/popupeditor.h @@ -167,7 +167,7 @@ protected slots: void exportSelected(); void exportCurrentPopup(); void removeCurrentPopup(); - void itemPressed(KviTalTreeWidgetItem * item, int column); + void itemPressed(QTreeWidgetItem * item, int column); protected: void showEvent(QShowEvent *e); void getExportPopupBuffer(QString &buffer,KviMenuTreeWidgetItem * it); |
