diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:02:43 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:02:43 -0600 |
commit | aea627236e4de24599c3e30617cf264c3c1b7d40 (patch) | |
tree | 467e13ca5a7eb0ab292259289ecc3572f53c5eae /kexi/formeditor/widgetfactory.h | |
parent | 786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff) | |
download | koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kexi/formeditor/widgetfactory.h')
-rw-r--r-- | kexi/formeditor/widgetfactory.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/formeditor/widgetfactory.h b/kexi/formeditor/widgetfactory.h index 0bc2b47c..7be11444 100644 --- a/kexi/formeditor/widgetfactory.h +++ b/kexi/formeditor/widgetfactory.h @@ -40,7 +40,7 @@ class TQDomElement; class TQDomDocument; class TQVariant; class TQListView; -class KActionCollection; +class TDEActionCollection; class KTextEdit; class KLineEdit; class KXMLGUIClient; @@ -107,7 +107,7 @@ class KFORMEDITOR_EXPORT WidgetInfo If this name is found when loading a .ui file, the className() will be used instead. It allows to support both KDE and TQt versions of widget, without duplicating code. As a rule, className() should always return a class name which is inherited from - alternate class. For example KListView class has alternate TQListView class. + alternate class. For example TDEListView class has alternate TQListView class. \a override parameter overrides class name of a widget, even if it was implemented in other factory. @@ -300,7 +300,7 @@ class KFORMEDITOR_EXPORT WidgetFactory : public TQObject /*! Creates custom actions. Reimplement this if you need to add some actions coming from the factory. */ - virtual void createCustomActions(KActionCollection *col) { Q_UNUSED(col); }; + virtual void createCustomActions(TDEActionCollection *col) { Q_UNUSED(col); }; /*! This function can be used to add custom items in widget \a w context menu \a menu. */ |