• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KDEUI

kwindowsystem_qws.cpp

Go to the documentation of this file.
00001 /*
00002     This file is part of the KDE libraries
00003     Copyright (C) 2007 Laurent Montel (montel@kde.org)
00004 
00005     This library is free software; you can redistribute it and/or
00006     modify it under the terms of the GNU Library General Public
00007     License as published by the Free Software Foundation; either
00008     version 2 of the License, or (at your option) any later version.
00009 
00010     This library is distributed in the hope that it will be useful,
00011     but WITHOUT ANY WARRANTY; without even the implied warranty of
00012     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00013     Library General Public License for more details.
00014 
00015     You should have received a copy of the GNU Library General Public License
00016     along with this library; see the file COPYING.LIB.  If not, write to
00017     the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00018     Boston, MA 02110-1301, USA.
00019 */
00020 
00021 #include "kwindowsystem.h"
00022 
00023 #include <kiconloader.h>
00024 #include <klocale.h>
00025 #include <kuniqueapplication.h>
00026 #include <kxerrorhandler.h>
00027 #include <QtGui/QBitmap>
00028 #include <QDesktopWidget>
00029 #include <QtGui/QDialog>
00030 #include <QtDBus/QtDBus>
00031 #include <kdebug.h>
00032 
00033 int KWindowSystem::currentDesktop()
00034 {
00035     return 1;
00036 }
00037 
00038 int KWindowSystem::numberOfDesktops()
00039 {
00040     return 1;
00041 }
00042 
00043 void KWindowSystem::setCurrentDesktop( int desktop )
00044 {
00045     kDebug() << "KWindowSystem::setCurrentDesktop( int desktop ) isn't yet implemented!";
00046     //TODO
00047 }
00048 
00049 void KWindowSystem::setOnAllDesktops( WId win, bool b )
00050 {
00051      kDebug() << "KWindowSystem::setOnAllDesktops( WId win, bool b ) isn't yet implemented!";
00052      //TODO
00053 }
00054 
00055 void KWindowSystem::setOnDesktop( WId win, int desktop )
00056 {
00057      //TODO
00058      kDebug() << "KWindowSystem::setOnDesktop( WId win, int desktop ) isn't yet implemented!";
00059 }
00060 
00061 WId KWindowSystem::activeWindow()
00062 {
00063     //return something
00064     kDebug() << "WId KWindowSystem::activeWindow()   isn't yet implemented!";
00065     return 0;
00066 }
00067 
00068 void KWindowSystem::activateWindow( WId win, long time )
00069 {
00070     //TODO
00071     kDebug() << "KWindowSystem::activateWindow( WId win, long time )isn't yet implemented!";
00072 }
00073 
00074 void KWindowSystem::forceActiveWindow( WId win, long time )
00075 {
00076     //TODO
00077     kDebug() << "KWindowSystem::forceActiveWindow( WId win, long time ) isn't yet implemented!";
00078 }
00079 
00080 void KWindowSystem::demandAttention( WId win, bool set )
00081 {
00082      //TODO
00083      kDebug() << "KWindowSystem::demandAttention( WId win, bool set ) isn't yet implemented!";
00084 }
00085 
00086 QPixmap KWindowSystem::icon( WId win, int width, int height, bool scale )
00087 {
00088     kDebug() << "QPixmap KWindowSystem::icon( WId win, int width, int height, bool scale ) isn't yet implemented!";
00089     return QPixmap();
00090 }
00091 
00092 
00093 QPixmap KWindowSystem::icon( WId win, int width, int height, bool scale, int flags )
00094 {
00095     kDebug() << "QPixmap KWindowSystem::icon( WId win, int width, int height, bool scale, int flags ) isn't yet implemented!";
00096     return QPixmap();
00097 }
00098 
00099 void KWindowSystem::setIcons( WId win, const QPixmap& icon, const QPixmap& miniIcon )
00100 {
00101     //TODO
00102     kDebug() << "KWindowSystem::setIcons( WId win, const QPixmap& icon, const QPixmap& miniIcon ) isn't yet implemented!";
00103 }
00104 
00105 
00106 void KWindowSystem::setState( WId win, unsigned long state )
00107 {
00108    //TODO
00109    kDebug() << "KWindowSystem::setState( WId win, unsigned long state ) isn't yet implemented!";
00110 }
00111 
00112 void KWindowSystem::clearState( WId win, unsigned long state )
00113 {
00114     //TODO
00115     kDebug() << "KWindowSystem::clearState( WId win, unsigned long state ) isn't yet implemented!";
00116 }
00117 
00118 void KWindowSystem::minimizeWindow( WId win, bool animation)
00119 {
00120      //TODO
00121      kDebug() << "KWindowSystem::minimizeWindow( WId win, bool animation) isn't yet implemented!";
00122 }
00123 
00124 void KWindowSystem::unminimizeWindow( WId win, bool animation )
00125 {
00126      //TODO
00127      kDebug() << "KWindowSystem::unminimizeWindow( WId win, bool animation ) isn't yet implemented!";
00128 }
00129 
00130 void KWindowSystem::raiseWindow( WId win )
00131 {
00132      //TODO
00133      kDebug() << "KWindowSystem::raiseWindow( WId win ) isn't yet implemented!";
00134 }
00135 
00136 void KWindowSystem::lowerWindow( WId win )
00137 {
00138      //TODO
00139      kDebug() << "KWindowSystem::lowerWindow( WId win ) isn't yet implemented!";
00140 }
00141 
00142 bool KWindowSystem::compositingActive()
00143 {
00144     return false;
00145 }
00146 
00147 QRect KWindowSystem::workArea( int desktop )
00148 {
00149     //TODO 
00150     kDebug() << "QRect KWindowSystem::workArea( int desktop ) isn't yet implemented!";
00151     return QRect();
00152 }
00153 
00154 QRect KWindowSystem::workArea( const QList<WId>& exclude, int desktop )
00155 {
00156     //TODO
00157     kDebug() << "QRect KWindowSystem::workArea( const QList<WId>& exclude, int desktop ) isn't yet implemented!";
00158     return QRect();
00159 }
00160 
00161 QString KWindowSystem::desktopName( int desktop )
00162 {
00163     return i18n("Desktop %1",  desktop );
00164 }
00165 
00166 void KWindowSystem::setDesktopName( int desktop, const QString& name )
00167 {
00168      kDebug() << "KWindowSystem::setDesktopName( int desktop, const QString& name ) isn't yet implemented!";
00169     //TODO
00170 }
00171 
00172 bool KWindowSystem::showingDesktop()
00173 {
00174     return false;
00175 }
00176 
00177 void KWindowSystem::setUserTime( WId win, long time )
00178 {
00179     kDebug() << "KWindowSystem::setUserTime( WId win, long time ) isn't yet implemented!";
00180     //TODO
00181 }
00182 
00183 bool KWindowSystem::icccmCompliantMappingState()
00184 {
00185     return false;
00186 }
00187 
00188 void KWindowSystem::connectNotify( const char* signal )
00189 {
00190   kDebug() << "connectNotify( const char* signal )  isn't yet implemented!";
00191 //TODO
00192 }
00193 
00194 void KWindowSystem::setExtendedStrut( WId win, int left_width, int left_start, int left_end,
00195         int right_width, int right_start, int right_end, int top_width, int top_start, int top_end,
00196         int bottom_width, int bottom_start, int bottom_end )
00197 {
00198   kDebug() << "KWindowSystem::setExtendedStrut isn't yet implemented!";
00199   //TODO
00200 }
00201 void KWindowSystem::setStrut( WId win, int left, int right, int top, int bottom )
00202 {
00203   kDebug() << "KWindowSystem::setStrut isn't yet implemented!";
00204   //TODO
00205 }
00206 
00207 QString KWindowSystem::readNameProperty( WId window, unsigned long atom )
00208 {
00209   //TODO
00210   kDebug() << "QString KWindowSystem::readNameProperty( WId window, unsigned long atom ) isn't yet implemented!";
00211   return QString();
00212 }
00213 
00214 void KWindowSystem::doNotManage( const QString& title )
00215 {
00216   //TODO
00217   kDebug() << "KWindowSystem::doNotManage( const QString& title ) isn't yet implemented!";
00218 }
00219 
00220 QList<WId> KWindowSystem::stackingOrder()
00221 {
00222   //TODO
00223   QList<WId> lst;
00224   kDebug() << "QList<WId> KWindowSystem::stackingOrder() isn't yet implemented!";
00225   return lst;
00226 }
00227 
00228 const QList<WId>& KWindowSystem::windows()
00229 {
00230   //TODO
00231   static QList<WId> lst;
00232   kDebug() << "const QList<WId>& KWindowSystem::windows()  isn't yet implemented!";
00233   return lst;
00234 }
00235 
00236 void KWindowSystem::setType( WId win, NET::WindowType windowType )
00237 {
00238  //TODO
00239  kDebug() << "setType( WId win, NET::WindowType windowType ) isn't yet implemented!";
00240 }
00241 
00242 #include "kwindowsystem.moc"
00243 

KDEUI

Skip menu "KDEUI"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal