Slopjong A geek discovering the World, Tech & Science
  • Latest Posts
  • Programming
  • Mac
  • Linux
  • WordPress
  • Hardware
  • Howtos
  • Nerd Trash

Qt Archive

  • I always thought that every class subclassing QObject must contain this macro but this is not completely right. More precisely it is only required if meta-object code has to be [...] 0

    Qt: Q_OBJECT macro

    Posted on January 12, 2012
    I always thought that every class subclassing QObject must contain this macro but this is not completely right. More precisely it is only required if meta-object code has to be [...]

    Continue Reading

  • In Qt the title of the main window can be set from everywhere and thankfully to the QApplication class we gain access to all created widgets by using the method [...] 0

    Qt: set the main window title from everywhere

    Posted on January 5, 2012
    In Qt the title of the main window can be set from everywhere and thankfully to the QApplication class we gain access to all created widgets by using the method [...]

    Continue Reading

  • In the following code sample a singleton is implemented with a static instance getter which can be called in any other class.


class MyClass{

public:

    static MyClass *instance(){
  [...] 0

    Qt: error message telling the copy constructor is private

    Posted on December 30, 2011
    In the following code sample a singleton is implemented with a static instance getter which can be called in any other class. class MyClass{ public: static MyClass *instance(){ [...]

    Continue Reading

  • A constant QString can be achieved by defining the macro


#CONSTSTRING "-_-"


and by creating a temporary QString instance in each place the constant is needed e.g. for a window title.


...
window.setWindowTitle(QString(CONSTSTRING));
...


A lot [...] 0

    Qt: QString constant in a class

    Posted on December 24, 2011
    A constant QString can be achieved by defining the macro #CONSTSTRING "-_-" and by creating a temporary QString instance in each place the constant is needed e.g. for a window title. ... window.setWindowTitle(QString(CONSTSTRING)); ... A lot [...]

    Continue Reading

  • I tried to compile a code looking like this:


#ifndef CONTROLLER_H_
#define CONTROLLER_H_

#include

class AbstractClass
{
public:
    virtual ~AbstractClass() {}
    virtual void update() = 0;
};

class Controller :
   [...] 12

    ‘staticMetaObject’ is not a member

    Posted on October 7, 2008
    I tried to compile a code looking like this: #ifndef CONTROLLER_H_ #define CONTROLLER_H_ #include class AbstractClass { public: virtual ~AbstractClass() {} virtual void update() = 0; }; class Controller : [...]

    Continue Reading

RSS Feed Twitter YouTube

Email Subscription

Don't miss any new posts

Search

You need to get something done?
LeJob Tell me!
  • Latest
  • Random
  • Comments
  • Tags
  • Colorize the arrow in Inkscape
    Posted 21 hours ago
  • VirtualBox: Make your virtual machine accessible from your host system but not from the local network
    Posted 1 week ago
  • The syn2cat hackerspace needs more space
    Posted 1 week ago
  • Work locally on a remote project with any editor in combination with SSHFS
    Posted 1 week ago
  • sshfs: Transport endpoint is not connected
    Posted 3 weeks ago
  • Extremely high disk activity with Windows 8 and how to fix it?
    Posted 4 weeks ago
  • Display PHP code in a html code section
    Posted on April 9, 2013
  • Lightbox2: Limit the max image size
    Posted on April 2, 2013
  • Qt: Q_OBJECT macro
    Posted on January 12, 2012
  • Star wars
    Posted on March 11, 2012
  • Eclipse Editor
    Posted on October 29, 2009
  • Dead weblocs
    Posted on July 4, 2008
  • Get to Sweden for only 5€
    Posted on January 25, 2009
  • Legalsounds really legal?
    Posted on August 10, 2009
  • ID3 batch editing
    Posted on August 30, 2010
  • Extremely high disk activity with Windows 8 and how to fix it?
    Posted 4 weeks ago
  • What does "punchline" mean? - ASK JOHN ENGLISH
    One Word A Day
  • slopjong
    Extremely high disk activity with Windows 8 and how to fix it?
  • Nilupul
    ‘staticMetaObject’ is not a member
  • Mark
    How to install the latest node.js on Ubuntu?
  • matthew
    Extremely high disk activity with Windows 8 and how to fix it?
  • Gregory Mace
    How to install the latest node.js on Ubuntu?
  • slopjong
    Let SVN accept revision propchanges
  • william
    Let SVN accept revision propchanges
Add-on Arch Linux bash C++ Cake commands conversion cURL eclipse Firefox flash Google hacker hardware Java javascript jQuery Linux Mac matlab OpenWrt party php PI PI Day plugin Programming Qt router Scripting shell Software Subversion terminal Tutorial twitter video VirtualBox Web Web server Windows Wordpress wordpress plugin youtube ZSH

Twitter Feed (@slopjong)

  • Hey archers, pay attention when upgrading your kernel to 3.9.3-1 released two days ago. Your boot partition won't be mounted on efi systems.1 day ago
  • @macfreak109 :-)6 days ago
  • @macfreak109 looks good. With blinkenlights even better ;-)6 days ago
  • @JanGuth @Piratepartei @svnee @trollchen @virii Dat soen ausgerechnet déi, déi a Wierklechkeet roud sin. http://t.co/HweCBorVLN10 days ago
  • This made my day. Internet user says: "Ok, i just tried to install python on my mac. It still does not work. Going back to use powerpoint…"11 days ago
  • █▀▀▄  ▄▀▀▄  ▄▀▀▄  █ ▄▀       ▀█▀  ▄▀▀▄       ▀█▀  ▄▀▀▄  █▀▀▄
    █▀▀▄  █▄▄█  █     █▀          █   █  █        █   █  █  █▀▀
    █▄▄▀  █  █  ▀▄▄▀  █ ▀▄        █   ▀▄▄▀        █   ▀▄▄▀  █
    
  • Impress
  • —
  • Contact
  • —
  • About
  • All Rights Reserved
  • —
  • © 2012 slopjong.de