summaryrefslogtreecommitdiffstats
path: root/sidebar/dndlistbox.h
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2016-03-25 20:06:45 +0100
committerSlávek Banko <[email protected]>2016-03-25 20:06:45 +0100
commit88b7febc2393324ee14940c1c41a8ddc342c35f6 (patch)
treeb9a917fd3a40988e6e0134490f5357e5335c1c70 /sidebar/dndlistbox.h
parent2ee99ab520931c5efe91123c85ba10064a45e95d (diff)
downloadtde-style-baghira-88b7febc2393324ee14940c1c41a8ddc342c35f6.tar.gz
tde-style-baghira-88b7febc2393324ee14940c1c41a8ddc342c35f6.zip
Initial TDE conversion
Signed-off-by: Slávek Banko <[email protected]>
Diffstat (limited to 'sidebar/dndlistbox.h')
-rw-r--r--sidebar/dndlistbox.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sidebar/dndlistbox.h b/sidebar/dndlistbox.h
index 25e6e85..1bd25e2 100644
--- a/sidebar/dndlistbox.h
+++ b/sidebar/dndlistbox.h
@@ -6,7 +6,7 @@
#include <config.h>
#endif
-#include <klistbox.h>
+#include <tdelistbox.h>
#include <tqptrlist.h>
#include <tqstringlist.h>
#include "baghirasidebariface.h"
@@ -18,13 +18,13 @@ class TQDragLeaveEvent;
class TQDropEvent;
class TQKeyEvent;
class TQPoint;
-class KPopupMenu;
+class TDEPopupMenu;
class LinkConfig;
class ListBoxLink;
class ListBoxDevice;
class TQResizeEvent;
-class ResizingLinkBox : public KListBox
+class ResizingLinkBox : public TDEListBox
{
Q_OBJECT
@@ -51,7 +51,7 @@ protected:
void mousePressEvent ( TQMouseEvent * );
void mouseReleaseEvent ( TQMouseEvent * );
void contentsWheelEvent ( TQWheelEvent * );
- KPopupMenu *popupMenu;
+ TDEPopupMenu *popupMenu;
uint size_;
private slots:
void setIconSize(int);
@@ -76,7 +76,7 @@ protected:
void mousePressEvent ( TQMouseEvent * );
void resizeEvent ( TQResizeEvent * );
private:
- KPopupMenu *devicePopup;
+ TDEPopupMenu *devicePopup;
DCOPClient *client;
ListBoxDevice *currentFloppy;
typedef TQPtrList<ListBoxDevice> DeviceList;
@@ -108,7 +108,7 @@ protected:
void dropEvent ( TQDropEvent * );
void startDrag();
private:
- ListBoxLink *currentItem; //TODO: unshadow int KListBox::currentItem()
+ ListBoxLink *currentItem; //TODO: unshadow int TDEListBox::currentItem()
LinkConfig *dialog;
bool dragging_;
void pasteURL(int mode, TQListBoxItem *after = 0);