summaryrefslogtreecommitdiffstats
path: root/src/cuesheeteditor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cuesheeteditor.h')
-rwxr-xr-xsrc/cuesheeteditor.h50
1 files changed, 50 insertions, 0 deletions
diff --git a/src/cuesheeteditor.h b/src/cuesheeteditor.h
new file mode 100755
index 0000000..db5d986
--- /dev/null
+++ b/src/cuesheeteditor.h
@@ -0,0 +1,50 @@
+
+
+#ifndef CUESHEETEDITOR_H
+#define CUESHEETEDITOR_H
+
+#include <kdialog.h>
+#include <ktextedit.h>
+
+
+//class KTextEdit;
+class KPushButton;
+
+/**
+ * @short The editor tool for cuesheet files
+ * @author Daniel Faust <[email protected]>
+ * @version 0.3
+ */
+class CuesheetEditor : public KDialog
+{
+ Q_OBJECT
+public:
+ /**
+ * Default Constructor
+ */
+ CuesheetEditor( QWidget* parent=0, const char* name=0, bool modal=true, WFlags f=0 );
+
+ /**
+ * Default Destructor
+ */
+ virtual ~CuesheetEditor();
+
+ void setContent( const QString& text ) { tTextEdit->setText( text ); }
+
+private slots:
+ void help();
+ void convert();
+ void generate();
+ void shift();
+
+private:
+ KTextEdit* tTextEdit;
+ KPushButton* pHelp;
+ KPushButton* pGenerate;
+ KPushButton* pConvert;
+ KPushButton* pShift;
+ KPushButton* pOk;
+
+};
+
+#endif // CUESHEETEDITOR_H