summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmlibraryiconview.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kpovmodeler/pmlibraryiconview.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpovmodeler/pmlibraryiconview.h')
-rw-r--r--kpovmodeler/pmlibraryiconview.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/kpovmodeler/pmlibraryiconview.h b/kpovmodeler/pmlibraryiconview.h
index a30ef529..87b90ffb 100644
--- a/kpovmodeler/pmlibraryiconview.h
+++ b/kpovmodeler/pmlibraryiconview.h
@@ -35,25 +35,25 @@ class PMLibraryIconDrag : public QIconDrag
Q_OBJECT
public:
/** Constructor */
- PMLibraryIconDrag( QWidget * dragSource, const char* name = 0 ) : QIconDrag( dragSource, name ) {}
+ PMLibraryIconDrag( TQWidget * dragSource, const char* name = 0 ) : TQIconDrag( dragSource, name ) {}
/** @return The ith format, or NULL. */
const char* format( int i ) const;
/** @return The encoded payload of this object, in the specified MIME format. */
- QByteArray encodedData( const char* mime ) const;
+ TQByteArray encodedData( const char* mime ) const;
/** @return True if the information in e can be decoded */
- static bool canDecode( QMimeSource* e );
+ static bool canDecode( TQMimeSource* e );
/**
* Attempts to decode the data in e
* @return True if successful otherwise returns false
*/
- static bool decode( QMimeSource* e, QStringList& StrList, QValueList<bool>& subLibList );
+ static bool decode( TQMimeSource* e, TQStringList& StrList, TQValueList<bool>& subLibList );
/** Adds a item to the object */
- void append( const QIconDragItem &item, const QRect &pr, const QRect &tr, const QString &path, bool subLib );
+ void append( const TQIconDragItem &item, const TQRect &pr, const TQRect &tr, const TQString &path, bool subLib );
private:
- QStringList m_paths;
- QValueList<bool> m_subLibs;
+ TQStringList m_paths;
+ TQValueList<bool> m_subLibs;
};
/**
@@ -63,7 +63,7 @@ class PMLibraryIconView: public KIconView
{
Q_OBJECT
public:
- PMLibraryIconView( QWidget *parent, const char* name = NULL );
+ PMLibraryIconView( TQWidget *parent, const char* name = NULL );
/**
* Set the library base path
@@ -81,11 +81,11 @@ public slots:
void refresh( );
/** called when an Item is dropped onto the view */
- void slotDropped( QDropEvent *e, const QValueList<QIconDragItem>& );
+ void slotDropped( TQDropEvent *e, const TQValueList<TQIconDragItem>& );
protected:
- /** @return a QDragObject for drag and drop */
- virtual QDragObject* dragObject( );
+ /** @return a TQDragObject for drag and drop */
+ virtual TQDragObject* dragObject( );
private:
PMLibraryHandle *m_pLibrary;
@@ -99,24 +99,24 @@ private:
class PMLibraryIconViewItem: public KIconViewItem
{
public:
- PMLibraryIconViewItem( QIconView *parent, const QString& text, const QString& path, bool isSubLibrary );
- PMLibraryIconViewItem( QIconView *parent, const QString& text, const QImage& image, const QString& path, bool isSubLibrary );
+ 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 );
/** Get the path of the entry */
- QString path( ) const { return m_path; }
+ TQString path( ) const { return m_path; }
/** Is the entry a sublib library? */
bool isSubLibrary( ) const { return m_isSubLibrary; }
/** Reimplement accept drop to take items */
- virtual bool acceptDrop( const QMimeSource *mime ) const;
+ virtual bool acceptDrop( const TQMimeSource *mime ) const;
protected:
/** Tokes a dropped item */
- void dropped( QDropEvent *evt, const QValueList<QIconDragItem>& );
+ void dropped( TQDropEvent *evt, const TQValueList<TQIconDragItem>& );
/** Checks for the existance of oldpath and generates a new path as required */
- QString newPath( const QString oldPath, bool subLib );
+ TQString newPath( const TQString oldPath, bool subLib );
private:
- QString m_path;
+ TQString m_path;
bool m_isSubLibrary;
};