<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Klniu &#187; 编程</title>
	<atom:link href="http://klniu.com/post/category/programme/feed/" rel="self" type="application/rss+xml" />
	<link>http://klniu.com</link>
	<description>『勿慢牛个人博客』</description>
	<lastBuildDate>Sun, 04 Jul 2010 00:46:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>QWizard下一步按钮的控制</title>
		<link>http://klniu.com/post/qwizard-next-button-control/</link>
		<comments>http://klniu.com/post/qwizard-next-button-control/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 10:32:59 +0000</pubDate>
		<dc:creator>勿慢牛</dc:creator>
				<category><![CDATA[Qt]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[QWizard]]></category>
		<category><![CDATA[QWizardPage]]></category>
		<category><![CDATA[按钮]]></category>

		<guid isPermaLink="false">http://klniu.com/?p=544</guid>
		<description><![CDATA[QWizard是Qt的向导类，在向导过程中，可以通过函数registerField注册字段实现全局访问，而且可以通过4种方法来控制下一步或者完成按钮的可用性：

第一种方法，isComplete函数，其应用于QWizardPage，可控制单个向导页面的“下一步”或者“完成”按钮的可用性，函数如下：

bool QWizardPage::isComplete () const[virtual]

<span class="readmore"><a href="http://klniu.com/post/qwizard-next-button-control/" title="QWizard下一步按钮的控制">阅读全文——共1123字</a></span>]]></description>
		<wfw:commentRss>http://klniu.com/post/qwizard-next-button-control/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>dokuwiki中文文件名及sitemap乱码的解决</title>
		<link>http://klniu.com/post/dokuwiki-chinese-file-name-and-address-sitemap-garbled/</link>
		<comments>http://klniu.com/post/dokuwiki-chinese-file-name-and-address-sitemap-garbled/#comments</comments>
		<pubDate>Sun, 30 May 2010 07:52:06 +0000</pubDate>
		<dc:creator>勿慢牛</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[技巧]]></category>
		<category><![CDATA[dokuwiki]]></category>
		<category><![CDATA[sitemap]]></category>
		<category><![CDATA[中文]]></category>
		<category><![CDATA[乱码]]></category>

		<guid isPermaLink="false">http://klniu.com/?p=539</guid>
		<description><![CDATA[dokuwiki默认是使用urlencode函数对文件名进行编码后存储的，而索引文章的indexer.php文件在生成sitemap.xml时也会对文件名编码，这样对搜索引擎是不友好的，实际上将这两个编码的功能去掉就可以了。

中文文件名的乱码可以参考http://www.dokuwiki.org/zh:pagename进行更改，即:



<span class="readmore"><a href="http://klniu.com/post/dokuwiki-chinese-file-name-and-address-sitemap-garbled/" title="dokuwiki中文文件名及sitemap乱码的解决">阅读全文——共890字</a></span>]]></description>
		<wfw:commentRss>http://klniu.com/post/dokuwiki-chinese-file-name-and-address-sitemap-garbled/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QString, wchar_t *, TCHAR, CString和其他字符或字符串类型的转换</title>
		<link>http://klniu.com/post/qstring-wchar_t-tchar-and-other-types-of-conversion-characters-or-strings/</link>
		<comments>http://klniu.com/post/qstring-wchar_t-tchar-and-other-types-of-conversion-characters-or-strings/#comments</comments>
		<pubDate>Sat, 08 May 2010 11:15:30 +0000</pubDate>
		<dc:creator>勿慢牛</dc:creator>
				<category><![CDATA[Qt]]></category>
		<category><![CDATA[转载]]></category>
		<category><![CDATA[QString]]></category>
		<category><![CDATA[TCHAR]]></category>
		<category><![CDATA[wchar_t]]></category>
		<category><![CDATA[转换]]></category>

		<guid isPermaLink="false">http://klniu.com/?p=533</guid>
		<description><![CDATA[这篇文章是在Blogspot上看到的一篇文章，能够解决QString, wchar_t *, TCHAR和其他字符或字符串类型之间的转换，方便在使用Windows API的时候转换的麻烦。

原文地址：http://tkrotoff.blogspot.com/2010/04/code-snippets-about-qstring-wchart.html



<span class="readmore"><a href="http://klniu.com/post/qstring-wchar_t-tchar-and-other-types-of-conversion-characters-or-strings/" title="QString, wchar_t *, TCHAR, CString和其他字符或字符串类型的转换">阅读全文——共3476字</a></span>]]></description>
		<wfw:commentRss>http://klniu.com/post/qstring-wchar_t-tchar-and-other-types-of-conversion-characters-or-strings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QTableWidgetItem中checkBox的判断问题</title>
		<link>http://klniu.com/post/qtablewidgetitem-in-the-judgment-checkbox/</link>
		<comments>http://klniu.com/post/qtablewidgetitem-in-the-judgment-checkbox/#comments</comments>
		<pubDate>Sat, 08 May 2010 06:28:37 +0000</pubDate>
		<dc:creator>勿慢牛</dc:creator>
				<category><![CDATA[Qt]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[checkBox]]></category>
		<category><![CDATA[QTableWidget]]></category>

		<guid isPermaLink="false">http://klniu.com/?p=530</guid>
		<description><![CDATA[在QTableWidget中会经常用的checkBox，但是如何判断复选框是否被选中呢，方法是利用QTableWidget::cellChanged()函数，检查单元格内容的变化，然后连接此信号，在槽函数中检测checkBox的状态，代码如下:





<span class="readmore"><a href="http://klniu.com/post/qtablewidgetitem-in-the-judgment-checkbox/" title="QTableWidgetItem中checkBox的判断问题">阅读全文——共498字</a></span>]]></description>
		<wfw:commentRss>http://klniu.com/post/qtablewidgetitem-in-the-judgment-checkbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>QTableWidget排序问题</title>
		<link>http://klniu.com/post/qtablewidget-scheduling/</link>
		<comments>http://klniu.com/post/qtablewidget-scheduling/#comments</comments>
		<pubDate>Tue, 04 May 2010 09:46:32 +0000</pubDate>
		<dc:creator>勿慢牛</dc:creator>
				<category><![CDATA[Qt]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[QTableWidget]]></category>

		<guid isPermaLink="false">http://klniu.com/post/qtablewidget-scheduling/</guid>
		<description><![CDATA[QTableWidget在启用排序的时候会自动调用sortByColumn() 函数进行排序，因此无须再次调用。启用排序函数为setSortingEnabled(bool enable)，默认为false，启用代码如下:

tableWidget-&#62;setSortingEnabled(true);

]]></description>
		<wfw:commentRss>http://klniu.com/post/qtablewidget-scheduling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>php服务器js与css的压缩问题</title>
		<link>http://klniu.com/post/php-server-js-and-css-compression-problems/</link>
		<comments>http://klniu.com/post/php-server-js-and-css-compression-problems/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 05:58:06 +0000</pubDate>
		<dc:creator>勿慢牛</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[gzip.php]]></category>
		<category><![CDATA[js]]></category>
		<category><![CDATA[php压缩]]></category>

		<guid isPermaLink="false">http://klniu.com/post/php-server-js-and-css-compression-problems/</guid>
		<description><![CDATA[今天突然发现以前使用的gzip.php程序生成的gz文件都在文件目录内生成，而不是在程序默认的wp-cache，这样非常麻烦，如果修改css或者更新插件，需要一个一个的寻找gz文件删除才可以，于是google了一番，才发觉这个文件已经被修改了，而且在.htaccess内很多语句是没有用的，原始的gzip.php可以在http://wopus.googlecode.com/files/gzip.php下载，需要修改

$cache = false;

为

<span class="readmore"><a href="http://klniu.com/post/php-server-js-and-css-compression-problems/" title="php服务器js与css的压缩问题">阅读全文——共1241字</a></span>]]></description>
		<wfw:commentRss>http://klniu.com/post/php-server-js-and-css-compression-problems/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qt Creator 快捷捷</title>
		<link>http://klniu.com/post/qt-creator-keyboard-shortcuts/</link>
		<comments>http://klniu.com/post/qt-creator-keyboard-shortcuts/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 15:21:16 +0000</pubDate>
		<dc:creator>勿慢牛</dc:creator>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[qt creator]]></category>
		<category><![CDATA[shortcut]]></category>

		<guid isPermaLink="false">http://klniu.com/?p=381</guid>
		<description><![CDATA[以前经常用VS+QT的方式来学习QT，VS确实挺强大，不过每次编译Qt，太浪费时间，而且如果重装系统或者VS都必须重新编译，非常麻烦，于是就硬着头皮看了看新生的Qt Creator，适当接受新事物还是很好的！Qt也是能快速操作的，下面就把Qt Creator的常用快捷键给列一下。





<span class="readmore"><a href="http://klniu.com/post/qt-creator-keyboard-shortcuts/" title="Qt Creator 快捷捷">阅读全文——共495字</a></span>]]></description>
		<wfw:commentRss>http://klniu.com/post/qt-creator-keyboard-shortcuts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>phpexcel导出文件乱码问题</title>
		<link>http://klniu.com/post/phpexcel-char/</link>
		<comments>http://klniu.com/post/phpexcel-char/#comments</comments>
		<pubDate>Sat, 16 May 2009 14:06:17 +0000</pubDate>
		<dc:creator>勿慢牛</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[phpexcel]]></category>
		<category><![CDATA[乱码]]></category>

		<guid isPermaLink="false">http://livesdrop.com/post/phpexcel-char/</guid>
		<description><![CDATA[以前使用phpexcel类导出xls文件时，没有发现有乱码的问题，可是今天再使用的时候就发现文件下载完成后打开时，excel提示文件的格式与文件指定的格式不一致，打开时就乱码，用记事本打开时是空的，挺无奈，于是google了一下，试了好多都不知道是什么原因，后来在不加参数在浏览器打开之后发现左上角有一个锘字，于是恍然大悟，肯定是文件或者包含的文件前面有空格，于是找了找，终于在自己的类文件里发现&#60;?php前面有一个空格,哎！寻找的方法是以前在网上发现的，现在也忘记出处了，就是用UE，在UE的配置里，文件处理-&#62;UTF-8检测，去掉“自动检测UTF-8文件”和“检测UNICODE(UTF-16文件无BOM)”前面的勾，然后重启UE，再打开要查看的文件，就能在文件前面查看有没有类似空格的乱码。

]]></description>
		<wfw:commentRss>http://klniu.com/post/phpexcel-char/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>cloudgamer无刷新上传文件的PHP版本修改</title>
		<link>http://klniu.com/post/php-post-files/</link>
		<comments>http://klniu.com/post/php-post-files/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 04:17:05 +0000</pubDate>
		<dc:creator>勿慢牛</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[上传]]></category>
		<category><![CDATA[多文件上传]]></category>

		<guid isPermaLink="false">http://livesdrop.com/post/php-post-files/</guid>
		<description><![CDATA[源文地址





<span class="readmore"><a href="http://klniu.com/post/php-post-files/" title="cloudgamer无刷新上传文件的PHP版本修改">阅读全文——共1998字</a></span>]]></description>
		<wfw:commentRss>http://klniu.com/post/php-post-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP大文件上传问题</title>
		<link>http://klniu.com/post/php-upload-large-file/</link>
		<comments>http://klniu.com/post/php-upload-large-file/#comments</comments>
		<pubDate>Sat, 25 Apr 2009 02:14:36 +0000</pubDate>
		<dc:creator>勿慢牛</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[原创]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[post]]></category>
		<category><![CDATA[大文件上传]]></category>

		<guid isPermaLink="false">http://livesdrop.com/post/php-upload-large-file/</guid>
		<description><![CDATA[PHP上传大文件，除了修改

; Maximum allowed size for uploaded files.&#60;br /&#62;

upload_max_filesize = 20M

<span class="readmore"><a href="http://klniu.com/post/php-upload-large-file/" title="PHP大文件上传问题">阅读全文——共183字</a></span>]]></description>
		<wfw:commentRss>http://klniu.com/post/php-upload-large-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
