first release
[groupsms] / sms / utility.h
diff --git a/sms/utility.h b/sms/utility.h
new file mode 100644 (file)
index 0000000..9402c90
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef UTILITY_H
+#define UTILITY_H
+
+#include <QObject>
+#include <QtGui>
+
+class Utility : public QObject
+{
+    Q_OBJECT
+public:
+    Utility(QObject *parent = 0);
+
+    static QIcon getToolButtonIcon(const QString &iconFileName, bool active = false);
+    static QPixmap getIconPixmap(const QString &iconFileName, bool active = false);
+
+};
+
+#endif // UTILITY_H