summaryrefslogtreecommitdiffstats
path: root/kiten/learn.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:44:41 +0000
commita374efce3a207b39514be3c52264091400ce297e (patch)
tree77bdf654b55826d4f59b53a5621310206bcaead1 /kiten/learn.h
parentf81a494f3957d5cf38c787973415597941934727 (diff)
downloadtdeedu-a374efce3a207b39514be3c52264091400ce297e.tar.gz
tdeedu-a374efce3a207b39514be3c52264091400ce297e.zip
TQt4 port kdeedu
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeedu@1236073 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kiten/learn.h')
-rw-r--r--kiten/learn.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/kiten/learn.h b/kiten/learn.h
index c3d732db..7a8608ff 100644
--- a/kiten/learn.h
+++ b/kiten/learn.h
@@ -36,19 +36,20 @@ class TQSplitter;
class TQTabWidget;
// Item that sorts all columns numerically
-class LearnItem : public QListViewItem
+class LearnItem : public TQListViewItem
{
public:
- LearnItem(TQListView *parent, TQString label1, TQString label2 = TQString::null, TQString label3 = TQString::null, TQString label4 = TQString::null, TQString label5 = TQString::null, TQString label6 = TQString::null, TQString label7 = TQString::null, TQString label8 = TQString::null);
+ LearnItem(TQListView *tqparent, TQString label1, TQString label2 = TQString(), TQString label3 = TQString(), TQString label4 = TQString(), TQString label5 = TQString(), TQString label6 = TQString(), TQString label7 = TQString(), TQString label8 = TQString());
int compare(TQListViewItem *item, int col, bool ascending) const;
};
class Learn : public KMainWindow
{
Q_OBJECT
+ TQ_OBJECT
public:
- Learn(Dict::Index *, TQWidget *parent = 0, const char *name = 0);
+ Learn(Dict::Index *, TQWidget *tqparent = 0, const char *name = 0);
~Learn();
bool closeWindow();