[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdenetwork/kopete/kopete/config/appearance (silent)
From: Stefan Gehn <sgehn () gmx ! net>
Date: 2003-10-31 22:52:56
[Download RAW message or body]
CVS commit by metz:
CVS_SILENT reallyOldUnusedCode--
M +1 -32 appearanceconfig.cpp 1.12
--- kdenetwork/kopete/kopete/config/appearance/appearanceconfig.cpp #1.11:1.12
@@ -97,11 +97,4 @@ AppearanceConfig::AppearanceConfig(QWidg
icon_theme_list = new KListBox(mEmoticonsTab, "icon_theme_list");
new QLabel(i18n("Preview:"), mEmoticonsTab);
-/* icon_theme_preview = new KIconView(mEmoticonsTab, "icon_theme_preview");
- icon_theme_preview->setFixedHeight(64);
- icon_theme_preview->setItemsMovable(false);
- icon_theme_preview->setSelectionMode(QIconView::NoSelection);
- icon_theme_preview->setFocusPolicy(NoFocus);
- icon_theme_preview->setSpacing(2);
-*/
icon_theme_preview = new KTextEdit(mEmoticonsTab, "icon_theme_preview");
icon_theme_preview->setFixedHeight(64);
@@ -110,9 +103,4 @@ AppearanceConfig::AppearanceConfig(QWidg
icon_theme_preview->setWrapPolicy(QTextEdit::Anywhere);
icon_theme_preview->setTextFormat(Qt::RichText);
-/* // Doesn't work, don't ask me why [mETz]
- QStyleSheet *style = icon_theme_preview->styleSheet();
- QStyleSheetItem *img = style->item("img");
- img->setMargin(QStyleSheetItem::MarginAll, 8);
-*/
connect(mUseEmoticonsChk, SIGNAL(toggled(bool)),
this, SLOT(slotUseEmoticonsChanged(bool)));
@@ -315,21 +302,4 @@ void AppearanceConfig::slotUseEmoticonsC
void AppearanceConfig::slotSelectedEmoticonsThemeChanged()
{
-// kdDebug(14000) << k_funcinfo << "called." << endl;
-
-/* icon_theme_preview->clear();
-
- KopeteEmoticons emoticons( icon_theme_list->currentText() );
- QPixmap previewPixmap;
-
- QStringList smileys = emoticons.picList();
-
- for ( QStringList::Iterator it = smileys.begin(); it != smileys.end(); ++it )
- {
- previewPixmap = QPixmap((*it));
- if (!previewPixmap.isNull())
- new KIconViewItem(icon_theme_preview, 0, previewPixmap);
- }
-*/
-
KopeteEmoticons emoticons(icon_theme_list->currentText());
QStringList smileys = emoticons.picList();
@@ -337,7 +307,6 @@ void AppearanceConfig::slotSelectedEmoti
for(QStringList::Iterator it = smileys.begin(); it != smileys.end(); ++it )
- {
newContentText += QString::fromLatin1("<img src=\"%1\"> ").arg(*it);
- }
+
newContentText += QString::fromLatin1("</qt>");
icon_theme_preview->setText(newContentText);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic