[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdelibs/kfile
From:       David Faure <faure () kde ! org>
Date:       2010-05-12 16:38:36
Message-ID: 20100512163836.E9A12AC8B3 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1125908 by dfaure:

Move LayoutBlocker and TileSet into the KFilePreviewGenerator class so that they \
don't pollute the global namespace (and clash with plasma's TileSet) for people \
without hidden-visibility, like Maksim :)


 M  +2 -2      kfilepreviewgenerator.cpp  
 M  +3 -0      kfilepreviewgenerator.h  


--- trunk/KDE/kdelibs/kfile/kfilepreviewgenerator.cpp #1125907:1125908
@@ -69,7 +69,7 @@
  * would not get the correct size hints after dispatching the layoutChanged()
  * signal.
  */
-class LayoutBlocker
+class KFilePreviewGenerator::LayoutBlocker
 {
 public:
     LayoutBlocker(QAbstractItemView* view) :
@@ -95,7 +95,7 @@
 };
 
 /** Helper class for drawing frames for image previews. */
-class TileSet
+class KFilePreviewGenerator::TileSet
 {
 public:
     enum { LeftMargin = 3, TopMargin = 2, RightMargin = 3, BottomMargin = 4 };
--- trunk/KDE/kdelibs/kfile/kfilepreviewgenerator.h #1125907:1125908
@@ -119,6 +119,9 @@
 private:
     class Private;
     Private* const d; /// @internal
+    class LayoutBlocker;
+    class TileSet;
+
     Q_DISABLE_COPY(KFilePreviewGenerator)
 
     Q_PRIVATE_SLOT(d, void updateIcons(const KFileItemList&))


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic