summaryrefslogtreecommitdiffstats
path: root/kdeprint/kmfactory.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/kmfactory.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/kmfactory.h')
-rw-r--r--kdeprint/kmfactory.h34
1 files changed, 17 insertions, 17 deletions
diff --git a/kdeprint/kmfactory.h b/kdeprint/kmfactory.h
index 05cd124fe..0e9ad8021 100644
--- a/kdeprint/kmfactory.h
+++ b/kdeprint/kmfactory.h
@@ -21,12 +21,12 @@
#ifndef KMFACTORY_H
#define KMFACTORY_H
-#include <qstring.h>
-#include <qvaluelist.h>
-#include <qstringlist.h>
-#include <qptrlist.h>
-#include <qobject.h>
-#include <qpair.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
+#include <tqstringlist.h>
+#include <tqptrlist.h>
+#include <tqobject.h>
+#include <tqpair.h>
#include <dcopobject.h>
#include <sys/types.h>
@@ -42,7 +42,7 @@ class KLibFactory;
class KConfig;
class KPReloadObject;
-class KDEPRINT_EXPORT KMFactory : public QObject, public DCOPObject
+class KDEPRINT_EXPORT KMFactory : public TQObject, public DCOPObject
{
Q_OBJECT
K_DCOP
@@ -72,13 +72,13 @@ public:
KMSpecialManager* specialManager();
KXmlCommandManager* commandManager();
KPrinterImpl* printerImplementation();
- KConfig* printConfig(const QString& group = QString::null);
- QString printSystem();
- QValueList<PluginInfo> pluginList();
- PluginInfo pluginInfo(const QString& name);
+ KConfig* printConfig(const TQString& group = TQString::null);
+ TQString printSystem();
+ TQValueList<PluginInfo> pluginList();
+ PluginInfo pluginInfo(const TQString& name);
void saveConfig();
- void reload(const QString& syst, bool saveSyst = true);
+ void reload(const TQString& syst, bool saveSyst = true);
void registerObject(KPReloadObject*, bool = false);
void unregisterObject(KPReloadObject*);
@@ -92,8 +92,8 @@ public:
};
Settings* settings() const { return m_settings; }
- QPair<QString,QString> requestPassword( int& seqNbr, const QString& user, const QString& host = "localhost", int port = 0 );
- void initPassword( const QString& user, const QString& password, const QString& host = "localhsot", int port = 0 );
+ QPair<TQString,TQString> requestPassword( int& seqNbr, const TQString& user, const TQString& host = "localhost", int port = 0 );
+ void initPassword( const TQString& user, const TQString& password, const TQString& host = "localhsot", int port = 0 );
k_dcop:
ASYNC slot_pluginChanged(pid_t);
@@ -108,9 +108,9 @@ private:
void createJobManager();
void createUiManager();
void createPrinterImpl();
- void loadFactory(const QString& syst = QString::null);
+ void loadFactory(const TQString& syst = TQString::null);
void unload();
- QString autoDetect();
+ TQString autoDetect();
private:
static KMFactory *m_self;
@@ -123,7 +123,7 @@ private:
KConfig *m_printconfig;
Settings *m_settings;
- QPtrList<KPReloadObject> m_objects;
+ TQPtrList<KPReloadObject> m_objects;
};
#endif