• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kio

kbookmarkbar.cc File Reference

#include <qregexp.h>
#include <qfile.h>
#include <kbookmarkbar.h>
#include <kbookmarkdrag.h>
#include <kbookmarkmenu.h>
#include <kdebug.h>
#include <ktoolbar.h>
#include <ktoolbarbutton.h>
#include <kconfig.h>
#include <kpopupmenu.h>
#include "kbookmarkmenu_p.h"
#include "kbookmarkdombuilder.h"
#include "dptrtemplate.h"
#include <qapplication.h>
#include "kbookmarkbar.moc"

Include dependency graph for kbookmarkbar.cc:

Go to the source code of this file.


Defines

#define CURRENT_MANAGER()
#define CURRENT_TOOLBAR()

Functions

static KAction * findPluggedAction (QPtrList< KAction > actions, KToolBar *tb, int id)
static QString handleToolbarDragMoveEvent (KBookmarkBarPrivate *p, KToolBar *tb, QPoint pos, QPtrList< KAction > actions, bool &atFirst, KBookmarkManager *mgr)
static KAction * handleToolbarMouseButton (QPoint pos, QPtrList< KAction > actions, KBookmarkManager *, QPoint &pt)
static void removeTempSep (KBookmarkBarPrivate *p)
static RMB * rmbSelf (KBookmarkBar *m)
static bool showInToolbar (const KBookmark &bk)

Variables

static const int const_sepId = -9999

Define Documentation

 
#define CURRENT_MANAGER (  ) 

Value:

( \
    dptr()->m_filteredMgr ? dptr()->m_filteredMgr  \
                          : m_pManager )

Definition at line 117 of file kbookmarkbar.cc.

 
#define CURRENT_TOOLBAR (  ) 

Value:

( \
    dptr()->m_filteredMgr ? dptr()->m_filteredMgr->root()  \
                          : m_pManager->toolbar() )

Definition at line 113 of file kbookmarkbar.cc.


Function Documentation

static KAction* findPluggedAction ( QPtrList< KAction >  actions,
KToolBar *  tb,
int  id 
) [static]

Definition at line 285 of file kbookmarkbar.cc.

static QString handleToolbarDragMoveEvent ( KBookmarkBarPrivate *  p,
KToolBar *  tb,
QPoint  pos,
QPtrList< KAction >  actions,
bool &  atFirst,
KBookmarkManager *  mgr 
) [static]

Handle a QDragMoveEvent event on a toolbar drop.

Returns:
the address of the bookmark to be dropped after/before else a QString::null if event should be ignored
Parameters:
pos the current QDragMoveEvent position
the toolbar
actions the list of actions plugged into the bar
atFirst bool reference, when true the position before the returned action was dropped on

Definition at line 304 of file kbookmarkbar.cc.

static KAction* handleToolbarMouseButton ( QPoint  pos,
QPtrList< KAction >  actions,
KBookmarkManager *  ,
QPoint &  pt 
) [static]

Definition at line 385 of file kbookmarkbar.cc.

static void removeTempSep ( KBookmarkBarPrivate *  p  )  [static]

Definition at line 277 of file kbookmarkbar.cc.

static RMB* rmbSelf ( KBookmarkBar *  m  )  [static]

Definition at line 418 of file kbookmarkbar.cc.

static bool showInToolbar ( const KBookmark &  bk  )  [static]

Definition at line 525 of file kbookmarkbar.cc.


Variable Documentation

const int const_sepId = -9999 [static]

Definition at line 273 of file kbookmarkbar.cc.

kio

Skip menu "kio"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal