diff options
| author | 2016-05-08 02:36:03 +0100 | |
|---|---|---|
| committer | 2016-05-08 02:37:37 +0100 | |
| commit | 5f0292c32b336be0bb279a7511a9ee37ba9df3fa (patch) | |
| tree | 28dbeb31c6c6aa730b2c79e904633148aff301cc /src/modules/aliaseditor/AliasEditorWindow.cpp | |
| parent | cleanup: separators and spacing (diff) | |
| download | KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.tar.gz KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.tar.bz2 KVIrc-5f0292c32b336be0bb279a7511a9ee37ba9df3fa.zip | |
cleanup: remove more ancient commented code p3
Diffstat (limited to 'src/modules/aliaseditor/AliasEditorWindow.cpp')
| -rw-r--r-- | src/modules/aliaseditor/AliasEditorWindow.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/aliaseditor/AliasEditorWindow.cpp b/src/modules/aliaseditor/AliasEditorWindow.cpp index 3092f3bff..7870564c3 100644 --- a/src/modules/aliaseditor/AliasEditorWindow.cpp +++ b/src/modules/aliaseditor/AliasEditorWindow.cpp @@ -922,6 +922,7 @@ void AliasEditorWidget::appendSelectedAliasItems(KviPointerList<AliasEditorTreeW } } } + void AliasEditorWidget::appendSelectedAliasItemsRecursive(KviPointerList<AliasEditorTreeWidgetItem> * l, QTreeWidgetItem * pStartFrom) { for(int i = 0; i < pStartFrom->childCount(); i++) @@ -939,10 +940,9 @@ void AliasEditorWidget::appendSelectedItems(KviPointerList<AliasEditorTreeWidget for(int i = 0; i < list.count(); i++) { l->append((AliasEditorTreeWidgetItem *)list.at(i)); - /* if (!((AliasEditorTreeWidgetItem *)list.at(i))->isAlias()) - appendSelectedAliasItemsRecursive(l,list.at(i));*/ } } + void AliasEditorWidget::appendSelectedItemsRecursive(KviPointerList<AliasEditorTreeWidgetItem> * l, QTreeWidgetItem * pStartFrom) { for(int i = 0; i < pStartFrom->childCount(); i++) @@ -1178,6 +1178,7 @@ void AliasEditorWidget::activateItem(QTreeWidgetItem * it) openParentItems(it); m_pTreeWidget->setCurrentItem(it); } + void AliasEditorWidget::newAlias() { QString szNewName = askForAliasName(__tr2qs_ctx("Enter a Filename - KVIrc", "editor"), __tr2qs_ctx("Please enter the new name for the alias.", "editor"), "myfunction"); |
