summaryrefslogtreecommitdiff
path: root/muse2/muse/icons.cpp
diff options
context:
space:
mode:
authorOrcan Ogetbil <oget.fedora@gmail.com>2010-11-19 09:21:24 +0000
committerOrcan Ogetbil <oget.fedora@gmail.com>2010-11-19 09:21:24 +0000
commit3b63d9a339d8e850ba6d8e4ae979fa60eef2dc4d (patch)
tree0e65608c4d744dae5cb2a823a0c5288ceafdebc2 /muse2/muse/icons.cpp
parent9f4fe43ebc85153566661f6cd38fdb0b29f60e04 (diff)
Move filedialog's .xpm files to the right place. Convert commentbase to Qt4
Diffstat (limited to 'muse2/muse/icons.cpp')
-rw-r--r--muse2/muse/icons.cpp18
1 files changed, 15 insertions, 3 deletions
diff --git a/muse2/muse/icons.cpp b/muse2/muse/icons.cpp
index efe70801..c949b4d3 100644
--- a/muse2/muse/icons.cpp
+++ b/muse2/muse/icons.cpp
@@ -209,6 +209,10 @@
#include "xpm/stereo.xpm"
#include "xpm/muse_icon.xpm"
+#include "xpm/global.xpm"
+#include "xpm/project.xpm"
+#include "xpm/user.xpm"
+
#if QT_VERSION >= 0x040600
#define MPIXMAP(a,b) QPixmap(QIcon::fromTheme(b, QIcon(QPixmap(a))).pixmap(QPixmap(a).width(),QPixmap(a).height()))
#define MICON(a,b) QIcon(QIcon::fromTheme(b, QIcon(QPixmap(a))))
@@ -420,6 +424,10 @@ QPixmap* monoIcon;
QPixmap* stereoIcon;
QPixmap* museIcon;
+QIcon* globalIcon;
+QIcon* projectIcon;
+QIcon* userIcon;
+
//---------------------------------------------------------
// initIcons
//---------------------------------------------------------
@@ -622,9 +630,13 @@ void initIcons()
view_mixerIcon = new MPIXMAP(view_mixer_xpm, NULL);
view_transport_windowIcon = new MPIXMAP(view_transport_window_xpm, NULL);
- monoIcon = new MPIXMAP(mono_xpm, NULL);
- stereoIcon = new MPIXMAP(stereo_xpm, NULL);
+ monoIcon = new MPIXMAP(mono_xpm, NULL);
+ stereoIcon = new MPIXMAP(stereo_xpm, NULL);
+
+ museIcon = new MPIXMAP(muse_icon_xpm, NULL);
- museIcon = new MPIXMAP(muse_icon_xpm, NULL);
+ globalIcon = new MICON(global_xpm, "folder");
+ userIcon = new MICON(user_xpm, "user-home");
+ projectIcon = new MICON(project_xpm, "folder-sound");
}