<?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>MVC Frameworks, PHP Frameworks, CodeIgniter, QT4 - My Experience, Tips ,Tricks, Tweaks, Codes and much more... : MVC{model-view-controller} Logic</title>
	<atom:link href="http://mvclogic.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mvclogic.com</link>
	<description>Code Hungry</description>
	<lastBuildDate>Sat, 03 Apr 2010 16:15:27 +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>Removing MinGW dll dependencies in QT Static linking</title>
		<link>http://mvclogic.com/qt/removing-mingw-dll-dependencies-in-qt-static-linking/</link>
		<comments>http://mvclogic.com/qt/removing-mingw-dll-dependencies-in-qt-static-linking/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 16:14:58 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[QT]]></category>
		<category><![CDATA[Qt-Tips]]></category>
		<category><![CDATA[dependencies]]></category>
		<category><![CDATA[MinGW dll]]></category>
		<category><![CDATA[QT Static linking]]></category>
		<category><![CDATA[Removing]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=183</guid>
		<description><![CDATA[libgcc_s_dw2-1.dll
Passing -static-libgcc will remove this dependency for all languages other than C.
Note: C++ exceptions depends on this option.
mingwm10.dll
Remove -mthreads option from your makefile.
Note: Multithreading and C++ exceptions depends on this option.
]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/removing-mingw-dll-dependencies-in-qt-static-linking/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Insert accounts in Sugar CRM using Codeigniter</title>
		<link>http://mvclogic.com/php/insert-accounts-in-sugar-crm-using-codeigniter/</link>
		<comments>http://mvclogic.com/php/insert-accounts-in-sugar-crm-using-codeigniter/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 15:12:14 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Insert accounts]]></category>
		<category><![CDATA[Sugar CRM]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=167</guid>
		<description><![CDATA[
//load new database of Sugar CRM as defined in database.php
        $this-&#62;db2 = $this-&#62;ci-&#62;load-&#62;database&#40;'db_crm', TRUE&#41;;
&#160;
        //generate unique id for sugar crm . length:36
        $accounts_id=$this-&#62;generateCrmID&#40;'accounts'&#41;;
&#160;
        //insert account into CRM
 [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/php/insert-accounts-in-sugar-crm-using-codeigniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Insert ticket in Support Suite using CodeIgniter</title>
		<link>http://mvclogic.com/php/insert-ticket-in-support-suite-using-codeigniter/</link>
		<comments>http://mvclogic.com/php/insert-ticket-in-support-suite-using-codeigniter/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 15:05:27 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Insert ticket in]]></category>
		<category><![CDATA[Support suite]]></category>
		<category><![CDATA[using CodeIgniter]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=165</guid>
		<description><![CDATA[
   // Insert the Actual Record
        $ticket_data=array&#40;
            'ticketid'=&#62;'',
            'ticketmaskid'=&#62;$ticketmaskid ,
            'departmentid'=&#62;1 ,
  [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/php/insert-ticket-in-support-suite-using-codeigniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SEO based urls : CodeIgniter routes</title>
		<link>http://mvclogic.com/php/seo-based-urls-codeigniter-routes/</link>
		<comments>http://mvclogic.com/php/seo-based-urls-codeigniter-routes/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 11:02:41 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[Newbie]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[CodeIgniter routes]]></category>
		<category><![CDATA[SEO based urls]]></category>

		<guid isPermaLink="false">http://mvclogic.com/qt/87/</guid>
		<description><![CDATA[You can use this code for SEO urls

&#160;
//this section enables you to use some controllers 
$route&#91;'admin/(:any)'&#93; = &#34;admin/$1&#34;;    
$route&#91;'contact/(:any)'&#93; = &#34;contact/$1&#34;;
$route&#91;'auth/(:any)'&#93; = &#34;auth/$1&#34;;
$route&#91;'testimonials/(:any)'&#93; = &#34;testimonials/$1&#34;;
&#160;
//else everything in url will handle by this pro controller's index function
$route&#91;'(:any)'&#93; = &#34;pro/index&#34;;

May be when you need this you can understand this logic. crazy na  
]]></description>
		<wfw:commentRss>http://mvclogic.com/php/seo-based-urls-codeigniter-routes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatic Config BASE URL in CodeIgniter</title>
		<link>http://mvclogic.com/php/automatic-config-base-url-in-codeigniter-config-url-in-codeigniter/</link>
		<comments>http://mvclogic.com/php/automatic-config-base-url-in-codeigniter-config-url-in-codeigniter/#comments</comments>
		<pubDate>Thu, 24 Dec 2009 16:57:06 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Automatic Config]]></category>
		<category><![CDATA[BASE URL]]></category>
		<category><![CDATA[in]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=161</guid>
		<description><![CDATA[Change $config['base_url'] with this.
This is one time set config system for all sites and urls.
In application/config folder open config.php
Find this

$config&#91;'base_url'&#93;='http://example.com';

and replace with this

&#160;
$config&#91;'base_url'&#93; =  &#40;&#40;isset&#40;$_SERVER&#91;'HTTPS'&#93;&#41; &#38;&#38; $_SERVER&#91;'HTTPS'&#93; == &#34;on&#34;&#41; ?  &#34;https&#34; : &#34;http&#34;&#41;;
$config&#91;'base_url'&#93; .=  &#34;://&#34;.$_SERVER&#91;'HTTP_HOST'&#93;;
$config&#91;'base_url'&#93; .=  str_replace&#40;basename&#40;$_SERVER&#91;'SCRIPT_NAME'&#93;&#41;,&#34;&#34;,$_SERVER&#91;'SCRIPT_NAME'&#93;&#41;;

]]></description>
		<wfw:commentRss>http://mvclogic.com/php/automatic-config-base-url-in-codeigniter-config-url-in-codeigniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Insert user in Support suite using CodeIginiter</title>
		<link>http://mvclogic.com/php/insert-user-in-support-suite-using-codeiginiter/</link>
		<comments>http://mvclogic.com/php/insert-user-in-support-suite-using-codeiginiter/#comments</comments>
		<pubDate>Tue, 15 Dec 2009 15:21:43 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[CodeIgniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHP-Tips]]></category>
		<category><![CDATA[CodeIginiter]]></category>
		<category><![CDATA[Insert user]]></category>
		<category><![CDATA[Support suite]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=159</guid>
		<description><![CDATA[Paste following code in end of database.php located in config folder

$db&#91;'db_support'&#93;&#91;'hostname'&#93; = &#34;localhost&#34;;
$db&#91;'db_support'&#93;&#91;'username'&#93; = &#34;dbname&#34;;
$db&#91;'db_support'&#93;&#91;'password'&#93; = &#34;password&#34;;
$db&#91;'db_support'&#93;&#91;'database'&#93; = &#34;supportsuite_databasename&#34;;
$db&#91;'db_support'&#93;&#91;'dbdriver'&#93; = &#34;mysql&#34;;
$db&#91;'db_support'&#93;&#91;'dbprefix'&#93; = &#34;&#34;;
$db&#91;'db_support'&#93;&#91;'pconnect'&#93; = TRUE;
$db&#91;'db_support'&#93;&#91;'db_debug'&#93; = TRUE;
$db&#91;'db_support'&#93;&#91;'cache_on'&#93; = FALSE;
$db&#91;'db_support'&#93;&#91;'cachedir'&#93; = &#34;&#34;;
$db&#91;'db_support'&#93;&#91;'char_set'&#93; = &#34;utf8&#34;;
$db&#91;'db_support'&#93;&#91;'dbcollat'&#93; = &#34;utf8_general_ci&#34;;

and use this one where ever you want.

&#160;
        $this-&#62;db-&#62;select&#40;&#34;users.*&#34;, FALSE&#41;;  //these are tables [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/php/insert-user-in-support-suite-using-codeiginiter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use QColor from getColor on QLabel and QTextbox</title>
		<link>http://mvclogic.com/qt/use-qcolor-from-getcolor-on-qlabel-and-qtextbox/</link>
		<comments>http://mvclogic.com/qt/use-qcolor-from-getcolor-on-qlabel-and-qtextbox/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 16:57:00 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[QT]]></category>
		<category><![CDATA[Qt-Tips]]></category>
		<category><![CDATA[from getColor]]></category>
		<category><![CDATA[on QLabel]]></category>
		<category><![CDATA[QTextbox]]></category>
		<category><![CDATA[Use QColor]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=157</guid>
		<description><![CDATA[
//To use color on text and label 
//Simple sample :)
QColor color = QColorDialog::getColor&#40;QColor&#40;ui-&#62;backgroundColorPickerText-&#62;text&#40;&#41;&#41;, this&#41;;
   if&#40;color.isValid&#40;&#41;&#41;
    &#123;
&#160;
        QPixmap pix&#40;21, 21&#41;;
        pix.fill&#40;color&#41;;
&#160;
        ui-&#62;backgroundColorPickerLabel-&#62;setPixmap&#40;pix&#41;;
        ui-&#62;backgroundColorPickerText-&#62;setText&#40;color.name&#40;&#41;&#41;;
 [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/use-qcolor-from-getcolor-on-qlabel-and-qtextbox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>create a custom dialog box with multi line input in qt</title>
		<link>http://mvclogic.com/qt/create-a-custom-dialog-box-with-multi-line-input-in-qt/</link>
		<comments>http://mvclogic.com/qt/create-a-custom-dialog-box-with-multi-line-input-in-qt/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 16:47:04 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[QT]]></category>
		<category><![CDATA[Qt-Tips]]></category>
		<category><![CDATA[create a custom dialog box with]]></category>
		<category><![CDATA[multi line input in]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=155</guid>
		<description><![CDATA[
//create a custom dialog box with multi line input
void MainWindow::createMultilineInput&#40;&#41;
&#123;
//class variable    
dlgMultiLine =    new QDialog&#40;this&#41;;
&#160;
//local variable
    QGridLayout *gridLayout = new QGridLayout&#40;dlgMultiLine&#41;;
&#160;
//class variable
    txtMultiline = new QPlainTextEdit&#40;&#41;;
&#160;
    txtMultiline-&#62;setObjectName&#40;QString::fromUtf8&#40;&#34;txtMultiline&#34;&#41;&#41;;
    gridLayout-&#62;addWidget&#40;txtMultiline, 0, 0, 1, 1&#41;;
    QDialogButtonBox *buttonBox [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/create-a-custom-dialog-box-with-multi-line-input-in-qt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>show data in external window with custom widget in qt</title>
		<link>http://mvclogic.com/qt/show-data-in-external-window-with-custom-widget-in-qt/</link>
		<comments>http://mvclogic.com/qt/show-data-in-external-window-with-custom-widget-in-qt/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 16:42:52 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[QT]]></category>
		<category><![CDATA[Qt-Tips]]></category>
		<category><![CDATA[custom widget]]></category>
		<category><![CDATA[external window]]></category>
		<category><![CDATA[QT 4]]></category>
		<category><![CDATA[show data]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=153</guid>
		<description><![CDATA[Sometime you need to show data in external window with custom widget(s). This little code will help you.

function showCustomWidget&#40;&#41; &#123;
&#160;
 QDialog *dlgMultiLine =    new QDialog&#40;&#41;;
 QGridLayout *gridLayout = new QGridLayout&#40;dlgMultiLine&#41;;
 QPlainTextEdit *txtMultiline = new QPlainTextEdit&#40;&#41;;
&#160;
 txtMultiline-&#62;setPlainText&#40;this-&#62;toPlainText&#40;&#41;&#41;;
&#160;
 gridLayout-&#62;addWidget&#40;txtMultiline, 0, 0, 1, 1&#41;;
 dlgMultiLine-&#62;show&#40;&#41;;
&#160;
&#125;

]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/show-data-in-external-window-with-custom-widget-in-qt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>getting all files from subdirectories recursively with c using qt framework/</title>
		<link>http://mvclogic.com/qt/getting-all-files-from-subdirectories-recursively-with-c-using-qt-framework/</link>
		<comments>http://mvclogic.com/qt/getting-all-files-from-subdirectories-recursively-with-c-using-qt-framework/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 16:36:27 +0000</pubDate>
		<dc:creator>Yash</dc:creator>
				<category><![CDATA[QT]]></category>
		<category><![CDATA[Qt-Tips]]></category>

		<guid isPermaLink="false">http://mvclogic.com/?p=151</guid>
		<description><![CDATA[
// Display a dialog to the user to choose his music directory
      QString directory_path = QFileDialog::getExistingDirectory&#40;this, tr&#40;&#34;Select your music directory&#34;&#41;, QDir::currentPath&#40;&#41;&#41;;
&#160;
     // Then create an instance of our QDirIterator, which takes as parameters
     // the directory, a QDir filter and an option [...]]]></description>
		<wfw:commentRss>http://mvclogic.com/qt/getting-all-files-from-subdirectories-recursively-with-c-using-qt-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
