summaryrefslogtreecommitdiffstats
path: root/src/detailedlistview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/detailedlistview.h')
-rw-r--r--src/detailedlistview.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/src/detailedlistview.h b/src/detailedlistview.h
index c6c7299..c0efa9d 100644
--- a/src/detailedlistview.h
+++ b/src/detailedlistview.h
@@ -18,9 +18,9 @@
#include "observer.h"
#include "filter.h"
-#include <qstringlist.h>
-#include <qpixmap.h>
-#include <qvaluevector.h>
+#include <tqstringlist.h>
+#include <tqpixmap.h>
+#include <tqvaluevector.h>
class KPopupMenu;
@@ -35,21 +35,22 @@ namespace Tellico {
*/
class DetailedListView : public GUI::ListView, public Observer {
Q_OBJECT
+ TQ_OBJECT
public:
/**
* The constructor initializes the popup menu, but no columns are inserted.
*
- * @param parent A pointer to the parent widget
+ * @param tqparent A pointer to the tqparent widget
* @param name The widget name
*/
- DetailedListView(QWidget* parent, const char* name=0);
+ DetailedListView(TQWidget* tqparent, const char* name=0);
~DetailedListView();
/**
* Event filter used to popup the menu
*/
- bool eventFilter(QObject* obj, QEvent* ev);
+ bool eventFilter(TQObject* obj, TQEvent* ev);
/**
* Selects the item which refers to a certain entry.
*
@@ -63,10 +64,10 @@ public:
int prev2SortedColumn() const;
virtual void setSorting(int column, bool ascending = true);
void setPrevSortedColumn(int prev1, int prev2);
- QString sortColumnTitle1() const;
- QString sortColumnTitle2() const;
- QString sortColumnTitle3() const;
- QStringList visibleColumns() const;
+ TQString sortColumnTitle1() const;
+ TQString sortColumnTitle2() const;
+ TQString sortColumnTitle3() const;
+ TQStringList visibleColumns() const;
Data::EntryVec visibleEntries();
/**
@@ -120,7 +121,7 @@ public:
* @param height Height
*/
void setPixmapSize(int width, int height) { m_pixWidth = width; m_pixHeight = height; }
- void resetEntryStatus();
+ void resetEntrytqStatus();
virtual int compare(int col, const GUI::ListViewItem* item1, GUI::ListViewItem* item2, bool asc);
@@ -174,7 +175,7 @@ private slots:
* @param point The location point
* @param col The column number, not currently used
*/
- void contextMenuRequested(QListViewItem* item, const QPoint& point, int col);
+ void contextMenuRequested(TQListViewItem* item, const TQPoint& point, int col);
void slotHeaderMenuActivated(int id);
void slotCacheColumnWidth(int section, int oldSize, int newSize);
/**
@@ -184,9 +185,9 @@ private slots:
private:
struct ConfigInfo {
- QStringList cols;
- QValueList<int> widths;
- QValueList<int> order;
+ TQStringList cols;
+ TQValueList<int> widths;
+ TQValueList<int> order;
int colSorted;
bool ascSort : 1;
int prevSort;
@@ -194,12 +195,12 @@ private:
};
KPopupMenu* m_headerMenu;
- QValueVector<int> m_columnWidths;
- QValueVector<bool> m_isDirty;
- QValueVector<int> m_imageColumns;
+ TQValueVector<int> m_columnWidths;
+ TQValueVector<bool> m_isDirty;
+ TQValueVector<int> m_imageColumns;
bool m_loadingCollection;
- QPixmap m_entryPix;
- QPixmap m_checkPix;
+ TQPixmap m_entryPix;
+ TQPixmap m_checkPix;
FilterPtr m_filter;
int m_prevSortColumn;