summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/widgets/bookmarks/sidebar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kftpgrabber/src/widgets/bookmarks/sidebar.cpp')
-rw-r--r--kftpgrabber/src/widgets/bookmarks/sidebar.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kftpgrabber/src/widgets/bookmarks/sidebar.cpp b/kftpgrabber/src/widgets/bookmarks/sidebar.cpp
index 21ee0d9..1762e20 100644
--- a/kftpgrabber/src/widgets/bookmarks/sidebar.cpp
+++ b/kftpgrabber/src/widgets/bookmarks/sidebar.cpp
@@ -33,13 +33,13 @@
* files in the program, then also delete it here.
*/
-#include <qlayout.h>
-#include <qsplitter.h>
-#include <qvbox.h>
+#include <ntqlayout.h>
+#include <ntqsplitter.h>
+#include <ntqvbox.h>
-#include <kaction.h>
-#include <klocale.h>
-#include <ktoolbar.h>
+#include <tdeaction.h>
+#include <tdelocale.h>
+#include <tdetoolbar.h>
#include "kftpapi.h"
#include "kftpbookmarks.h"
@@ -55,17 +55,17 @@ namespace KFTPWidgets {
namespace Bookmarks {
-KActionCollection *Sidebar::actionCollection()
+TDEActionCollection *Sidebar::actionCollection()
{
return KFTPAPI::getInstance()->mainWindow()->actionCollection();
}
-Sidebar::Sidebar(QWidget *parent, const char *name)
- : QWidget(parent, name)
+Sidebar::Sidebar(TQWidget *parent, const char *name)
+ : TQWidget(parent, name)
{
- QVBoxLayout *layout = new QVBoxLayout(this);
+ TQVBoxLayout *layout = new TQVBoxLayout(this);
- m_toolBar = new KToolBar(this, "bookmarkToolBar");
+ m_toolBar = new TDEToolBar(this, "bookmarkToolBar");
m_toolBar->setIconSize(16);
layout->addWidget(m_toolBar);
@@ -77,8 +77,8 @@ Sidebar::Sidebar(QWidget *parent, const char *name)
layout->addWidget(m_tree);
- m_editAction = new KAction(i18n("&Edit..."), "edit", KShortcut(), this, SLOT(slotEditAction()), actionCollection(), "bookmark_edit2");
- connect(m_tree, SIGNAL(bookmarkClicked(QListViewItem*)), this, SLOT(slotClicked(QListViewItem*)));
+ m_editAction = new TDEAction(i18n("&Edit..."), "edit", TDEShortcut(), this, SLOT(slotEditAction()), actionCollection(), "bookmark_edit2");
+ connect(m_tree, SIGNAL(bookmarkClicked(TQListViewItem*)), this, SLOT(slotClicked(TQListViewItem*)));
connect(m_tree, SIGNAL(bookmarkNew(ListViewItem*, KFTPBookmarks::Site*)), this, SLOT(slotNewAction(ListViewItem*, KFTPBookmarks::Site*)));
// Get the new bookmark data
@@ -127,7 +127,7 @@ void Sidebar::slotNewAction(ListViewItem*, KFTPBookmarks::Site *site)
delete editor;
}
-void Sidebar::slotClicked(QListViewItem *item)
+void Sidebar::slotClicked(TQListViewItem *item)
{
// When nodes are expanded, item is 0, although an item is still selected, so grab it here
item = m_tree->selectedItems().at(0);