1 --- kile-1.3/kile/gfe/fileFilter.cpp-- 2002-11-16 14:57:06.000000000 +0100
2 +++ kile-1.3/kile/gfe/fileFilter.cpp 2002-11-16 14:57:30.000000000 +0100
3 @@ -39,7 +39,7 @@ void fileFilter::setGnuInterface(gnuInte
4 filterEdit->setText(temp.c_str());
6 string quoteChar = gnuInt->getFileFilterQuoteChar();
9 if (quoteChar == "single")
11 singleQuoteRB->setChecked(TRUE);
12 @@ -51,7 +51,7 @@ void fileFilter::setGnuInterface(gnuInte
13 doubleQuoteRB->setChecked(TRUE);
14 singleQuoteRB->setChecked(FALSE);
20 void fileFilter::insertCurrentFilename()
21 @@ -65,14 +65,14 @@ void fileFilter::insertCurrentFilename()
23 newString += currentText ;
24 newString += filename;
27 filterEdit->setText(newString);
30 void fileFilter::insertNewFilename()
32 QString currentText = filterEdit->text();
35 QString filename = KFileDialog::getOpenFileName(QDir::currentDirPath(), "",this, i18n("Open File"));
37 if (!filename.isNull())
38 @@ -80,7 +80,7 @@ void fileFilter::insertNewFilename()
40 newString += currentText;
41 newString += filename;
44 filterEdit->setText(newString);
47 @@ -88,14 +88,14 @@ void fileFilter::insertNewFilename()
48 void fileFilter::setFilter()
53 if (singleQuoteRB->isChecked() == TRUE)
54 gnuInt->setFileFilterQuoteChar("single");
55 else if (doubleQuoteRB->isChecked() == TRUE)
56 gnuInt->setFileFilterQuoteChar("double");
58 - filterCmd += filterEdit->text();
61 + filterCmd += filterEdit->text().latin1();
63 gnuInt->setFileFilter(filterCmd);
66 --- kile-1.3/kile/gfe/multiFile.cpp-- 2002-11-16 14:54:34.000000000 +0100
67 +++ kile-1.3/kile/gfe/multiFile.cpp 2002-11-16 14:54:47.000000000 +0100
69 /* -------------------------- multiFile class --------------------------
71 - This class handles all operations related to the storage and manipulation of
72 + This class handles all operations related to the storage and manipulation of
73 multiple files and their options from the GUI.
75 This file is part of Xgfe: X Windows GUI front end to Gnuplot
76 @@ -50,9 +50,9 @@ void multiFile::setGnuInterface(gnuInter
79 // get all current filenames
85 // get first filename in list
86 file = gnuInt->getMultiFileFirstFilename();
88 @@ -61,7 +61,7 @@ void multiFile::setGnuInterface(gnuInter
89 multiFileList->insertItem(file.c_str());
94 // now insert remaining files into list
97 @@ -72,13 +72,13 @@ void multiFile::setGnuInterface(gnuInter
99 multiFileList->insertItem(file.c_str());
103 // grab options for current file in combo box
104 if (multiFileList->count() > 0)
112 void multiFile::apply()
113 @@ -150,7 +150,7 @@ QString filename=KFileDialog::getOpenFil
115 if ( !filename.isNull() )
118 + temp = filename.latin1();
120 multiFileList->insertItem(filename,0);
121 gnuInt->insertMultiFileNew(temp);
122 @@ -310,16 +310,16 @@ void multiFile::getCurrentOptions()
123 fileStyleList->setCurrentItem(16);
124 else if (style == "")
125 fileStyleList->setCurrentItem(0);
129 string title = gnuInt->getMultiFileLegendTitle(filename);
132 // clear current title
133 legendTitleEdit->setText("");
136 if ((title != "default") && (title != "notitle"))
137 legendTitleEdit->setText(title.c_str());
140 if (title == "default")
142 legendTitleDefaultButton->setChecked(TRUE);
143 @@ -355,7 +355,7 @@ void multiFile::getCurrentOptions()
144 singleQuoteRB->setChecked(TRUE);
145 doubleQuoteRB->setChecked(FALSE);
149 if (quoteChar == "double")
151 doubleQuoteRB->setChecked(TRUE);
152 @@ -385,6 +385,6 @@ void multiFile::clearOptions()
153 rawFormatEdit->setText("");
154 interpList->setCurrentItem(0);
155 filterEdit->setText("");
156 - doubleQuoteRB->setChecked(TRUE);
157 + doubleQuoteRB->setChecked(TRUE);
158 singleQuoteRB->setChecked(FALSE);
160 --- kile-1.3/kile/gfe/qplotdialog.cpp-- 2002-11-16 14:50:10.000000000 +0100
161 +++ kile-1.3/kile/gfe/qplotdialog.cpp 2002-11-16 14:50:30.000000000 +0100
162 @@ -768,7 +768,7 @@ void Qplotdialog::getOutput()
163 QString f = KFileDialog::getSaveFileName( QDir::currentDirPath(),"", this,"Output File" );
168 gnuInt->setOutput(temp);
169 outputLabel->setText(f);
171 --- kile-1.3/kile/gfe/qplotmaker.cpp-- 2002-11-16 14:48:06.000000000 +0100
172 +++ kile-1.3/kile/gfe/qplotmaker.cpp 2002-11-16 14:49:43.000000000 +0100
173 @@ -224,7 +224,7 @@ QString filename = KFileDialog::getOpenF
175 filenameEdit->setText(filename); // set label to filename
176 filenameCB->setChecked(TRUE); // set filename checkbox
178 + temp = filename.latin1();
179 gnuInt->setPlotFilename(temp);
182 @@ -238,7 +238,7 @@ void Qplotmaker::save()
183 saveFile = KFileDialog::getSaveFileName(QDir::currentDirPath() ,"", this,"Save File" );
184 if (!saveFile.isEmpty())
187 + temp = saveFile.latin1();
188 gnuInt->setGnuFileSave(temp);
191 @@ -252,7 +252,7 @@ void Qplotmaker::load()
192 loadFile= KFileDialog::getOpenFileName(QDir::currentDirPath(), "", this,"Open File" );
193 if (!loadFile.isEmpty())
196 + temp = loadFile.latin1();
197 gnuInt->setGnuFileLoad(temp);
200 @@ -266,7 +266,7 @@ void Qplotmaker::saveXgfe()
201 saveFile = KFileDialog::getSaveFileName(QDir::currentDirPath() ,"", this,"Save File" );
202 if (!saveFile.isEmpty())
205 + temp = saveFile.latin1();
206 gnuInt->savePlotData(temp);
209 @@ -280,7 +280,7 @@ loadFile = KFileDialog::getOpenFileName(
211 if (!loadFile.isEmpty())
214 + temp = loadFile.latin1();
215 gnuInt->loadPlotData(temp);
217 // get options and set GUI
218 --- kile-1.3/kile/gfe/rawGnu.cpp-- 2002-11-16 14:46:33.000000000 +0100
219 +++ kile-1.3/kile/gfe/rawGnu.cpp 2002-11-16 14:46:38.000000000 +0100
222 You should have received a copy of the GNU General Public License
223 along with this program; if not, write to the Free Software
224 - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
225 + Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
227 *********************************************************************/
229 @@ -52,7 +52,7 @@ void rawGnu::doCommand()
230 QString command = rawCommand->text();
234 + temp = command.latin1();
237 gnuInt->doRawCommand(temp);