From 5159cd2beb2e87806a5b54e9991b7895285c9d3e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 27 Jan 2013 01:04:16 -0600 Subject: Rename a number of libraries and executables to avoid conflicts with KDE4 --- kio/kfile/kpreviewwidgetbase.cpp | 49 ---------------------------------------- 1 file changed, 49 deletions(-) delete mode 100644 kio/kfile/kpreviewwidgetbase.cpp (limited to 'kio/kfile/kpreviewwidgetbase.cpp') diff --git a/kio/kfile/kpreviewwidgetbase.cpp b/kio/kfile/kpreviewwidgetbase.cpp deleted file mode 100644 index 979da919e..000000000 --- a/kio/kfile/kpreviewwidgetbase.cpp +++ /dev/null @@ -1,49 +0,0 @@ -/* - * This file is part of the KDE project. - * Copyright (C) 2003 Carsten Pfeiffer - * - * You can Freely distribute this program under the GNU Library General Public - * License. See the file "COPYING" for the exact licensing terms. - */ - -#include "kpreviewwidgetbase.h" -#include - -class KPreviewWidgetBase::KPreviewWidgetBasePrivate -{ -public: - TQStringList supportedMimeTypes; -}; - -TQPtrDict * KPreviewWidgetBase::s_private; - -KPreviewWidgetBase::KPreviewWidgetBase( TQWidget *parent, const char *name ) - : TQWidget( parent, name ) -{ - if ( !s_private ) - s_private = new TQPtrDict(); - - s_private->insert( this, new KPreviewWidgetBasePrivate() ); -} - -KPreviewWidgetBase::~KPreviewWidgetBase() -{ - s_private->remove( this ); - if ( s_private->isEmpty() ) - { - delete s_private; - s_private = 0L; - } -} - -void KPreviewWidgetBase::setSupportedMimeTypes( const TQStringList& mimeTypes ) -{ - d()->supportedMimeTypes = mimeTypes; -} - -TQStringList KPreviewWidgetBase::supportedMimeTypes() const -{ - return d()->supportedMimeTypes; -} - -#include "kpreviewwidgetbase.moc" -- cgit v1.2.1