Results 1 to 2 of 2

Thread: how to make several lines as "commented" automatically???

  1. #1
    Join Date
    Jul 2012
    Posts
    24
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Question how to make several lines as "commented" automatically???

    Hi

    I know it is a bit nonsense but I want several lines of my codes to be "commented" or "omited" after a special button is pressed what should I do?
    I mean, is there any way to do such a thing?
    the reason for this action is to set a new screen by easily using the old one without unwanted items.

    thanx 4 ur upcoming answers

  2. #2
    Join Date
    Jul 2012
    Posts
    40
    Thanks
    12
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to make several lines as "commented" automatically???

    You can comment your lines of code like this:
    -Open the file with QFile
    -read and manipulate it with QTextStream

    But the appearance of your app won't change, because the code is already compiled...

Similar Threads

  1. Replies: 11
    Last Post: 30th March 2015, 06:03
  2. Replies: 1
    Last Post: 28th November 2010, 17:16
  3. Replies: 4
    Last Post: 18th April 2010, 00:37
  4. "make install" and "make clean" on Windows for Qt
    By Berberis in forum Installation and Deployment
    Replies: 0
    Last Post: 29th November 2009, 23:02
  5. Translation QFileDialog standart buttons ("Open"/"Save"/"Cancel")
    By victor.yacovlev in forum Qt Programming
    Replies: 4
    Last Post: 24th January 2008, 19:05

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.