summaryrefslogtreecommitdiffstats
path: root/kjsembed/xmlactionclient.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:20:48 -0600
commite63beeb5bdb82987b1e00bc35178667786fbad48 (patch)
treeab77b6ac830b7944d5d1eb9ce8f81feb8fdab948 /kjsembed/xmlactionclient.h
parent67557a2b56c0678c22ab1b00c4fd0224c5e9ed99 (diff)
downloadtdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.tar.gz
tdebindings-e63beeb5bdb82987b1e00bc35178667786fbad48.zip
Fix incorrect conversion
Diffstat (limited to 'kjsembed/xmlactionclient.h')
-rw-r--r--kjsembed/xmlactionclient.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kjsembed/xmlactionclient.h b/kjsembed/xmlactionclient.h
index 3f78fa3f..0dcabfe2 100644
--- a/kjsembed/xmlactionclient.h
+++ b/kjsembed/xmlactionclient.h
@@ -62,15 +62,15 @@ public:
* Clears this script object. After this method has been called,
* isValid() will return false.
*/
- void clear() { src = type = text = TTQString::null; }
+ void clear() { src = type = text = TQString::null; }
- TTQString src;
- TTQString type;
- TTQString text;
+ TQString src;
+ TQString type;
+ TQString text;
};
/** Creates an XMLActionClient. */
- XMLActionClient( TTQObject *parent=0, const char *name=0 );
+ XMLActionClient( TQObject *parent=0, const char *name=0 );
/**
* Cleans up. When the object is deleted, any actions it has created will
@@ -91,22 +91,22 @@ public:
void setRunner( XMLActionRunner *r ) { actrun = r; }
/** Loads actions from the named XML file. Returns true on success. */
- bool load( const TTQString &filename );
+ bool load( const TQString &filename );
/** Loads actions from the named XML file. Returns true on success. */
- bool load( XMLActionHandler *handler, const TTQString &filename );
+ bool load( XMLActionHandler *handler, const TQString &filename );
/** Runs the named script. */
- bool run( const TTQString &name );
+ bool run( const TQString &name );
/** Returns the named script. */
- XMLActionScript script( const TTQString &name ) const { return scripts[name]; }
+ XMLActionScript script( const TQString &name ) const { return scripts[name]; }
/** Calls XMLActionRunner::run(). */
bool run( const XMLActionScript &script );
/** Binds a name to a script. */
- virtual bool bind( const TTQString &name, const XMLActionScript &script );
+ virtual bool bind( const TQString &name, const XMLActionScript &script );
/** Binds an action to a script. */
virtual bool bind( KAction *act, const XMLActionScript &script );
@@ -121,7 +121,7 @@ protected slots:
private:
KActionCollection *ac;
XMLActionRunner *actrun;
- TTQMap<TTQString, XMLActionScript> scripts;
+ TQMap<TQString, XMLActionScript> scripts;
class XMLActionClientPrivate *d;
};
@@ -177,10 +177,10 @@ class XMLActionHandler : public TQXmlDefaultHandler
public:
XMLActionHandler( XMLActionClient *actclient );
- virtual bool startElement( const TTQString &ns, const TTQString &ln, const TTQString &qn,
- const TTQXmlAttributes &attrs );
- virtual bool endElement( const TTQString &ns, const TTQString &ln, const TTQString &qn );
- virtual bool characters( const TTQString &chars );
+ virtual bool startElement( const TQString &ns, const TQString &ln, const TQString &qn,
+ const TQXmlAttributes &attrs );
+ virtual bool endElement( const TQString &ns, const TQString &ln, const TQString &qn );
+ virtual bool characters( const TQString &chars );
/** Called when an action tag is closed. */
void defineAction();
@@ -198,29 +198,29 @@ private:
XMLActionData() { clear(); }
void clear() {
- text = icons = keys = name = group = whatsthis = status = TTQString::null;
+ text = icons = keys = name = group = whatsthis = status = TQString::null;
exclusive = false;
script.clear();
}
- TTQString type;
- TTQString text;
- TTQString icons;
- TTQString keys;
- TTQString name;
- TTQString group;
+ TQString type;
+ TQString text;
+ TQString icons;
+ TQString keys;
+ TQString name;
+ TQString group;
bool exclusive;
- TTQString status;
- TTQString whatsthis;
+ TQString status;
+ TQString whatsthis;
XMLActionClient::XMLActionScript script;
- TTQStringList items;
+ TQStringList items;
};
XMLActionData *actionData() { return &ad; }
private:
XMLActionClient *actclient;
- TTQString cdata;
+ TQString cdata;
bool inAction;
XMLActionData ad;
class XMLActionHandlerPrivate *d;