blob: 0a29a397eebb2b2b54e1d56e0c318b2ff74df4bd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/*
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.
*/
/*
ServerListView is derived from KListView and implements custom
drag'n'drop behavior needed in ServerListDialog.
Copyright (C) 2006 Eike Hein <hein@kde.org>
*/
#ifndef SERVERLISTVIEW_H
#define SERVERLISTVIEW_H
#include <klistview.h>
class TQDragObject;
class ServerListView : public KListView
{
Q_OBJECT
TQ_OBJECT
public:
explicit ServerListView(TQWidget *parent);
~ServerListView();
TQPtrList<TQListViewItem> selectedServerListItems();
protected:
void findDrop(const TQPoint &pos, TQListViewItem *&parent, TQListViewItem *&after);
TQDragObject* dragObject();
};
#endif
|