summaryrefslogtreecommitdiffstats
path: root/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:57:02 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-11-06 15:57:02 -0600
commit2c2fbd828ca474671bb9e03681b30b115d8d6035 (patch)
tree526a9da418f8d3d7ccf515c37048d3dfc80f2843 /libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h
parentf0610eece3676b6fe99f42cf4ef2b19a39a5c4e8 (diff)
downloadtdepim-2c2fbd828ca474671bb9e03681b30b115d8d6035.tar.gz
tdepim-2c2fbd828ca474671bb9e03681b30b115d8d6035.zip
Actually move the kde files that were renamed in the last commit
Diffstat (limited to 'libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h')
-rw-r--r--libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h b/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h
deleted file mode 100644
index fc49f2511..000000000
--- a/libkdepim/kpartsdesignerplugin/kpartsdesignerplugin.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- Copyright (C) 2005, David Faure <faure@kde.org>
- This file is part of the KDE project
-
- This library is free software; you can redistribute it and/or
- modify it under the terms of the GNU Library General Public
- License version 2, as published by the Free Software Foundation.
-
- This library is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- Library General Public License for more details.
-
- You should have received a copy of the GNU Library General Public License
- along with this library; see the file COPYING.LIB. If not, write to
- the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- Boston, MA 02110-1301, USA.
-*/
-
-
-#ifndef DESIGNER_PARTPLUGIN_H
-#define DESIGNER_PARTPLUGIN_H
-
-#include <tqwidgetplugin.h>
-#include <tqwidget.h>
-namespace KParts { class ReadOnlyPart; }
-
-/**
- * Generic part loader, able to view any kind of file for which
- * a KParts::ReadOnlyPart is available
- */
-class KPartsGenericPart : public TQWidget {
- Q_OBJECT
- TQ_OBJECT
- TQ_PROPERTY( TQString url READ url WRITE setURL )
- TQ_PROPERTY( TQString mimetype READ mimetype WRITE setMimetype )
-public:
- KPartsGenericPart( TQWidget* parentWidget, const char* name );
-
- TQString url() const { return m_url; }
- void setURL( const TQString& url ) { m_url = url; load(); }
-
- // The mimetype, or "auto" if unknown
- TQString mimetype() const { return m_mimetype; }
- void setMimetype( const TQString& mimetype ) { m_mimetype = mimetype; load(); }
-
-private:
- void load();
-
-private:
- TQString m_mimetype;
- TQString m_url;
- KParts::ReadOnlyPart* m_part;
-};
-
-/**
- * TQt designer plugin for embedding a KParts using KPartsGenericPart
- */
-class KPartsWidgetPlugin : public TQWidgetPlugin {
-public:
- TQStringList keys() const;
- TQWidget * create( const TQString & key, TQWidget * parent, const char * name );
- TQString group( const TQString & key ) const;
- //TQIconSet iconSet( const TQString & key ) const;
- TQString includeFile( const TQString & key ) const;
- TQString toolTip( const TQString & key ) const;
- TQString whatsThis( const TQString & key ) const;
- bool isContainer( const TQString & key ) const;
-};
-
-#endif