summaryrefslogtreecommitdiffstats
path: root/kate/filelistloader/katefll_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kate/filelistloader/katefll_plugin.cpp')
-rw-r--r--kate/filelistloader/katefll_plugin.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kate/filelistloader/katefll_plugin.cpp b/kate/filelistloader/katefll_plugin.cpp
index b10464f..0c50e6b 100644
--- a/kate/filelistloader/katefll_plugin.cpp
+++ b/kate/filelistloader/katefll_plugin.cpp
@@ -42,8 +42,8 @@ class PluginView : public KXMLGUIClient
KRecentFilesAction *recentFiles;
};
-PluginKateFileListLoader::PluginKateFileListLoader (TQObject * parent, const char *name, const TQStringList)
- : Plugin((Kate::Application*)parent,name), PluginViewInterface(),
+PluginKateFileListLoader::PluginKateFileListLoader (TQObject * tqparent, const char *name, const TQStringList)
+ : Plugin((Kate::Application*)tqparent,name), PluginViewInterface(),
m_config( new KConfig("katefilelistpluginrc") )
{
m_config->setGroup("General");
@@ -133,7 +133,7 @@ void PluginKateFileListLoader::removeURLFromList(const KURL& url)
void PluginKateFileListLoader::slotOpenList()
{
- KURL url = KFileDialog::getOpenURL(TQString::null,
+ KURL url = KFileDialog::getOpenURL(TQString(),
"*.katefl|Kate File List (*.katefl)");
if (url.isValid()) // cancel pressed?
slotOpenList(url);
@@ -190,7 +190,7 @@ void PluginKateFileListLoader::slotSaveList()
{
/* if (m_oldInitURL!=application()->initPluginManager()->initScript())
{
- switch (KMessageBox::questionYesNoCancel(0,i18n("<qt>Since the last time you saved the file list, Kate has been reinitialized by another plugin other than the <B>File List Loader</B>. Do you still want to save the list to %1?</qt>").arg(m_saveURL.prettyURL()),TQString::null,KStdGuiItem::save(),KStdGuiItem::discard()))
+ switch (KMessageBox::questionYesNoCancel(0,i18n("<qt>Since the last time you saved the file list, Kate has been reinitialized by another plugin other than the <B>File List Loader</B>. Do you still want to save the list to %1?</qt>").tqarg(m_saveURL.prettyURL()),TQString(),KStdGuiItem::save(),KStdGuiItem::discard()))
{
case KMessageBox::Yes: save(); break;
case KMessageBox::No: slotSaveListAs(); break;
@@ -203,7 +203,7 @@ void PluginKateFileListLoader::slotSaveList()
{
/*if (m_saveURL!=application()->initPluginManager()->initScript())
{
- switch (KMessageBox::questionYesNoCancel(0,i18n("<qt>Kate has been reinitialized by another plugin other than the <B>File List Loader</B>. Do you still want to save the list to %1?</qt>").arg(m_saveURL.prettyURL()),TQString::null,KStdGuiItem::save(),KStdGuiItem::discard()))
+ switch (KMessageBox::questionYesNoCancel(0,i18n("<qt>Kate has been reinitialized by another plugin other than the <B>File List Loader</B>. Do you still want to save the list to %1?</qt>").tqarg(m_saveURL.prettyURL()),TQString(),KStdGuiItem::save(),KStdGuiItem::discard()))
{
case KMessageBox::Yes: save(); break;
case KMessageBox::No: slotSaveListAs(); break;
@@ -230,7 +230,7 @@ void PluginKateFileListLoader::save()
void PluginKateFileListLoader::slotSaveListAs()
{
- KURL url=KFileDialog::getSaveURL(TQString::null,"*.katefl|Kate File List (*.katefl)");
+ KURL url=KFileDialog::getSaveURL(TQString(),"*.katefl|Kate File List (*.katefl)");
if (url.isValid())
{
m_oldInitURL="";//application()->initPluginManager()->initScript();