summaryrefslogtreecommitdiffstats
path: root/kpovmodeler/pmlibrarybrowser.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/pmlibrarybrowser.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/pmlibrarybrowser.h')
-rw-r--r--kpovmodeler/pmlibrarybrowser.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/kpovmodeler/pmlibrarybrowser.h b/kpovmodeler/pmlibrarybrowser.h
index b7a2d881..7c8a1899 100644
--- a/kpovmodeler/pmlibrarybrowser.h
+++ b/kpovmodeler/pmlibrarybrowser.h
@@ -40,7 +40,7 @@ class PMLibraryHandle;
class PMPart;
namespace KIO{ class Job; }
-typedef TQDict<TQString> QStringDict;
+typedef TQDict<TQString> TQStringDict;
/**
* Wrapper class for the treeview/dock widget
@@ -48,11 +48,12 @@ typedef TQDict<TQString> QStringDict;
class PMLibraryBrowserView : public PMViewBase
{
Q_OBJECT
+ TQ_OBJECT
public:
/**
* Default constructor
*/
- PMLibraryBrowserView( PMPart* part, TQWidget* parent, const char* name = 0 );
+ PMLibraryBrowserView( PMPart* part, TQWidget* tqparent, const char* name = 0 );
/** */
virtual TQString viewType( ) const { return TQString( "librarybrowserview" ); }
@@ -63,11 +64,12 @@ public:
/**
* This class provides a non-modal dialog to browse the available libraries.
*/
-class PMLibraryBrowserViewWidget: public QWidget
+class PMLibraryBrowserViewWidget: public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- PMLibraryBrowserViewWidget( TQWidget *parent, const char* name = NULL );
+ PMLibraryBrowserViewWidget( TQWidget *tqparent, const char* name = NULL );
private slots:
void resizeEvent( TQResizeEvent* ev );
@@ -110,9 +112,9 @@ public:
virtual TQString viewType( ) const { return TQString( "librarybrowserview" ); }
virtual TQString description( ) const;
virtual TQString iconName( ) const { return TQString( "pmlibrarybrowserview" ); }
- virtual PMViewBase* newInstance( TQWidget* parent, PMPart* part ) const
+ virtual PMViewBase* newInstance( TQWidget* tqparent, PMPart* part ) const
{
- return new PMLibraryBrowserView( part, parent );
+ return new PMLibraryBrowserView( part, tqparent );
}
};