summaryrefslogtreecommitdiffstats
path: root/kipi-plugins/printwizard/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'kipi-plugins/printwizard/utils.h')
-rw-r--r--kipi-plugins/printwizard/utils.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/kipi-plugins/printwizard/utils.h b/kipi-plugins/printwizard/utils.h
new file mode 100644
index 0000000..43d5fc4
--- /dev/null
+++ b/kipi-plugins/printwizard/utils.h
@@ -0,0 +1,37 @@
+/***************************************************************************
+ utils.h - description
+ -------------------
+ begin : Fri Jan 31 2003
+ copyright : (C) 2003 by Todd Shoemaker
+ email : jtshoe11@yahoo.com
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * 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 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#ifndef UTILS_H
+#define UTILS_H
+
+class QWidget;
+class QStringList;
+
+namespace KIPIPrintWizardPlugin
+{
+
+int NINT(double n);
+int MIN(int a, int b);
+int MAX(int a, int b);
+
+bool launchExternalApp(QStringList &args);
+bool checkTempPath(QWidget *parent, QString tempPath);
+
+} // NameSpace KIPIPrintWizardPlugin
+
+#endif // UTILS_H
+