diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:09:42 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:09:42 -0600 |
commit | 2df6bde18ab40472f2df8637cf6456cb80dc2329 (patch) | |
tree | 5a4362124ff46786fce835d2f1e7d583c92a5670 /doc/signal.html | |
parent | be6cfa4b990910e65e8d2f4f212eba3f7da6ee72 (diff) | |
download | pytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.tar.gz pytde-2df6bde18ab40472f2df8637cf6456cb80dc2329.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'doc/signal.html')
-rw-r--r-- | doc/signal.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/signal.html b/doc/signal.html index 51fa7b6..7ca2180 100644 --- a/doc/signal.html +++ b/doc/signal.html @@ -184,7 +184,7 @@ NAME="AEN103" ></A >Slots in Menus, Toolbars and Actions</H2 ><P ->The C++ declarations for menu items or KActions are similar to these examples:</P +>The C++ declarations for menu items or TDEActions are similar to these examples:</P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" @@ -197,7 +197,7 @@ CLASS="PROGRAMLISTING" const TQObject * receiver, const char * member, int accel = 0, int id = -1, int index = -1 ) -KAction ( const TQString& text, int accel, +TDEAction ( const TQString& text, int accel, const TQObject* receiver, const char* slot, TQObject* parent, const char* name = 0 )</PRE ></TD @@ -207,7 +207,7 @@ KAction ( const TQString& text, int accel, >Notice the "const TQObject* receiver, const char* slot" parameters for each declaration.</P ><P >In PyKDE, these two parameters are replaced with a SINGLE parameter that specifies the -slot to be connected to the menu item, toolbar button or KAction:</P +slot to be connected to the menu item, toolbar button or TDEAction:</P ><TABLE BORDER="0" BGCOLOR="#E0E0E0" @@ -218,13 +218,13 @@ WIDTH="100%" CLASS="PROGRAMLISTING" >p = insertItem ("Open", self.slotOpen, 0, -1, -1) -action = KAction ("Open", 0, self.slotOpen, None, 0)</PRE +action = TDEAction ("Open", 0, self.slotOpen, None, 0)</PRE ></TD ></TR ></TABLE ><P ->This substitution applies to appropriate methods in KStdAction, KAction and related -subclasses, KAccelMenu and KToolBar</P +>This substitution applies to appropriate methods in KStdAction, TDEAction and related +subclasses, TDEAccelMenu and TDEToolBar</P ></DIV ></DIV ><DIV |