summaryrefslogtreecommitdiff
path: root/src/favoriteeditor.h
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2012-02-16 11:08:45 +0100
committerAlessio Treglia <alessio@debian.org>2012-02-16 11:08:45 +0100
commit65a64d260e05c7bf8d3bdf82e796637dc820e574 (patch)
tree600c2becea7f28fdefff51200bb3ed33514e4cc7 /src/favoriteeditor.h
parent1d323e54ee434609cf035598486075c9a918a2d3 (diff)
Imported Upstream version 0.7.0
Diffstat (limited to 'src/favoriteeditor.h')
-rw-r--r--src/favoriteeditor.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/favoriteeditor.h b/src/favoriteeditor.h
index 8ce1e95..9d03803 100644
--- a/src/favoriteeditor.h
+++ b/src/favoriteeditor.h
@@ -1,5 +1,5 @@
/* smplayer, GUI front-end for mplayer.
- Copyright (C) 2006-2011 Ricardo Villalba <rvm@escomposlinux.org>
+ Copyright (C) 2006-2012 Ricardo Villalba <rvm@users.sourceforge.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -44,12 +44,17 @@ public:
void setDialogIcon( const QPixmap & icon );
const QPixmap * dialogIcon() const;
+ //! The editor will give a filename to subentries (submenus), using this path.
+ void setStorePath(const QString & path) { store_path = path; }
+ QString storePath() { return store_path; }
+
protected slots:
void on_up_button_clicked();
void on_down_button_clicked();
void on_delete_button_clicked();
void on_delete_all_button_clicked();
void on_add_button_clicked();
+ void on_add_submenu_button_clicked();
void edit_icon( int row, int column );
@@ -60,7 +65,8 @@ protected:
void updateTitleLabel();
QString caption_text, intro_text;
- QString last_dir;
+ static QString last_dir;
+ QString store_path;
};
#endif