summaryrefslogtreecommitdiffstats
path: root/kexi/formeditor/formmanager.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:02:43 -0600
commitaea627236e4de24599c3e30617cf264c3c1b7d40 (patch)
tree467e13ca5a7eb0ab292259289ecc3572f53c5eae /kexi/formeditor/formmanager.h
parent786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff)
downloadkoffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz
koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kexi/formeditor/formmanager.h')
-rw-r--r--kexi/formeditor/formmanager.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kexi/formeditor/formmanager.h b/kexi/formeditor/formmanager.h
index 39006a7b..036bf90e 100644
--- a/kexi/formeditor/formmanager.h
+++ b/kexi/formeditor/formmanager.h
@@ -30,14 +30,14 @@
class TQWidget;
class TQWorkspace;
-class KPopupMenu;
-class KActionCollection;
-class KAction;
-class KToggleAction;
+class TDEPopupMenu;
+class TDEActionCollection;
+class TDEAction;
+class TDEToggleAction;
class KDialogBase;
class KTextEdit;
class KXMLGUIClient;
-class KMainWindow;
+class TDEMainWindow;
namespace KoProperty {
class Editor;
@@ -55,7 +55,7 @@ class WidgetLibrary;
class ObjectTreeView;
class Connection;
class FormManager;
-typedef TQPtrList<KAction> ActionList;
+typedef TQPtrList<TDEAction> ActionList;
//! @internal
//static FormManager* FormManager_static = 0;
@@ -95,13 +95,13 @@ class KFORMEDITOR_EXPORT FormManager : public TQObject
enum Options { HideEventsInPopupMenu = 1, SkipFileActions = 2,
HideSignalSlotConnections = 4 }; //todo
- /*! Creates all the KActions related to widget insertion, and plug them
+ /*! Creates all the TDEActions related to widget insertion, and plug them
into the \a collection. \a client XML GUI client is used to call
lib->addCustomWidgetActions(client).
These actions are automatically connected to \ref insertWidget() slot.
\return a TQPtrList of the created actions.
*/
- ActionList createActions(WidgetLibrary *lib, KActionCollection* collection, KXMLGUIClient *client);
+ ActionList createActions(WidgetLibrary *lib, TDEActionCollection* collection, KXMLGUIClient *client);
/*! Enables or disables actions \a name.
KFD uses KPart's, action collection here.
@@ -109,7 +109,7 @@ class KFORMEDITOR_EXPORT FormManager : public TQObject
virtual void enableAction( const char* name, bool enable ) = 0;
/*! \return action for \a name. @see enableAction() */
- virtual KAction* action(const char* name) = 0;
+ virtual TDEAction* action(const char* name) = 0;
bool isPasteEnabled();
@@ -453,7 +453,7 @@ class KFORMEDITOR_EXPORT FormManager : public TQObject
// Copy/Paste
TQDomDocument m_domDoc;
- KPopupMenu *m_popup;
+ TDEPopupMenu *m_popup;
TQPoint m_insertPoint;
TQGuardedPtr<TQWidget> m_menuWidget;
@@ -464,11 +464,11 @@ class KFORMEDITOR_EXPORT FormManager : public TQObject
// Connection stuff
bool m_drawingSlot;
Connection *m_connection;
- KPopupMenu *m_sigSlotMenu;
+ TDEPopupMenu *m_sigSlotMenu;
// Actions
- KActionCollection *m_collection;
- KToggleAction *m_pointer, *m_dragConnection, *m_snapToGrid;
+ TDEActionCollection *m_collection;
+ TDEToggleAction *m_pointer, *m_dragConnection, *m_snapToGrid;
//! Used to delayed widgets deletion
TQTimer m_deleteWidgetLater_timer;