new style for the progressbars, display more info
[case] / src / utils.h
diff --git a/src/utils.h b/src/utils.h
new file mode 100644 (file)
index 0000000..b3e1654
--- /dev/null
@@ -0,0 +1,33 @@
+// case - file manager for N900
+// Copyright (C) 2010 Lukas Hrazky <lukkash@email.cz>
+// 
+// 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
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+// 
+// This program is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+// 
+// You should have received a copy of the GNU General Public License
+// along with this program. If not, see <http://www.gnu.org/licenses/>.
+
+
+#ifndef UTILS_H
+#define UTILS_H
+
+#include <QPalette>
+#include <QPixmap>
+#include <QIcon>
+
+
+#define ICON_PATH QString("/usr/share/pixmaps/case/")
+#define ICON_SET "default"
+
+
+bool loadOperationIcons(const QPalette &p, const QString &name, QPixmap &normal, QPixmap &inverse);
+bool loadMiddleButtonIcons(const QPalette &p, const QString &name, QIcon &normal, QIcon &mirrored);
+
+#endif // UTILS_H