summaryrefslogtreecommitdiffstats
path: root/kmrml/kmrml/lib/kmrml_config.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-08-02 19:23:46 +0000
commiteba47f8f0637f451e21348187591e1f1fd58ac74 (patch)
tree448f10b95c656604acc331a3236c1e59bde5c1ad /kmrml/kmrml/lib/kmrml_config.h
parentc7e8736c69373f48b0401319757c742e8607431a (diff)
downloadtdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.tar.gz
tdegraphics-eba47f8f0637f451e21348187591e1f1fd58ac74.zip
TQt conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1158446 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmrml/kmrml/lib/kmrml_config.h')
-rw-r--r--kmrml/kmrml/lib/kmrml_config.h46
1 files changed, 23 insertions, 23 deletions
diff --git a/kmrml/kmrml/lib/kmrml_config.h b/kmrml/kmrml/lib/kmrml_config.h
index 3b6baa40..2208030a 100644
--- a/kmrml/kmrml/lib/kmrml_config.h
+++ b/kmrml/kmrml/lib/kmrml_config.h
@@ -21,7 +21,7 @@
class KConfig;
-#include <qstringlist.h>
+#include <tqstringlist.h>
#include <kurl.h>
namespace KMrml
@@ -30,18 +30,18 @@ namespace KMrml
{
public:
ServerSettings();
- ServerSettings(const QString& host, unsigned short int port,
+ ServerSettings(const TQString& host, unsigned short int port,
bool autoPort, bool useAuth, const
- QString& user, const QString& pass);
+ TQString& user, const TQString& pass);
// does NOT set the port in the KURL object, if autoPort is selected
// kio_mrml is going to determine itself (via ServerSettings::port()).
// This deuglifies the mrml:/ url a bit (no port is shown)
KURL getUrl() const;
- QString host;
- QString user;
- QString pass;
+ TQString host;
+ TQString user;
+ TQString pass;
unsigned short int configuredPort;
bool autoPort :1; // only possible with host == localhost
bool useAuth :1;
@@ -68,52 +68,52 @@ namespace KMrml
}
ServerSettings settingsForLocalHost() const;
- ServerSettings settingsForHost( const QString& host ) const;
+ ServerSettings settingsForHost( const TQString& host ) const;
- void setDefaultHost( const QString& host );
+ void setDefaultHost( const TQString& host );
/**
* Indexed by the hostname -- ensures there are no dupes
*/
void addSettings( const ServerSettings& settings );
- bool removeSettings( const QString& host );
+ bool removeSettings( const TQString& host );
- QStringList hosts() const { return m_hostList; }
+ TQStringList hosts() const { return m_hostList; }
/**
* The list of indexable directories -- only applicable to "localhost"
*/
- QStringList indexableDirectories() const;
- void setIndexableDirectories( const QStringList& dirs );
+ TQStringList indexableDirectories() const;
+ void setIndexableDirectories( const TQStringList& dirs );
- QString addCollectionCommandLine() const;
- void setAddCollectionCommandLine( const QString& cmd );
+ TQString addCollectionCommandLine() const;
+ void setAddCollectionCommandLine( const TQString& cmd );
- QString removeCollectionCommandLine() const;
- void setRemoveCollectionCommandLine( const QString& cmd );
+ TQString removeCollectionCommandLine() const;
+ void setRemoveCollectionCommandLine( const TQString& cmd );
- void setMrmldCommandLine( const QString& cmd );
- QString mrmldCommandline() const;
+ void setMrmldCommandLine( const TQString& cmd );
+ TQString mrmldCommandline() const;
// e.g. Wolfgang needs this :)
bool serverStartedIndividually() const {
return m_serverStartedIndividually;
}
- static QString mrmldDataDir();
+ static TQString mrmldDataDir();
private:
void init();
- QString settingsGroup( const QString& host ) const
+ TQString settingsGroup( const TQString& host ) const
{
- return QString::fromLatin1( "SettingsFor: " ).append( host );
+ return TQString::fromLatin1( "SettingsFor: " ).append( host );
}
bool m_serverStartedIndividually;
- QString m_defaultHost;
- QStringList m_hostList;
+ TQString m_defaultHost;
+ TQStringList m_hostList;
KConfig *m_config;
KConfig *m_ownConfig;