ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Прокопьев Евгений" <john@rmts.donpac.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Переносимые приложения на Qt и стили KDE
Date: Thu, 26 Dec 2002 16:00:00 +0300
Message-ID: <3E0AFD50.9060008@rmts.donpac.ru> (raw)
In-Reply-To: <200212261540.24743.asoneofus@nm.ru>

A.L. Klyutchenya пишет:
> 26 Декабрь 2002 15:19, Прокопьев Евгений написал:
> 
>>Но это точно воспроизводится на трех машинах, где стоит
>>ALM+Updates. Где копать?
>>
>>Кстати, приложения, сгенерированные в KDevelop, в варианте для
>>KDE ведут себя как положено, т.е. принимают нужный стиль, а
>>для Qt - только стиль Windows
> 
> 
> Посмотрите, что там насчёт 
> 
> QApplication::setStyle(new ???? );
> QApplication ??( argc, argv );


Вообще, как я понял, разница в том, что в первом случае KApplication, а 
во втором - QApplication, а из kapp.h видно, что

class KApplication : public QApplication, public KInstance

Что может случиться плохого, если я напишу что-то типа

#ifdef KDE
#define APP KApplication
#else
#define APP QApplication
#endif

Кстати, что правильнее подставить вместо KDE ?

-- 
С уважением, Прокопьев Евгений



  reply	other threads:[~2002-12-26 13:00 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-26 10:44 Прокопьев Евгений
2002-12-26 10:53 ` Sergey V Turchin
2002-12-26 11:14   ` A.L. Klyutchenya
2002-12-26 11:32     ` Прокопьев Евгений
2002-12-26 11:46       ` A.L. Klyutchenya
2002-12-26 11:53         ` Прокопьев Евгений
2002-12-26 11:38   ` Прокопьев Евгений
2002-12-26 12:01     ` Sergey V Turchin
2002-12-26 12:06       ` Sergey V Turchin
2002-12-26 12:24         ` Прокопьев Евгений
2002-12-26 12:37           ` Sergey V Turchin
2002-12-26 12:15       ` Прокопьев Евгений
2002-12-26 12:20         ` Leonid B. Sysoletin
2002-12-26 12:21         ` Sergey Vlasov
2002-12-26 11:04 ` A.L. Klyutchenya
2002-12-26 11:47   ` Прокопьев Евгений
2002-12-26 11:54     ` A.L. Klyutchenya
2002-12-26 12:19       ` Прокопьев Евгений
2002-12-26 12:40         ` A.L. Klyutchenya
2002-12-26 13:00           ` Прокопьев Евгений [this message]
2002-12-26 13:15             ` A.L. Klyutchenya
2002-12-26 13:27               ` Прокопьев Евгений
2002-12-26 13:38                 ` Aleksey Novodvorsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3E0AFD50.9060008@rmts.donpac.ru \
    --to=john@rmts.donpac.ru \
    --cc=community@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git