summaryrefslogtreecommitdiff
path: root/lsmainwindow.h
diff options
context:
space:
mode:
authorTreeki <treeki@gmail.com>2012-08-03 22:08:22 +0200
committerTreeki <treeki@gmail.com>2012-08-03 22:08:22 +0200
commit362976328ecb796d670b32af924f76e25922cb78 (patch)
treecddf0795aceba0af099debee28ee160f7d4308c1 /lsmainwindow.h
parent7a183cfa367db01413c001306741d06e1826d077 (diff)
downloadLayoutStudio-362976328ecb796d670b32af924f76e25922cb78.tar.gz
LayoutStudio-362976328ecb796d670b32af924f76e25922cb78.zip
added Rename and Remove Item functions
Diffstat (limited to 'lsmainwindow.h')
-rw-r--r--lsmainwindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lsmainwindow.h b/lsmainwindow.h
index f989e7a..745b4f2 100644
--- a/lsmainwindow.h
+++ b/lsmainwindow.h
@@ -44,6 +44,8 @@ public slots:
private slots:
void handleAddSomething(int whatToAdd);
+ void handleRenameItem();
+ void handleRemoveItem();
private:
LYTPackageBase *m_package;
@@ -64,6 +66,10 @@ private:
bool m_dirty;
bool m_isSaved;
+
+protected:
+ QString selectedItem() const;
+ LYTPackageBase::ItemType selectedItemType() const;
};
#endif // LSMAINWINDOW_H