Sandbox

From Qt Wiki
Revision as of 13:32, 7 July 2015 by NetZwerg (talk | contribs) (codeblock tests)
Jump to navigation Jump to search

Welcome to the Sandbox

Here you can try out the MediaWiki Markup and our Qt Wiki Templates.

Info about this Wiki:

Site Name: Qt Wiki
Server Name: wiki.qt.io

Info about this page:

Page Name: Sandbox

Localisation Test: Sandbox/de


Code Blocks Formatting

CPP

#include <test.h>
#define CONSTANTVALUE 9
if(x==true)
{
  callSomeOtherFunction();
  switch(someVar)
  {
    default:
    case CONSTANTVALUE:
    {
      for(int i=0;i<CONSTANTVALUE;i++)
      {
        qDebug()<<"Text: "<< i;
      }
    }
      break;
  }
}

None

#include <test.h>
#define CONSTANTVALUE 9
if(x==true)
{
  callSomeOtherFunction();
  switch(someVar)
  {
    default:
    case CONSTANTVALUE:
    {
      for(int i=0;i<CONSTANTVALUE;i++)
      {
        qDebug()<<"Text: "<< i;
      }
    }
      break;
  }
}

Unknown

#include <test.h>
#define CONSTANTVALUE 9
if(x==true)
{
  callSomeOtherFunction();
  switch(someVar)
  {
    default:
    case CONSTANTVALUE:
    {
      for(int i=0;i<CONSTANTVALUE;i++)
      {
        qDebug()<<"Text: "<< i;
      }
    }
      break;
  }
}