summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-02 13:29:14 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-02 13:29:14 -0600
commit994762d18bbc53fa2b1a83fae625512a3e760038 (patch)
tree62b6622f972f8e1347ff83390f8f1ab902a76fca
parent9ee4cc50bb6bf818316ea96a096ce97d05a5a95e (diff)
downloadkile-994762d18bbc53fa2b1a83fae625512a3e760038.tar.gz
kile-994762d18bbc53fa2b1a83fae625512a3e760038.zip
Fix unintended renaming
-rw-r--r--src/kile/previewconfigwidget.cpp8
-rw-r--r--src/kile/previewwidget.cpp10
-rw-r--r--src/kile/quickpreview.cpp6
-rw-r--r--src/kile/quickpreview.h2
4 files changed, 13 insertions, 13 deletions
diff --git a/src/kile/previewconfigwidget.cpp b/src/kile/previewconfigwidget.cpp
index 634c9e2..5f56f0f 100644
--- a/src/kile/previewconfigwidget.cpp
+++ b/src/kile/previewconfigwidget.cpp
@@ -191,14 +191,14 @@ void KileWidgetPreviewConfig::writeConfig(void)
void KileWidgetPreviewConfig::setupSeparateWindow()
{
// get all possible tasks for QuickPreview in a separate window
- TQStringList tastdelist;
- m_preview->getTaskList(tastdelist);
+ TQStringList tasklist;
+ m_preview->getTaskList(tasklist);
// split them into group and combobox entry
m_combobox->clear();
- for ( uint i=0; i<tastdelist.count(); ++i )
+ for ( uint i=0; i<tasklist.count(); ++i )
{
- TQStringList list = TQStringList::split("=",tastdelist[i]);
+ TQStringList list = TQStringList::split("=",tasklist[i]);
if ( m_config->hasGroup( list[0] ) )
{
m_combobox->insertItem( list[1] );
diff --git a/src/kile/previewwidget.cpp b/src/kile/previewwidget.cpp
index df67f10..a200410 100644
--- a/src/kile/previewwidget.cpp
+++ b/src/kile/previewwidget.cpp
@@ -81,11 +81,11 @@ void PreviewWidget::showActivePreview(const TQString &text,const TQString &textf
// set parameter for these tools
- TQString tastdelist,tool,toolcfg,extension;
+ TQString tasklist,tool,toolcfg,extension;
if (conversiontype == pwConvert )
{
m_conversionTool = "convert";
- tastdelist = "PreviewPDFLaTeX,,,,,png";
+ tasklist = "PreviewPDFLaTeX,,,,,png";
tool = "Convert";
toolcfg = "pdf2png";
extension = "pdf";
@@ -93,7 +93,7 @@ void PreviewWidget::showActivePreview(const TQString &text,const TQString &textf
else if (conversiontype == pwDvipsConvert )
{
m_conversionTool = "dvips/convert";
- tastdelist = "PreviewLaTeX,DVItoPS,dvi2eps,,,png";
+ tasklist = "PreviewLaTeX,DVItoPS,dvi2eps,,,png";
tool = "Convert";
toolcfg = "eps2png";
extension = "eps";
@@ -101,13 +101,13 @@ void PreviewWidget::showActivePreview(const TQString &text,const TQString &textf
else
{
m_conversionTool = "dvipng";
- tastdelist = "PreviewLaTeX,,,,,png";
+ tasklist = "PreviewLaTeX,,,,,png";
tool = "DVItoPNG";
toolcfg = TQString();
extension = "dvi";
}
- if ( ! m_info->quickPreview()->run(text, textfilename, startrow, tastdelist) )
+ if ( ! m_info->quickPreview()->run(text, textfilename, startrow, tasklist) )
return;
KileTool::Base *pngConverter = m_info->toolFactory()->create(tool);
diff --git a/src/kile/quickpreview.cpp b/src/kile/quickpreview.cpp
index 49a24ba..a72034b 100644
--- a/src/kile/quickpreview.cpp
+++ b/src/kile/quickpreview.cpp
@@ -146,10 +146,10 @@ void QuickPreview::previewMathgroup(Kate::Document *doc)
//////////////////// run quick preview ////////////////////
-void QuickPreview::getTaskList(TQStringList &tastdelist)
+void QuickPreview::getTaskList(TQStringList &tasklist)
{
- tastdelist.clear();
- tastdelist << "Tool/ViewDVI/Embedded Viewer=" + m_taskList[0]
+ tasklist.clear();
+ tasklist << "Tool/ViewDVI/Embedded Viewer=" + m_taskList[0]
<< "Tool/ViewDVI/KDVI Unique=" + m_taskList[1]
<< "Tool/ViewPS/Embedded Viewer=" + m_taskList[2]
<< "Tool/ViewPS/KGhostView=" + m_taskList[3]
diff --git a/src/kile/quickpreview.h b/src/kile/quickpreview.h
index 3e6ed13..e1a4338 100644
--- a/src/kile/quickpreview.h
+++ b/src/kile/quickpreview.h
@@ -63,7 +63,7 @@ public:
* @return true if method succeeds, else false
*/
bool run (const TQString &text, const TQString &textfilename, int startrow, const TQString &spreviewlist);
- void getTaskList(TQStringList &tastdelist);
+ void getTaskList(TQStringList &tasklist);
/**
* QuickPreview uses temporary files for processing the output.