summaryrefslogtreecommitdiffstats
path: root/katapult/plugins
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:06:54 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-25 00:06:54 -0600
commit4946d97747eac03d3fbc7c624cd027990d85f0e4 (patch)
tree6879368be68593343f00b03e9ff8d590393df315 /katapult/plugins
parenta935c1de6f952a489a96a27cb897144b5d225ebe (diff)
downloadkatapult-4946d97747eac03d3fbc7c624cd027990d85f0e4.zip
katapult-4946d97747eac03d3fbc7c624cd027990d85f0e4.tar.gz
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'katapult/plugins')
-rw-r--r--katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp4
-rw-r--r--katapult/plugins/catalogs/amarokcatalog/amarokcatalog.h4
-rw-r--r--katapult/plugins/catalogs/bookmarkcatalog/bookmarkcatalog.cpp4
-rw-r--r--katapult/plugins/catalogs/bookmarkcatalog/bookmarkcatalog.h4
-rw-r--r--katapult/plugins/catalogs/calculatorcatalog/calculatorcatalog.cpp4
-rw-r--r--katapult/plugins/catalogs/calculatorcatalog/calculatorcatalog.h4
-rw-r--r--katapult/plugins/catalogs/documentcatalog/document.cpp4
-rw-r--r--katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp4
-rw-r--r--katapult/plugins/catalogs/documentcatalog/documentcatalog.h4
-rw-r--r--katapult/plugins/catalogs/execcatalog/execcatalog.cpp4
-rw-r--r--katapult/plugins/catalogs/execcatalog/execcatalog.h4
-rw-r--r--katapult/plugins/catalogs/googlecatalog/googlecatalog.cpp4
-rw-r--r--katapult/plugins/catalogs/googlecatalog/googlecatalog.h4
-rw-r--r--katapult/plugins/catalogs/programcatalog/programcatalog.cpp4
-rw-r--r--katapult/plugins/catalogs/programcatalog/programcatalog.h4
-rw-r--r--katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp4
-rw-r--r--katapult/plugins/catalogs/spellcatalog/spellcatalog.h4
17 files changed, 34 insertions, 34 deletions
diff --git a/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp b/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp
index 6ad0892..0bade79 100644
--- a/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp
+++ b/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.cpp
@@ -331,12 +331,12 @@ void AmarokCatalog::minQueryLenChanged(int _minQueryLen)
this->_minQueryLen = _minQueryLen;
}
-void AmarokCatalog::readSettings(KConfigBase *config)
+void AmarokCatalog::readSettings(TDEConfigBase *config)
{
_minQueryLen = config->readUnsignedNumEntry("MinQueryLen", 3);
}
-void AmarokCatalog::writeSettings(KConfigBase *config)
+void AmarokCatalog::writeSettings(TDEConfigBase *config)
{
config->writeEntry("MinQueryLen", _minQueryLen);
}
diff --git a/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.h b/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.h
index 1bf1cad..0e2b527 100644
--- a/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.h
+++ b/katapult/plugins/catalogs/amarokcatalog/amarokcatalog.h
@@ -40,8 +40,8 @@ public:
virtual ~AmarokCatalog();
unsigned int minQueryLen() const;
- void readSettings(KConfigBase *);
- void writeSettings(KConfigBase *);
+ void readSettings(TDEConfigBase *);
+ void writeSettings(TDEConfigBase *);
TQWidget * configure();
//virtual void initialize();
diff --git a/katapult/plugins/catalogs/bookmarkcatalog/bookmarkcatalog.cpp b/katapult/plugins/catalogs/bookmarkcatalog/bookmarkcatalog.cpp
index 6a0267e..c8391af 100644
--- a/katapult/plugins/catalogs/bookmarkcatalog/bookmarkcatalog.cpp
+++ b/katapult/plugins/catalogs/bookmarkcatalog/bookmarkcatalog.cpp
@@ -144,7 +144,7 @@ unsigned int BookmarkCatalog::minQueryLen() const
return _minQueryLen;
}
-void BookmarkCatalog::readSettings(KConfigBase *config)
+void BookmarkCatalog::readSettings(TDEConfigBase *config)
{
_minQueryLen = config->readUnsignedNumEntry("MinQueryLen", 3);
_mozEnabled = config->readBoolEntry("MozEnabled", TRUE);
@@ -152,7 +152,7 @@ void BookmarkCatalog::readSettings(KConfigBase *config)
_mozFile = config->readEntry("MozFile", "");
}
-void BookmarkCatalog::writeSettings(KConfigBase *config)
+void BookmarkCatalog::writeSettings(TDEConfigBase *config)
{
config->writeEntry("MinQueryLen", _minQueryLen);
config->writeEntry("MozEnabled", _mozEnabled);
diff --git a/katapult/plugins/catalogs/bookmarkcatalog/bookmarkcatalog.h b/katapult/plugins/catalogs/bookmarkcatalog/bookmarkcatalog.h
index 6bd48dc..7381e86 100644
--- a/katapult/plugins/catalogs/bookmarkcatalog/bookmarkcatalog.h
+++ b/katapult/plugins/catalogs/bookmarkcatalog/bookmarkcatalog.h
@@ -44,8 +44,8 @@ public:
virtual ~BookmarkCatalog();
virtual void initialize();
- virtual void readSettings(KConfigBase *);
- virtual void writeSettings(KConfigBase *);
+ virtual void readSettings(TDEConfigBase *);
+ virtual void writeSettings(TDEConfigBase *);
virtual unsigned int minQueryLen() const;
virtual TQWidget * configure();
diff --git a/katapult/plugins/catalogs/calculatorcatalog/calculatorcatalog.cpp b/katapult/plugins/catalogs/calculatorcatalog/calculatorcatalog.cpp
index 724c371..e8ae53c 100644
--- a/katapult/plugins/catalogs/calculatorcatalog/calculatorcatalog.cpp
+++ b/katapult/plugins/catalogs/calculatorcatalog/calculatorcatalog.cpp
@@ -256,7 +256,7 @@ void CalculatorCatalog::initialize()
}
*/
-void CalculatorCatalog::readSettings(KConfigBase* config)
+void CalculatorCatalog::readSettings(TDEConfigBase* config)
{
_fracDigits = config->readUnsignedNumEntry("FracDigits", 2);
_bScientific = config->readBoolEntry("Scientific", false);
@@ -265,7 +265,7 @@ void CalculatorCatalog::readSettings(KConfigBase* config)
_formatString = config->readEntry("FormatString", "%1 = %2");
}
-void CalculatorCatalog::writeSettings(KConfigBase* config)
+void CalculatorCatalog::writeSettings(TDEConfigBase* config)
{
config->writeEntry("FracDigits", fracDigits());
config->writeEntry("Scientific", scientific());
diff --git a/katapult/plugins/catalogs/calculatorcatalog/calculatorcatalog.h b/katapult/plugins/catalogs/calculatorcatalog/calculatorcatalog.h
index fb2a94e..39e7b57 100644
--- a/katapult/plugins/catalogs/calculatorcatalog/calculatorcatalog.h
+++ b/katapult/plugins/catalogs/calculatorcatalog/calculatorcatalog.h
@@ -64,8 +64,8 @@ class CalculatorCatalog : public KatapultCatalog
virtual ~CalculatorCatalog();
//virtual void initialize();
- virtual void readSettings(KConfigBase*);
- virtual void writeSettings(KConfigBase*);
+ virtual void readSettings(TDEConfigBase*);
+ virtual void writeSettings(TDEConfigBase*);
virtual TQWidget* configure();
int getVarID(const char*);
diff --git a/katapult/plugins/catalogs/documentcatalog/document.cpp b/katapult/plugins/catalogs/documentcatalog/document.cpp
index d91f05d..3c0f703 100644
--- a/katapult/plugins/catalogs/documentcatalog/document.cpp
+++ b/katapult/plugins/catalogs/documentcatalog/document.cpp
@@ -44,12 +44,12 @@ Document::~Document()
TQPixmap Document::icon(int size) const
{
KURL u;
- KIO::PreviewJob *doc;
+ TDEIO::PreviewJob *doc;
u.setPath(_absPath);
if (this->_showPreview)
{
- doc=KIO::filePreview(u,size);
+ doc=TDEIO::filePreview(u,size);
connect(doc, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)),
TQT_SLOT(gotPreview(const KFileItem*, const TQPixmap&)));
diff --git a/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp b/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp
index 1ed595e..587b119 100644
--- a/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp
+++ b/katapult/plugins/catalogs/documentcatalog/documentcatalog.cpp
@@ -191,13 +191,13 @@ unsigned int DocumentCatalog::minQueryLen() const
return _minQueryLen;
}
-void DocumentCatalog::readSettings(KConfigBase *config)
+void DocumentCatalog::readSettings(TDEConfigBase *config)
{
_minQueryLen = config->readUnsignedNumEntry("MinQueryLen", 1);
_showPreview = config->readBoolEntry("showPreview", FALSE);
}
-void DocumentCatalog::writeSettings(KConfigBase *config)
+void DocumentCatalog::writeSettings(TDEConfigBase *config)
{
config->writeEntry("MinQueryLen", _minQueryLen);
config->writeEntry("showPreview", _showPreview);
diff --git a/katapult/plugins/catalogs/documentcatalog/documentcatalog.h b/katapult/plugins/catalogs/documentcatalog/documentcatalog.h
index a15f921..d406370 100644
--- a/katapult/plugins/catalogs/documentcatalog/documentcatalog.h
+++ b/katapult/plugins/catalogs/documentcatalog/documentcatalog.h
@@ -45,8 +45,8 @@ public:
virtual void initialize();
virtual void queryChanged();
- virtual void readSettings(KConfigBase *);
- virtual void writeSettings(KConfigBase *);
+ virtual void readSettings(TDEConfigBase *);
+ virtual void writeSettings(TDEConfigBase *);
virtual unsigned int minQueryLen() const;
virtual TQWidget * configure();
diff --git a/katapult/plugins/catalogs/execcatalog/execcatalog.cpp b/katapult/plugins/catalogs/execcatalog/execcatalog.cpp
index 7915065..9aed4e8 100644
--- a/katapult/plugins/catalogs/execcatalog/execcatalog.cpp
+++ b/katapult/plugins/catalogs/execcatalog/execcatalog.cpp
@@ -82,12 +82,12 @@ bool ExecCatalog::accepts(const TQString& str) const
return str.left(length + 1) == _triggerWord + " ";
}
-void ExecCatalog::readSettings(KConfigBase* config)
+void ExecCatalog::readSettings(TDEConfigBase* config)
{
_triggerWord = config->readEntry("TriggerWord", i18n("Should be short, easy and quick to type", "exec"));
}
-void ExecCatalog::writeSettings(KConfigBase* config)
+void ExecCatalog::writeSettings(TDEConfigBase* config)
{
config->writeEntry("TriggerWord", _triggerWord);
}
diff --git a/katapult/plugins/catalogs/execcatalog/execcatalog.h b/katapult/plugins/catalogs/execcatalog/execcatalog.h
index fd27ab2..5c5c5f3 100644
--- a/katapult/plugins/catalogs/execcatalog/execcatalog.h
+++ b/katapult/plugins/catalogs/execcatalog/execcatalog.h
@@ -51,8 +51,8 @@ class ExecCatalog : public KatapultCatalog
ExecCatalog(TQObject*, const char*, const TQStringList&);
virtual ~ExecCatalog();
- virtual void readSettings(KConfigBase*);
- virtual void writeSettings(KConfigBase*);
+ virtual void readSettings(TDEConfigBase*);
+ virtual void writeSettings(TDEConfigBase*);
virtual TQWidget* configure();
int triggerWordLength();
diff --git a/katapult/plugins/catalogs/googlecatalog/googlecatalog.cpp b/katapult/plugins/catalogs/googlecatalog/googlecatalog.cpp
index a6493e6..0db0782 100644
--- a/katapult/plugins/catalogs/googlecatalog/googlecatalog.cpp
+++ b/katapult/plugins/catalogs/googlecatalog/googlecatalog.cpp
@@ -82,12 +82,12 @@ bool GoogleCatalog::accepts(const TQString& str) const
return str.left(length + 1) == _triggerWord + " ";
}
-void GoogleCatalog::readSettings(KConfigBase* config)
+void GoogleCatalog::readSettings(TDEConfigBase* config)
{
_triggerWord = config->readEntry("TriggerWord", i18n("Should be short, easy and quick to type", "google"));
}
-void GoogleCatalog::writeSettings(KConfigBase* config)
+void GoogleCatalog::writeSettings(TDEConfigBase* config)
{
config->writeEntry("TriggerWord", _triggerWord);
}
diff --git a/katapult/plugins/catalogs/googlecatalog/googlecatalog.h b/katapult/plugins/catalogs/googlecatalog/googlecatalog.h
index 3341d5f..29f3bd6 100644
--- a/katapult/plugins/catalogs/googlecatalog/googlecatalog.h
+++ b/katapult/plugins/catalogs/googlecatalog/googlecatalog.h
@@ -51,8 +51,8 @@ class GoogleCatalog : public KatapultCatalog
GoogleCatalog(TQObject*, const char*, const TQStringList&);
virtual ~GoogleCatalog();
- virtual void readSettings(KConfigBase*);
- virtual void writeSettings(KConfigBase*);
+ virtual void readSettings(TDEConfigBase*);
+ virtual void writeSettings(TDEConfigBase*);
virtual TQWidget* configure();
int triggerWordLength();
diff --git a/katapult/plugins/catalogs/programcatalog/programcatalog.cpp b/katapult/plugins/catalogs/programcatalog/programcatalog.cpp
index 54a0fa3..ef5ac83 100644
--- a/katapult/plugins/catalogs/programcatalog/programcatalog.cpp
+++ b/katapult/plugins/catalogs/programcatalog/programcatalog.cpp
@@ -95,7 +95,7 @@ unsigned int ProgramCatalog::minQueryLen() const
return _minQueryLen;
}
-void ProgramCatalog::readSettings(KConfigBase *config)
+void ProgramCatalog::readSettings(TDEConfigBase *config)
{
_minQueryLen = config->readUnsignedNumEntry("MinQueryLen", 1);
_ignoreIconless = config->readBoolEntry("IgnoreIconless", TRUE);
@@ -103,7 +103,7 @@ void ProgramCatalog::readSettings(KConfigBase *config)
_ignoreTerminal = config->readBoolEntry("IgnoreTerminal", TRUE);
}
-void ProgramCatalog::writeSettings(KConfigBase *config)
+void ProgramCatalog::writeSettings(TDEConfigBase *config)
{
config->writeEntry("MinQueryLen", _minQueryLen);
config->writeEntry("IgnoreIconless", _ignoreIconless);
diff --git a/katapult/plugins/catalogs/programcatalog/programcatalog.h b/katapult/plugins/catalogs/programcatalog/programcatalog.h
index 21a206c..af20c70 100644
--- a/katapult/plugins/catalogs/programcatalog/programcatalog.h
+++ b/katapult/plugins/catalogs/programcatalog/programcatalog.h
@@ -41,8 +41,8 @@ public:
virtual ~ProgramCatalog();
virtual void initialize();
- virtual void readSettings(KConfigBase *);
- virtual void writeSettings(KConfigBase *);
+ virtual void readSettings(TDEConfigBase *);
+ virtual void writeSettings(TDEConfigBase *);
virtual unsigned int minQueryLen() const;
virtual TQWidget * configure();
diff --git a/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp b/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp
index fce2495..0e75cd8 100644
--- a/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp
+++ b/katapult/plugins/catalogs/spellcatalog/spellcatalog.cpp
@@ -82,12 +82,12 @@ bool SpellCatalog::accepts(const TQString& str) const
return str.left(length + 1) == _triggerWord + " ";
}
-void SpellCatalog::readSettings(KConfigBase* config)
+void SpellCatalog::readSettings(TDEConfigBase* config)
{
_triggerWord = config->readEntry("TriggerWord", i18n("Should be short, easy and quick to type", "spell"));
}
-void SpellCatalog::writeSettings(KConfigBase* config)
+void SpellCatalog::writeSettings(TDEConfigBase* config)
{
config->writeEntry("TriggerWord", _triggerWord);
}
diff --git a/katapult/plugins/catalogs/spellcatalog/spellcatalog.h b/katapult/plugins/catalogs/spellcatalog/spellcatalog.h
index 0e1d3fb..8dd9215 100644
--- a/katapult/plugins/catalogs/spellcatalog/spellcatalog.h
+++ b/katapult/plugins/catalogs/spellcatalog/spellcatalog.h
@@ -48,8 +48,8 @@ class SpellCatalog : public KatapultCatalog
SpellCatalog(TQObject*, const char*, const TQStringList&);
virtual ~SpellCatalog();
- virtual void readSettings(KConfigBase*);
- virtual void writeSettings(KConfigBase*);
+ virtual void readSettings(TDEConfigBase*);
+ virtual void writeSettings(TDEConfigBase*);
virtual TQWidget* configure();
int triggerWordLength();