move the searchIDs in document.h, like it's done for the observerIDs

svn path=/branches/work/kde4/playground/graphics/okular/; revision=545944
remotes/origin/old/work/newpageview
Pino Toscano 20 years ago
parent b91fb33d4f
commit 91dc3ef06c
  1. 6
      core/document.h
  2. 3
      part.cpp
  3. 3
      ui/pageview.cpp
  4. 3
      ui/searchwidget.h
  5. 1
      ui/thumbnaillist.cpp

@ -37,6 +37,12 @@ class KActionCollection;
class QToolBox;
class NotifyRequest;
/** IDs for seaches. Globally defined here. **/
#define PART_SEARCH_ID 1
#define PAGEVIEW_SEARCH_ID 2
#define SW_SEARCH_ID 3
/**
* @short The Document. Heart of everything. Actions take place here.
*

@ -75,9 +75,6 @@
#include "core/generator.h"
#include "core/page.h"
// definition of searchID for this class
#define PART_SEARCH_ID 1
typedef KParts::GenericFactory<oKular::Part> oKularPartFactory;
K_EXPORT_COMPONENT_FACTORY(liboKularpart, oKularPartFactory)

@ -64,9 +64,6 @@
#define ROUND(x) (int(x + 0.5))
// definition of searchID for this class
#define PAGEVIEW_SEARCH_ID 2
// structure used internally by PageView for data storage
class PageViewPrivate
{

@ -17,9 +17,6 @@ class KLineEdit;
class QAction;
class QTimer;
// definition of searchID for this class (publicly available to ThumbnailsList)
#define SW_SEARCH_ID 3
/**
* @short A widget for find-as-you-type search. Outputs to the Document.
*

@ -26,7 +26,6 @@
// local includes
#include "thumbnaillist.h"
#include "pagepainter.h"
#include "searchwidget.h" // for SW_SEARCH_ID
#include "core/document.h"
#include "core/generator.h"
#include "core/page.h"

Loading…
Cancel
Save