summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/xsldbglistitem.h
diff options
context:
space:
mode:
Diffstat (limited to 'kxsldbg/kxsldbgpart/xsldbglistitem.h')
-rw-r--r--kxsldbg/kxsldbgpart/xsldbglistitem.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/kxsldbg/kxsldbgpart/xsldbglistitem.h b/kxsldbg/kxsldbgpart/xsldbglistitem.h
new file mode 100644
index 00000000..35ad39c7
--- /dev/null
+++ b/kxsldbg/kxsldbgpart/xsldbglistitem.h
@@ -0,0 +1,45 @@
+/***************************************************************************
+ xsldbglistitem.h - description
+
+ -------------------
+ begin : Sun Jan 6 2002
+ copyright : (C) 2002 by Keith Isdale
+ email : k_isdale@tpg.com.au
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * 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 XSLDBGLISTITEM_H
+#define XSLDBGLISTITEM_H
+
+/**
+ *@author Keith Isdale
+ */
+
+
+#include <qlistview.h>
+
+class XsldbgListItem : public QListViewItem {
+public:
+ /** column offset is the index of the fileName column */
+ XsldbgListItem(QListView *parent, int columnOffset,
+ const QString &fileName, int lineNumber);
+ ~XsldbgListItem();
+
+
+ QString getFileName() const;
+ int getLineNumber() const;
+
+private:
+ QString fileName;
+ int lineNumber;
+};
+
+#endif