summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmlibraryiconview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kpovmodeler/pmlibraryiconview.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmlibraryiconview.h')
-rw-r--r--kpovmodeler/pmlibraryiconview.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/kpovmodeler/pmlibraryiconview.h b/kpovmodeler/pmlibraryiconview.h
index 87b90ffb..84d4f5b0 100644
--- a/kpovmodeler/pmlibraryiconview.h
+++ b/kpovmodeler/pmlibraryiconview.h
@@ -30,9 +30,10 @@ class PMLibraryHandle;
/**
* This class is the drag and drop object for the icon view
*/
-class PMLibraryIconDrag : public QIconDrag
+class PMLibraryIconDrag : public TQIconDrag
{
Q_OBJECT
+ TQ_OBJECT
public:
/** Constructor */
PMLibraryIconDrag( TQWidget * dragSource, const char* name = 0 ) : TQIconDrag( dragSource, name ) {}
@@ -40,7 +41,7 @@ public:
/** @return The ith format, or NULL. */
const char* format( int i ) const;
/** @return The encoded payload of this object, in the specified MIME format. */
- TQByteArray encodedData( const char* mime ) const;
+ TQByteArray tqencodedData( const char* mime ) const;
/** @return True if the information in e can be decoded */
static bool canDecode( TQMimeSource* e );
/**
@@ -62,8 +63,9 @@ private:
class PMLibraryIconView: public KIconView
{
Q_OBJECT
+ TQ_OBJECT
public:
- PMLibraryIconView( TQWidget *parent, const char* name = NULL );
+ PMLibraryIconView( TQWidget *tqparent, const char* name = NULL );
/**
* Set the library base path
@@ -99,8 +101,8 @@ private:
class PMLibraryIconViewItem: public KIconViewItem
{
public:
- PMLibraryIconViewItem( TQIconView *parent, const TQString& text, const TQString& path, bool isSubLibrary );
- PMLibraryIconViewItem( TQIconView *parent, const TQString& text, const TQImage& image, const TQString& path, bool isSubLibrary );
+ PMLibraryIconViewItem( TQIconView *tqparent, const TQString& text, const TQString& path, bool isSubLibrary );
+ PMLibraryIconViewItem( TQIconView *tqparent, const TQString& text, const TQImage& image, const TQString& path, bool isSubLibrary );
/** Get the path of the entry */
TQString path( ) const { return m_path; }